Bug 381240 - disabling more dateAdded tests

This commit is contained in:
sspitzer@mozilla.org 2007-05-25 01:22:02 -07:00
parent d3a6564b46
commit b643a886db

View File

@ -657,7 +657,11 @@ function testSimpleFolderResult() {
var dateCreated = bmsvc.getItemDateAdded(parent);
do_check_true(dateCreated > 0);
// dateCreated can equal beforeCreate
do_check_true(dateCreated >= beforeCreate);
LOG("check that the folder was created with a valid dateAdded");
LOG("beforeCreate = " + beforeCreate);
LOG("dateCreated = " + dateCreated);
// XXX bug 381240
//do_check_true(dateCreated >= beforeCreate);
// the time before we insert, in microseconds
var beforeInsert = Date.now() * 1000;
@ -669,7 +673,11 @@ function testSimpleFolderResult() {
var dateAdded = bmsvc.getItemDateAdded(sep);
do_check_true(dateAdded > 0);
// dateAdded can equal beforeInsert
do_check_true(dateAdded >= beforeInsert);
LOG("check that the separator was created with a valid dateAdded");
LOG("beforeInsert = " + beforeInsert);
LOG("dateAdded = " + dateAdded);
// XXX bug 381240
//do_check_true(dateAdded >= beforeInsert);
// re-set item title separately so can test nodes' last modified
var item = bmsvc.insertBookmark(parent, uri("about:blank"),