author | Phil Ringnalda <philringnalda@gmail.com> |
Mon, 28 Jun 2010 18:19:39 -0700 | |
changeset 46385 | d08120d3792e6a86434500f7e7af0b463145e703 |
parent 46384 | 682123761e99d8bb6a741b9a6a0d4c58053b4937 |
child 46386 | 9874f5c5cb630dee83d80aa1d8565cfe0269f9fe |
child 46389 | 0483e52295f658168cfe658a157563f573d81b42 |
push id | 1 |
push user | root |
push date | Tue, 26 Apr 2011 22:38:44 +0000 |
treeherder | mozilla-beta@bfdb6e623a36 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 416330 |
milestone | 1.9.3a6pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
storage/test/unit/test_page_size_is_32k.js | file | annotate | diff | comparison | revisions |
deleted file mode 100644 --- a/storage/test/unit/test_page_size_is_32k.js +++ /dev/null @@ -1,28 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ - -// This file tests that dbs are using 32k pagesize - -function check_size(db) -{ - var stmt = db.createStatement("PRAGMA page_size"); - stmt.executeStep(); - const expected_block_size = 32768; // 32K - do_check_eq(stmt.getInt32(0), expected_block_size); - stmt.finalize(); -} - -function new_file(name) -{ - var file = dirSvc.get("ProfD", Ci.nsIFile); - file.append(name + ".sqlite"); - do_check_false(file.exists()); -} - -function run_test() -{ - check_size(getDatabase(new_file("shared32k.sqlite"))); - check_size(getService().openUnsharedDatabase(new_file("unshared32k.sqlite"))); -} -