Skip to content

Commit 0e1739b

Browse files
Remove test attempt to set value above 0xfffffffe
Currently, SQLite prevents the max_page_count > 0xfffffffe
1 parent 76a1db6 commit 0e1739b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sqlcipher/src/androidTest/java/net/zetetic/database/sqlcipher_cts/SQLiteDatabaseTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,6 @@ public void testAccessMaximumSize() {
288288
// the new maximum size is less than the current size.
289289
mDatabase.setMaximumSize(curMaximumSize - 1);
290290
assertEquals(curMaximumSize, mDatabase.getMaximumSize());
291-
292-
// the new maximum size is more than the current size.
293-
mDatabase.setMaximumSize(curMaximumSize + 1);
294-
assertEquals(curMaximumSize + mDatabase.getPageSize(), mDatabase.getMaximumSize());
295-
assertTrue(mDatabase.getMaximumSize() > curMaximumSize);
296291
}
297292

298293
public void testAccessPageSize() {

0 commit comments

Comments
 (0)