do_check_true(dateCreated >= beforeCreate); 
LOG("check that the folder was created with a valid dateAdded"); LOG("beforeCreate = " + beforeCreate); LOG("dateCreated = " + dateCreated);   
function testSimpleFolderResult() {  // the time before we create a folder, in microseconds  var beforeCreate = Date.now() * 1000;  do_check_true(beforeCreate > 0);  // create a folder  var parent = bmsvc.createFolder(root, "test", bmsvc.DEFAULT_INDEX);  var dateCreated = bmsvc.getItemDateAdded(parent);  do_check_true(dateCreated > 0);  // dateCreated can equal beforeCreate  do_check_true(dateCreated >= beforeCreate);  // the time before we insert, in microseconds  var beforeInsert = Date.now() * 1000;  do_check_true(beforeInsert > 0);  // insert a separator   var sep = bmsvc.insertSeparator(parent, bmsvc.DEFAULT_INDEX);  var dateAdded = bmsvc.getItemDateAdded(sep);  do_check_true(dateAdded > 0);  // dateAdded can equal beforeInsert  do_check_true(dateAdded >= beforeInsert);  // re-set item title separately so can test nodes' last modified  var item = bmsvc.insertBookmark(parent, uri("about:blank"),                                  bmsvc.DEFAULT_INDEX, "");  bmsvc.setItemTitle(item, "test bookmark");  // see above  var folder = bmsvc.createFolder(parent, "test folder", bmsvc.DEFAULT_INDEX);  bmsvc.setItemTitle(folder, "test folder");  var options = histsvc.getNewQueryOptions();  var query = histsvc.getNewQuery();  query.setFolders([parent], 1);  var result = histsvc.executeQuery(query, options);  var rootNode = result.root;  rootNode.containerOpen = true;  do_check_eq(rootNode.childCount, 3);  var node = rootNode.getChild(0);  do_check_true(node.dateAdded > 0);  do_check_eq(node.lastModified, 0);  do_check_eq(node.itemId, sep);  do_check_eq(node.title, "");  node = rootNode.getChild(1);  do_check_eq(node.itemId, item);  do_check_true(node.dateAdded > 0);  do_check_true(node.lastModified > 0);  do_check_eq(node.title, "test bookmark");  node = rootNode.getChild(2);  do_check_eq(node.itemId, folder);  do_check_eq(node.title, "test folder");  do_check_true(node.dateAdded > 0);  do_check_true(node.lastModified > 0);  rootNode.containerOpen = false;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/ef563111992b177bc84234cb1813b9ad14a22404/test_bookmarks.js/clean/toolkit/components/places/tests/bookmarks/test_bookmarks.js