From 373e615d325c2bde095360e29dd6341acbf75de9 Mon Sep 17 00:00:00 2001 From: Urs Grob <> Date: Thu, 9 Apr 2009 20:20:08 -0700 Subject: [PATCH] AI 145649: am: CL 145612 am: CL 145288 Removing tabs from tests. Original author: ursg Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 145649 --- .../archive/tests/java/util/jar/JarFileTest.java | 2 +- .../apache/harmony/kernel/dalvik/ThreadsTest.java | 7 +- .../tests/api/java/io/SerializationStressTest.java | 80 ++++++------ .../tests/api/java/lang/ref/ReferenceTest.java | 14 +- .../harmony/nio/tests/java/nio/ByteBufferTest.java | 2 +- .../harmony/nio/tests/java/nio/CharBufferTest.java | 4 +- .../nio/tests/java/nio/DoubleBufferTest.java | 2 +- .../nio/tests/java/nio/FloatBufferTest.java | 2 +- .../harmony/nio/tests/java/nio/IntBufferTest.java | 2 +- .../harmony/nio/tests/java/nio/LongBufferTest.java | 2 +- .../nio/tests/java/nio/ShortBufferTest.java | 4 +- .../tests/java/nio/channels/SocketChannelTest.java | 8 +- .../security/cert/CertificateFactorySpiTest.java | 2 +- .../sql/tests/java/sql/DriverManagerTest.java | 2 +- .../java/sql/DatabaseMetaDataNotSupportedTest.java | 142 ++++++++++----------- .../java/tests/java/sql/DatabaseMetaDataTest.java | 2 +- .../tests/java/sql/DeleteFunctionalityTest.java | 2 +- .../tests/java/sql/InsertFunctionalityTest.java | 2 +- .../java/tests/java/sql/MultiThreadAccessTest.java | 4 +- .../tests/java/sql/SelectFunctionalityTest.java | 2 +- .../src/test/java/tests/java/sql/StressTest.java | 2 +- .../tests/java/sql/UpdateFunctionalityTest.java | 2 +- .../tests/java/sql/UpdateFunctionalityTest2.java | 2 +- 23 files changed, 147 insertions(+), 146 deletions(-) diff --git a/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java b/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java index f81397955..720f78d3a 100644 --- a/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java +++ b/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java @@ -629,7 +629,7 @@ public class JarFileTest extends TestCase { ) @AndroidOnly("This test doesn't pass on RI. If entry size is set up " + "incorrectly, SecurityException is thrown. " + - "But SecurityException is thrown on RI only " + + "But SecurityException is thrown on RI only " + "if jar file is signed incorreclty.") public void test_getInputStreamLjava_util_jar_JarEntry_subtest0() { File signedFile = null; diff --git a/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ThreadsTest.java b/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ThreadsTest.java index 4ce9cb14e..c24e2977e 100644 --- a/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ThreadsTest.java +++ b/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ThreadsTest.java @@ -49,7 +49,7 @@ public class ThreadsTest extends TestCase { } catch (NoSuchFieldException ex) { INITIALIZEFAILED = new RuntimeException(ex); } catch (IllegalAccessException ex) { - INITIALIZEFAILED = new RuntimeException(ex); + INITIALIZEFAILED = new RuntimeException(ex); } } @@ -299,7 +299,8 @@ public class ThreadsTest extends TestCase { @Override protected void setUp() throws Exception { - if (INITIALIZEFAILED != null) - throw INITIALIZEFAILED; + if (INITIALIZEFAILED != null) { + throw INITIALIZEFAILED; + } } } diff --git a/libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java b/libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java index 1a646c486..3e1ea19cd 100644 --- a/libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java +++ b/libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java @@ -170,43 +170,43 @@ public class SerializationStressTest extends junit.framework.TestCase implements static Exception INITIALIZE_EXCEPTION = null; static { - try { - TABLE.put("one", "1"); - TABLE.put("two", "2"); - TABLE.put("three", "3"); - MAP.put("one", "1"); - MAP.put("two", "2"); - MAP.put("three", "3"); - LINKEDMAP.put("one", "1"); - LINKEDMAP.put("two", "2"); - LINKEDMAP.put("three", "3"); - IDENTITYMAP.put("one", "1"); - IDENTITYMAP.put("two", "2"); - IDENTITYMAP.put("three", "3"); - LINKEDSET.add("one"); - LINKEDSET.add("two"); - LINKEDSET.add("three"); - TREE.put("one", "1"); - TREE.put("two", "2"); - TREE.put("three", "3"); - PERMCOL.add(PERM); - // To make sure they all use the same Calendar - CALENDAR.setTimeZone(new SimpleTimeZone(0, "GMT")); - CALENDAR.set(1999, Calendar.JUNE, 23, 15, 47, 13); - CALENDAR.set(Calendar.MILLISECOND, 553); - DATEFORM.setCalendar(CALENDAR); - java.text.DateFormatSymbols symbols = new java.text.DateFormatSymbols(); - symbols.setZoneStrings(new String[][] { { "a", "b", "c", "d" }, - { "e", "f", "g", "h" } }); - ((java.text.SimpleDateFormat) DATEFORM).setDateFormatSymbols(symbols); - DATEFORM.setNumberFormat(new java.text.DecimalFormat("#.#;'-'#.#")); - DATEFORM.setTimeZone(TimeZone.getTimeZone("EST")); - ((java.text.DecimalFormat) NUMBERFORM).applyPattern("#.#;'-'#.#"); - MESSAGE.setFormat(0, DATEFORM); - MESSAGE.setFormat(1, DATEFORM); - } catch (Exception e) { - INITIALIZE_EXCEPTION = e; - } + try { + TABLE.put("one", "1"); + TABLE.put("two", "2"); + TABLE.put("three", "3"); + MAP.put("one", "1"); + MAP.put("two", "2"); + MAP.put("three", "3"); + LINKEDMAP.put("one", "1"); + LINKEDMAP.put("two", "2"); + LINKEDMAP.put("three", "3"); + IDENTITYMAP.put("one", "1"); + IDENTITYMAP.put("two", "2"); + IDENTITYMAP.put("three", "3"); + LINKEDSET.add("one"); + LINKEDSET.add("two"); + LINKEDSET.add("three"); + TREE.put("one", "1"); + TREE.put("two", "2"); + TREE.put("three", "3"); + PERMCOL.add(PERM); + // To make sure they all use the same Calendar + CALENDAR.setTimeZone(new SimpleTimeZone(0, "GMT")); + CALENDAR.set(1999, Calendar.JUNE, 23, 15, 47, 13); + CALENDAR.set(Calendar.MILLISECOND, 553); + DATEFORM.setCalendar(CALENDAR); + java.text.DateFormatSymbols symbols = new java.text.DateFormatSymbols(); + symbols.setZoneStrings(new String[][] { { "a", "b", "c", "d" }, + { "e", "f", "g", "h" } }); + ((java.text.SimpleDateFormat) DATEFORM).setDateFormatSymbols(symbols); + DATEFORM.setNumberFormat(new java.text.DecimalFormat("#.#;'-'#.#")); + DATEFORM.setTimeZone(TimeZone.getTimeZone("EST")); + ((java.text.DecimalFormat) NUMBERFORM).applyPattern("#.#;'-'#.#"); + MESSAGE.setFormat(0, DATEFORM); + MESSAGE.setFormat(1, DATEFORM); + } catch (Exception e) { + INITIALIZE_EXCEPTION = e; + } } public SerializationStressTest() { @@ -263,9 +263,9 @@ public class SerializationStressTest extends junit.framework.TestCase implements * is called before a test is executed. */ protected void setUp() { - if (INITIALIZE_EXCEPTION != null) { - throw new ExceptionInInitializerError(INITIALIZE_EXCEPTION); - } + if (INITIALIZE_EXCEPTION != null) { + throw new ExceptionInInitializerError(INITIALIZE_EXCEPTION); + } try { if (xdump) { oos = new ObjectOutputStream(new FileOutputStream(xFileName diff --git a/libcore/luni/src/test/java/tests/api/java/lang/ref/ReferenceTest.java b/libcore/luni/src/test/java/tests/api/java/lang/ref/ReferenceTest.java index 68284efb8..7b7e16901 100644 --- a/libcore/luni/src/test/java/tests/api/java/lang/ref/ReferenceTest.java +++ b/libcore/luni/src/test/java/tests/api/java/lang/ref/ReferenceTest.java @@ -253,16 +253,16 @@ public class ReferenceTest extends junit.framework.TestCase { @TestTargetNew( level = TestLevel.PARTIAL_COMPLETE, notes = "Makes sure that overridden versions of clear() and enqueue() " + - "get called, and that clear/enqueue/finalize happen in the " + - "right order for WeakReferences.", + "get called, and that clear/enqueue/finalize happen in the " + + "right order for WeakReferences.", method = "clear", args = {} ), @TestTargetNew( level = TestLevel.PARTIAL_COMPLETE, notes = "Makes sure that overridden versions of clear() and enqueue() " + - "get called, and that clear/enqueue/finalize happen in the " + - "right order for WeakReferences.", + "get called, and that clear/enqueue/finalize happen in the " + + "right order for WeakReferences.", method = "enqueue", args = {} ) @@ -393,9 +393,9 @@ public class ReferenceTest extends junit.framework.TestCase { @TestTargetNew( level = TestLevel.PARTIAL_COMPLETE, notes = "Contrives a situation where the only reference to a string " + - "is a WeakReference from an object that is being finalized. " + - "Checks to make sure that the referent of the WeakReference " + - "is still pointing to a valid object.", + "is a WeakReference from an object that is being finalized. " + + "Checks to make sure that the referent of the WeakReference " + + "is still pointing to a valid object.", method = "get", args = {} ) diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ByteBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ByteBufferTest.java index acc2c6ed9..fc026db7e 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ByteBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ByteBufferTest.java @@ -249,7 +249,7 @@ public abstract class ByteBufferTest extends AbstractBufferTest { assertContentLikeTestData1(buf, 0, (byte) 0, buf.capacity()); try { // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/CharBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/CharBufferTest.java index b3e866ca0..b23205029 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/CharBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/CharBufferTest.java @@ -232,8 +232,8 @@ public abstract class CharBufferTest extends AbstractBufferTest { assertEquals(buf.limit(), buf.capacity()); assertContentLikeTestData1(buf, 0, (char) 0, buf.capacity()); try { - // failed on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact() + // failed on RI. Spec doesn't specify the behavior if + // actually nothing to be done by compact() buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ } catch (InvalidMarkException e) { diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/DoubleBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/DoubleBufferTest.java index 033c28962..6256c1621 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/DoubleBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/DoubleBufferTest.java @@ -246,7 +246,7 @@ public abstract class DoubleBufferTest extends AbstractBufferTest { assertContentLikeTestData1(buf, 0, 0.0, buf.capacity()); try { // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/FloatBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/FloatBufferTest.java index f0a629a5e..4d5558ce5 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/FloatBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/FloatBufferTest.java @@ -229,7 +229,7 @@ public abstract class FloatBufferTest extends AbstractBufferTest { assertContentLikeTestData1(buf, 0, 0.0f, buf.capacity()); try { // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/IntBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/IntBufferTest.java index 231319060..a0153a842 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/IntBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/IntBufferTest.java @@ -203,7 +203,7 @@ public abstract class IntBufferTest extends AbstractBufferTest { assertContentLikeTestData1(buf, 0, 0, buf.capacity()); try { // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/LongBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/LongBufferTest.java index d6d8ed124..cf40cb588 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/LongBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/LongBufferTest.java @@ -202,7 +202,7 @@ public abstract class LongBufferTest extends AbstractBufferTest { assertContentLikeTestData1(buf, 0, 0, buf.capacity()); try { // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ShortBufferTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ShortBufferTest.java index 8985d31f6..2143d0bd7 100644 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ShortBufferTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ShortBufferTest.java @@ -201,8 +201,8 @@ public abstract class ShortBufferTest extends AbstractBufferTest { assertEquals(buf.limit(), buf.capacity()); assertContentLikeTestData1(buf, 0, (short) 0, buf.capacity()); try { - // Fails on RI. Spec doesn't specify the behavior if - // actually nothing to be done by compact(). So RI doesn't reset + // Fails on RI. Spec doesn't specify the behavior if + // actually nothing to be done by compact(). So RI doesn't reset // mark position buf.reset(); fail("Should throw Exception"); //$NON-NLS-1$ diff --git a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java index 015a1d0fc..c586f59de 100755 --- a/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java +++ b/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/SocketChannelTest.java @@ -520,8 +520,8 @@ public class SocketChannelTest extends TestCase { public void testSocket_BasicStatusBeforeConnect() throws IOException { assertFalse(this.channel1.isConnected());// not connected Socket s1 = this.channel1.socket(); - // RI fails here. RI returns 0 while spec says getLocalPort() - // shall return -1 for unbound socket + // RI fails here. RI returns 0 while spec says getLocalPort() + // shall return -1 for unbound socket assertSocketBeforeConnect(s1); Socket s2 = this.channel1.socket(); // same @@ -562,8 +562,8 @@ public class SocketChannelTest extends TestCase { assertTrue(this.channel1.isConnectionPending()); Socket s1 = this.channel1.socket(); // status of not connected - // RI fails here. RI returns 0 while spec says getLocalPort() - // shall return -1 for unbound socket + // RI fails here. RI returns 0 while spec says getLocalPort() + // shall return -1 for unbound socket assertSocketBeforeConnect(s1); Socket s2 = this.channel1.socket(); // same diff --git a/libcore/security/src/test/java/tests/security/cert/CertificateFactorySpiTest.java b/libcore/security/src/test/java/tests/security/cert/CertificateFactorySpiTest.java index fbb237286..c985ed4e9 100644 --- a/libcore/security/src/test/java/tests/security/cert/CertificateFactorySpiTest.java +++ b/libcore/security/src/test/java/tests/security/cert/CertificateFactorySpiTest.java @@ -52,7 +52,7 @@ import java.util.List; @TestTargetClass(CertificateFactorySpi.class) public class CertificateFactorySpiTest extends TestCase { - /** + /** * Test for CertificateFactorySpi constructor * Assertion: constructs CertificateFactorySpi */ diff --git a/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java b/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java index 6d136544e..4ae043413 100644 --- a/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java +++ b/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/DriverManagerTest.java @@ -468,7 +468,7 @@ public class DriverManagerTest extends TestCase { public void testRegisterDriver() throws ClassNotFoundException, SQLException, IllegalAccessException, InstantiationException { // This is DRIVER3 - // String EXTRA_DRIVER_NAME = + // String EXTRA_DRIVER_NAME = // "org.apache.harmony.sql.tests.java.sql.TestHelper_Driver3"; try { diff --git a/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataNotSupportedTest.java b/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataNotSupportedTest.java index 887a717ec..b09b77928 100644 --- a/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataNotSupportedTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataNotSupportedTest.java @@ -58,7 +58,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { private static int id = 1; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); try { conn = Support_SQL.getConnection(); @@ -140,7 +140,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_allProceduresAreCallable() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.allProceduresAreCallable()); + assertFalse(meta.allProceduresAreCallable()); } /** @@ -220,7 +220,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_dataDefinitionIgnoredInTransactions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.dataDefinitionIgnoredInTransactions()); + assertFalse(meta.dataDefinitionIgnoredInTransactions()); } /** @@ -234,7 +234,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_deletesAreDetectedI() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.deletesAreDetected(0)); + assertFalse(meta.deletesAreDetected(0)); } /** @@ -249,7 +249,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_doesMaxRowSizeIncludeBlobs() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.doesMaxRowSizeIncludeBlobs()); + assertFalse(meta.doesMaxRowSizeIncludeBlobs()); } /** @@ -526,7 +526,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { public void test_getProcedureColumnsLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - meta.getProcedureColumns("", "", "", ""); + meta.getProcedureColumns("", "", "", ""); } /** @@ -821,7 +821,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_locatorsUpdateCopy() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.locatorsUpdateCopy()); + assertFalse(meta.locatorsUpdateCopy()); } /** @@ -835,7 +835,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_nullPlusNonNullIsNull() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.nullPlusNonNullIsNull()); + assertFalse(meta.nullPlusNonNullIsNull()); } /** @@ -849,7 +849,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_nullsAreSortedAtEnd() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.nullsAreSortedAtEnd()); + assertFalse(meta.nullsAreSortedAtEnd()); } /** @@ -863,7 +863,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_nullsAreSortedAtStart() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.nullsAreSortedAtStart()); + assertFalse(meta.nullsAreSortedAtStart()); } /** @@ -877,7 +877,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_nullsAreSortedHigh() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.nullsAreSortedHigh()); + assertFalse(meta.nullsAreSortedHigh()); } /** @@ -891,7 +891,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_nullsAreSortedLow() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.nullsAreSortedLow()); + assertFalse(meta.nullsAreSortedLow()); } /** @@ -987,7 +987,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { args = {} ) public void test_storesLowerCaseQuotedIdentifiers() throws SQLException { - assertFalse(meta.storesLowerCaseQuotedIdentifiers()); + assertFalse(meta.storesLowerCaseQuotedIdentifiers()); } /** @@ -1001,7 +1001,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_storesUpperCaseIdentifiers() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.storesUpperCaseIdentifiers()); + assertFalse(meta.storesUpperCaseIdentifiers()); } /** @@ -1015,7 +1015,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_storesUpperCaseQuotedIdentifiers() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.storesUpperCaseQuotedIdentifiers()); + assertFalse(meta.storesUpperCaseQuotedIdentifiers()); } /** @@ -1030,7 +1030,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_supportsANSI92EntryLevelSQL() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsANSI92EntryLevelSQL()); + assertFalse(meta.supportsANSI92EntryLevelSQL()); } /** @@ -1044,7 +1044,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsANSI92FullSQL() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsANSI92FullSQL()); + assertFalse(meta.supportsANSI92FullSQL()); } /** @@ -1058,7 +1058,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsANSI92IntermediateSQL() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsANSI92IntermediateSQL()); + assertFalse(meta.supportsANSI92IntermediateSQL()); } /** @@ -1072,7 +1072,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsAlterTableWithAddColumn() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsAlterTableWithAddColumn()); + assertFalse(meta.supportsAlterTableWithAddColumn()); } /** @@ -1086,7 +1086,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsAlterTableWithDropColumn() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsAlterTableWithDropColumn()); + assertFalse(meta.supportsAlterTableWithDropColumn()); } @@ -1101,7 +1101,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsBatchUpdates() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsBatchUpdates()); + assertFalse(meta.supportsBatchUpdates()); } /** @@ -1115,7 +1115,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCatalogsInDataManipulation() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCatalogsInDataManipulation()); + assertFalse(meta.supportsCatalogsInDataManipulation()); } /** @@ -1129,7 +1129,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCatalogsInIndexDefinitions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCatalogsInIndexDefinitions()); + assertFalse(meta.supportsCatalogsInIndexDefinitions()); } /** @@ -1144,7 +1144,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { public void test_supportsCatalogsInPrivilegeDefinitions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCatalogsInPrivilegeDefinitions()); + assertFalse(meta.supportsCatalogsInPrivilegeDefinitions()); } /** @@ -1158,7 +1158,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCatalogsInProcedureCalls() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCatalogsInProcedureCalls()); + assertFalse(meta.supportsCatalogsInProcedureCalls()); } /** @@ -1172,7 +1172,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCatalogsInTableDefinitions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCatalogsInTableDefinitions()); + assertFalse(meta.supportsCatalogsInTableDefinitions()); } /** @@ -1186,7 +1186,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsConvert() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsConvert()); + assertFalse(meta.supportsConvert()); } /** @@ -1200,7 +1200,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsConvertII() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsConvert()); + assertFalse(meta.supportsConvert()); } /** @@ -1214,7 +1214,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCoreSQLGrammar() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCoreSQLGrammar()); + assertFalse(meta.supportsCoreSQLGrammar()); } /** @@ -1228,7 +1228,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsCorrelatedSubqueries() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsCorrelatedSubqueries()); + assertFalse(meta.supportsCorrelatedSubqueries()); } /** @@ -1244,7 +1244,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { public void test_supportsDataDefinitionAndDataManipulationTransactions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsDataDefinitionAndDataManipulationTransactions()); + assertFalse(meta.supportsDataDefinitionAndDataManipulationTransactions()); } /** @@ -1259,7 +1259,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { public void test_supportsDataManipulationTransactionsOnly() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsDataManipulationTransactionsOnly()); + assertFalse(meta.supportsDataManipulationTransactionsOnly()); } /** @@ -1274,7 +1274,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { public void test_supportsDifferentTableCorrelationNames() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsDifferentTableCorrelationNames()); + assertFalse(meta.supportsDifferentTableCorrelationNames()); } @@ -1289,7 +1289,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsExtendedSQLGrammar() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsExtendedSQLGrammar()); + assertFalse(meta.supportsExtendedSQLGrammar()); } /** @@ -1303,7 +1303,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsFullOuterJoins() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsFullOuterJoins()); + assertFalse(meta.supportsFullOuterJoins()); } /** @@ -1317,7 +1317,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsGetGeneratedKeys() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsGetGeneratedKeys()); + assertFalse(meta.supportsGetGeneratedKeys()); } /** @@ -1331,7 +1331,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsGroupByBeyondSelect() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsGroupByBeyondSelect()); + assertFalse(meta.supportsGroupByBeyondSelect()); } /** @@ -1345,7 +1345,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsIntegrityEnhancementFacility() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsIntegrityEnhancementFacility()); + assertFalse(meta.supportsIntegrityEnhancementFacility()); } /** @@ -1359,7 +1359,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsLikeEscapeClause() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsLikeEscapeClause()); + assertFalse(meta.supportsLikeEscapeClause()); } /** @@ -1373,7 +1373,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsLimitedOuterJoins() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsLimitedOuterJoins()); + assertFalse(meta.supportsLimitedOuterJoins()); } /** @@ -1388,7 +1388,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_supportsMinimumSQLGrammar() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMinimumSQLGrammar()); + assertFalse(meta.supportsMinimumSQLGrammar()); } /** @@ -1402,7 +1402,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsMixedCaseIdentifiers() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMixedCaseIdentifiers()); + assertFalse(meta.supportsMixedCaseIdentifiers()); } /** @@ -1416,7 +1416,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsMixedCaseQuotedIdentifiers() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMixedCaseQuotedIdentifiers()); + assertFalse(meta.supportsMixedCaseQuotedIdentifiers()); } /** @@ -1430,7 +1430,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsMultipleOpenResults() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMultipleOpenResults()); + assertFalse(meta.supportsMultipleOpenResults()); } /** @@ -1444,7 +1444,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsMultipleResultSets() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMultipleResultSets()); + assertFalse(meta.supportsMultipleResultSets()); } /** @@ -1458,7 +1458,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsMultipleTransactions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsMultipleTransactions()); + assertFalse(meta.supportsMultipleTransactions()); } /** @@ -1472,7 +1472,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsNamedParameters() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsNamedParameters()); + assertFalse(meta.supportsNamedParameters()); } /** @@ -1486,7 +1486,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsOpenCursorsAcrossCommit() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsOpenCursorsAcrossCommit()); + assertFalse(meta.supportsOpenCursorsAcrossCommit()); } /** @@ -1500,7 +1500,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsOpenCursorsAcrossRollback() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsOpenCursorsAcrossRollback()); + assertFalse(meta.supportsOpenCursorsAcrossRollback()); } /** @@ -1514,7 +1514,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsOpenStatementsAcrossCommit() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsOpenStatementsAcrossCommit()); + assertFalse(meta.supportsOpenStatementsAcrossCommit()); } /** @@ -1528,7 +1528,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsOpenStatementsAcrossRollback() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsOpenStatementsAcrossRollback()); + assertFalse(meta.supportsOpenStatementsAcrossRollback()); } /** @@ -1542,7 +1542,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsOuterJoins() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsOuterJoins()); + assertFalse(meta.supportsOuterJoins()); } /** @@ -1556,7 +1556,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsPositionedDelete() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsPositionedDelete()); + assertFalse(meta.supportsPositionedDelete()); } /** @@ -1570,7 +1570,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsPositionedUpdate() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsPositionedUpdate()); + assertFalse(meta.supportsPositionedUpdate()); } /** @@ -1584,7 +1584,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsResultSetConcurrencyII() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsResultSetConcurrency(0,0)); + assertFalse(meta.supportsResultSetConcurrency(0,0)); } /** @@ -1598,7 +1598,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsResultSetHoldabilityI() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsResultSetHoldability(0)); + assertFalse(meta.supportsResultSetHoldability(0)); } /** @@ -1634,7 +1634,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSavepoints() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSavepoints()); + assertFalse(meta.supportsSavepoints()); } /** @@ -1648,7 +1648,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSchemasInDataManipulation() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSchemasInDataManipulation()); + assertFalse(meta.supportsSchemasInDataManipulation()); } /** @@ -1662,7 +1662,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSchemasInIndexDefinitions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSchemasInIndexDefinitions()); + assertFalse(meta.supportsSchemasInIndexDefinitions()); } /** @@ -1690,7 +1690,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSchemasInProcedureCalls() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSchemasInProcedureCalls()); + assertFalse(meta.supportsSchemasInProcedureCalls()); } /** @@ -1704,7 +1704,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSchemasInTableDefinitions() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSchemasInTableDefinitions()); + assertFalse(meta.supportsSchemasInTableDefinitions()); } /** @@ -1718,7 +1718,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsStatementPooling() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsStatementPooling()); + assertFalse(meta.supportsStatementPooling()); } /** @@ -1732,7 +1732,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsStoredProcedures() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsStoredProcedures()); + assertFalse(meta.supportsStoredProcedures()); } /** @@ -1747,7 +1747,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_supportsSubqueriesInComparisons() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSubqueriesInComparisons()); + assertFalse(meta.supportsSubqueriesInComparisons()); } /** @@ -1761,7 +1761,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) @KnownFailure("not supported") public void test_supportsSubqueriesInIns() throws SQLException { - assertFalse(meta.supportsSubqueriesInIns()); + assertFalse(meta.supportsSubqueriesInIns()); } /** @@ -1775,7 +1775,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsSubqueriesInQuantifieds() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsSubqueriesInQuantifieds()); + assertFalse(meta.supportsSubqueriesInQuantifieds()); } /** @@ -1789,7 +1789,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) @KnownFailure("not supported") public void test_supportsTransactions() throws SQLException { - assertFalse(meta.supportsTransactions()); + assertFalse(meta.supportsTransactions()); } /** @@ -1803,7 +1803,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsUnion() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsUnion()); + assertFalse(meta.supportsUnion()); } /** @@ -1817,7 +1817,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_supportsUnionAll() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.supportsUnionAll()); + assertFalse(meta.supportsUnionAll()); } /** @@ -1831,7 +1831,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { ) public void test_usesLocalFilePerTable() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.usesLocalFilePerTable()); + assertFalse(meta.usesLocalFilePerTable()); } /** @@ -1846,7 +1846,7 @@ public class DatabaseMetaDataNotSupportedTest extends TestCase { @KnownFailure("not supported") public void test_usesLocalFiles() throws SQLException { // NOT_FEASIBLE: SQLITE does not implement this functionality - assertFalse(meta.usesLocalFiles()); + assertFalse(meta.usesLocalFiles()); } /** diff --git a/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataTest.java b/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataTest.java index c0f0dfef3..65fab067f 100755 --- a/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/DatabaseMetaDataTest.java @@ -64,7 +64,7 @@ public class DatabaseMetaDataTest extends TestCase { private static int id = 1; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); try { conn = Support_SQL.getConnection(); diff --git a/libcore/sql/src/test/java/tests/java/sql/DeleteFunctionalityTest.java b/libcore/sql/src/test/java/tests/java/sql/DeleteFunctionalityTest.java index b43e3126b..7c6be0b3c 100755 --- a/libcore/sql/src/test/java/tests/java/sql/DeleteFunctionalityTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/DeleteFunctionalityTest.java @@ -52,7 +52,7 @@ public class DeleteFunctionalityTest extends TestCase { } public void tearDown() throws Exception { - deleteTestTables(); + deleteTestTables(); statement.close(); conn.close(); super.tearDown(); diff --git a/libcore/sql/src/test/java/tests/java/sql/InsertFunctionalityTest.java b/libcore/sql/src/test/java/tests/java/sql/InsertFunctionalityTest.java index 5929c630b..73e46d00f 100755 --- a/libcore/sql/src/test/java/tests/java/sql/InsertFunctionalityTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/InsertFunctionalityTest.java @@ -53,7 +53,7 @@ public class InsertFunctionalityTest extends TestCase { } public void tearDown() throws Exception { - deleteTestTables(); + deleteTestTables(); statement.close(); conn.close(); super.tearDown(); diff --git a/libcore/sql/src/test/java/tests/java/sql/MultiThreadAccessTest.java b/libcore/sql/src/test/java/tests/java/sql/MultiThreadAccessTest.java index f306996e1..3c5f81385 100755 --- a/libcore/sql/src/test/java/tests/java/sql/MultiThreadAccessTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/MultiThreadAccessTest.java @@ -51,7 +51,7 @@ public class MultiThreadAccessTest extends TestCase { private ThreadPool threadPool; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); try { conn = Support_SQL.getConnection(); @@ -64,7 +64,7 @@ public class MultiThreadAccessTest extends TestCase { } public void tearDown() throws Exception { - threadPool.join(); + threadPool.join(); deleteTestTables(); conn.close(); statement.close(); diff --git a/libcore/sql/src/test/java/tests/java/sql/SelectFunctionalityTest.java b/libcore/sql/src/test/java/tests/java/sql/SelectFunctionalityTest.java index 29f689815..4f85a3db4 100755 --- a/libcore/sql/src/test/java/tests/java/sql/SelectFunctionalityTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/SelectFunctionalityTest.java @@ -55,7 +55,7 @@ public class SelectFunctionalityTest extends TestCase { private static Time time; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); try { conn = Support_SQL.getConnection(); diff --git a/libcore/sql/src/test/java/tests/java/sql/StressTest.java b/libcore/sql/src/test/java/tests/java/sql/StressTest.java index d005a79d2..555ad034d 100755 --- a/libcore/sql/src/test/java/tests/java/sql/StressTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/StressTest.java @@ -47,7 +47,7 @@ public class StressTest extends TestCase { private static Statement statement; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); conn = Support_SQL.getConnection(); statement = conn.createStatement(); diff --git a/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest.java b/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest.java index 1824590a6..bdf8aa86e 100755 --- a/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest.java +++ b/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest.java @@ -60,7 +60,7 @@ public class UpdateFunctionalityTest extends TestCase { } public void tearDown() throws Exception { - deleteTestTables(); + deleteTestTables(); statement.close(); conn.close(); diff --git a/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest2.java b/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest2.java index 6b1f13b0b..b681e2f8b 100755 --- a/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest2.java +++ b/libcore/sql/src/test/java/tests/java/sql/UpdateFunctionalityTest2.java @@ -45,7 +45,7 @@ public class UpdateFunctionalityTest2 extends TestCase { private static Statement statement = null; public void setUp() throws Exception { - super.setUp(); + super.setUp(); Support_SQL.loadDriver(); try { conn = Support_SQL.getConnection(); -- 2.11.0