rem: return true; 
context: function run_test() {  return true;  // test searching for tagged bookmarks  // test folder  var folder = bmsvc.createFolder(root, "bug 395101 test", bmsvc.DEFAULT_INDEX);  // create a bookmark  var testURI = uri("http://a1.com");  var b1 = bmsvc.insertBookmark(folder, testURI,                                bmsvc.DEFAULT_INDEX, "1 title");  // tag the bookmarked URI  tagssvc.tagURI(testURI, ["elephant", "walrus", "giraffe", "turkey", "hiPPo", "BABOON", "alf"]);  // search for the bookmark, using a tag  var query = histsvc.getNewQuery();  query.searchTerms = "elephant";  var options = histsvc.getNewQueryOptions();  options.queryType = Ci.nsINavHistoryQueryOptions.QUERY_TYPE_BOOKMARKS;  query.setFolders([folder], 1);  var result = histsvc.executeQuery(query, options);  var rootNode = result.root;  rootNode.containerOpen = true;  do_check_eq(rootNode.childCount, 1);  do_check_eq(rootNode.getChild(0).itemId, b1);  // only exact matches  query.searchTerms = "wal";  var result = histsvc.executeQuery(query, options);  var rootNode = result.root;  rootNode.containerOpen = true;  do_check_eq(rootNode.childCount, 0);  // case insensitive search term  query.searchTerms = "WALRUS";  var result = histsvc.executeQuery(query, options);  var rootNode = result.root;  rootNode.containerOpen = true;  do_check_eq(rootNode.childCount, 1);  do_check_eq(rootNode.getChild(0).itemId, b1);  // case insensitive tag  query.searchTerms = "baboon";  var result = histsvc.executeQuery(query, options);  var rootNode = result.root;  rootNode.containerOpen = true;  do_check_eq(rootNode.childCount, 1);  do_check_eq(rootNode.getChild(0).itemId, b1);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/b312070289fc3980c379c55109d3bb99b8bd6970/test_395101.js/clean/toolkit/components/places/tests/bookmarks/test_395101.js