diff options
author | Urs Grob <> | 2009-04-21 02:07:28 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-21 02:07:28 -0700 |
commit | 5361c5525ed341f5b76bd60f9a42baf3a9457c98 (patch) | |
tree | 041eced121d6b7c6cfb81f54221567cb3b1364ef /sql/src/test/java/tests/SQLite/StmtTest.java | |
parent | 599173b217fc648d56b98de40af99b954c02c69f (diff) | |
download | libcore-5361c5525ed341f5b76bd60f9a42baf3a9457c98.zip libcore-5361c5525ed341f5b76bd60f9a42baf3a9457c98.tar.gz libcore-5361c5525ed341f5b76bd60f9a42baf3a9457c98.tar.bz2 |
AI 147124: am: CL 147120 am: CL 147118 Several fixes to reduce failing tests in the cts host
- Removing tests that are placed in a protected package name.
They were not part of the cts tests.
- Fixing a case of an Exception thrown in the static initializer of
GBCharsetEncoderTest.
- Remove copy/paste code which led to an exception in a 2nd thread
(the test did not fail, but its output was reported in logcat)
- fixing a test case in FileTest
- removing test code in StmtTest that tested badly specified operations and
failed.
Original author: ursg
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 147124
Diffstat (limited to 'sql/src/test/java/tests/SQLite/StmtTest.java')
-rw-r--r-- | sql/src/test/java/tests/SQLite/StmtTest.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/src/test/java/tests/SQLite/StmtTest.java b/sql/src/test/java/tests/SQLite/StmtTest.java index 87e95a5..cb71243 100644 --- a/sql/src/test/java/tests/SQLite/StmtTest.java +++ b/sql/src/test/java/tests/SQLite/StmtTest.java @@ -274,8 +274,6 @@ public class StmtTest extends SQLiteTest { method = "reset", args = {} ) - @BrokenTest("Tableresult is not cleared when resetting statement: "+ - "Either complete spec or change implementation accordingly.") public void testReset() throws Exception { db.exec("create table TEST (res integer not null)", null); @@ -292,13 +290,6 @@ public class StmtTest extends SQLiteTest { String[] row0 = (String[]) count.rows.elementAt(0); assertEquals(2, Integer.parseInt(row0[0])); - - //Verify that rest (tableResult) is cleared - st = db.prepare("select * from TEST;"); - st.step(); - assertEquals(1, st.column_count()); - st.reset(); - assertEquals(0,st.column_count()); } /** |