diff options
author | Elliott Hughes <enh@google.com> | 2011-01-09 16:50:57 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-01-09 16:50:57 -0800 |
commit | ceacc61d16fe3aec9c805de525a79f547e607a27 (patch) | |
tree | d3646ceda88ca2c78a54e530409e2d414a532f4d /luni/src/test/java/tests/SQLite/DatabaseTest.java | |
parent | 38e90abbe4ec0a889cb16dc673cf892274c18a01 (diff) | |
download | libcore-ceacc61d16fe3aec9c805de525a79f547e607a27.zip libcore-ceacc61d16fe3aec9c805de525a79f547e607a27.tar.gz libcore-ceacc61d16fe3aec9c805de525a79f547e607a27.tar.bz2 |
Remove useless no-op tests.
(Or sometimes just useless annotations. Basically, this gets rid of every
reference to dalvik.annotation.TestLevel.NOT_FEASIBLE, except the definition.)
Change-Id: Ie3c1d9240f85a6237311b9282b3bc181f8af8120
Diffstat (limited to 'luni/src/test/java/tests/SQLite/DatabaseTest.java')
-rw-r--r-- | luni/src/test/java/tests/SQLite/DatabaseTest.java | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/luni/src/test/java/tests/SQLite/DatabaseTest.java b/luni/src/test/java/tests/SQLite/DatabaseTest.java index f04266b..0422d5e 100644 --- a/luni/src/test/java/tests/SQLite/DatabaseTest.java +++ b/luni/src/test/java/tests/SQLite/DatabaseTest.java @@ -171,18 +171,6 @@ public class DatabaseTest extends SQLiteTest { } /** - * @tests Database#finalize() - */ - @TestTargetNew( - level = TestLevel.NOT_FEASIBLE, - notes = "method test", - method = "finalize", - args = {} - ) - public void testFinalize() { - } - - /** * @tests {@link Database#open(String, int)}. */ @TestTargetNew( @@ -512,21 +500,6 @@ public class DatabaseTest extends SQLiteTest { * @throws Exception * @tests {@link Database#busy_handler(BusyHandler)} */ - @TestTargets({ - @TestTargetNew( - level = TestLevel.NOT_FEASIBLE, - notes = "method test fails once in a while. Cannot be sure that exception is thrown every time.", - method = "busy_handler", - args = {BusyHandler.class} - ), - @TestTargetNew( - level = TestLevel.NOT_FEASIBLE, - notes = "method test fails once in a while. Cannot be sure that exception is thrown every time.", - method = "busy", - clazz = BusyHandler.class, - args = {java.lang.String.class, int.class} - ) - }) @KnownFailure("method test fails once in a while. "+ "Cannot be sure that exception is thrown in every test execution.") public void testBusy_handler() throws SQLException, Exception { @@ -643,17 +616,7 @@ public class DatabaseTest extends SQLiteTest { } } - /** - * @throws Exception - * @throws SQLException - * @tests {@link Database#busy_timeout(int)} - */ - @TestTargetNew( - level = TestLevel.NOT_FEASIBLE, - notes = "test fails. Cannot be sure that exception is thrown every time.", - method = "busy_timeout", - args = {int.class} - ) + // test fails. Cannot be sure that exception is thrown every time. @KnownFailure("Database does not lock values") public void testBusy_timeout() throws Exception, SQLException { int counter = 0; |