2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2009-11-06 23:19:44 -08:00
|
|
|
|
|
|
|
function test_bookmarkhtml() {
|
|
|
|
let bmarks = gProfD.clone();
|
|
|
|
bmarks.append("bookmarks.html");
|
|
|
|
|
|
|
|
let tbmarks = gDirSvc.get("BMarks", Ci.nsIFile);
|
|
|
|
do_check_true(bmarks.equals(tbmarks));
|
|
|
|
}
|
|
|
|
|
|
|
|
function run_test() {
|
2011-11-17 13:41:04 -08:00
|
|
|
[test_bookmarkhtml
|
2009-11-06 23:19:44 -08:00
|
|
|
].forEach(function(f) {
|
|
|
|
do_test_pending();
|
|
|
|
print("Running test: " + f.name);
|
|
|
|
f();
|
|
|
|
do_test_finished();
|
|
|
|
});
|
|
|
|
}
|