changeset 0 | 54063d8b0412 |
-1:000000000000 | 0:54063d8b0412 |
---|---|
1 Tests.prototype.StorageTests = function() |
|
2 { |
|
3 module("HTML 5 Storage"); |
|
4 test("should exist", function() { |
|
5 expect(1); |
|
6 ok(typeof(window.openDatabase) == "function", "Database is defined"); |
|
7 }); |
|
8 test("Should open a database", function() { |
|
9 var db = openDatabase("Database", "1.0", "HTML5 Database API example", 200000); |
|
10 ok(db != null, "Database should be opened"); |
|
11 }); |
|
12 } |