Home
last modified time | relevance | path

Searched refs:DatabaseCreator (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/tests/java/sql/
DUpdateFunctionalityTest2.java28 import tests.support.DatabaseCreator;
52 DatabaseCreator.fillParentTable(conn); in setUp()
53 DatabaseCreator.fillSimpleTable3(conn); in setUp()
54 DatabaseCreator.fillSimpleTable1(conn); in setUp()
71 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { in createTestTables()
73 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
75 .equals(DatabaseCreator.FKCASCADE_TABLE)) { in createTestTables()
77 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
79 .equals(DatabaseCreator.FKSTRICT_TABLE)) { in createTestTables()
81 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
[all …]
DInsertFunctionalityTest.java26 import tests.support.DatabaseCreator;
62 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { in createTestTables()
64 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
66 .equals(DatabaseCreator.FKCASCADE_TABLE)) { in createTestTables()
68 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
70 .equals(DatabaseCreator.FKSTRICT_TABLE)) { in createTestTables()
72 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
74 .equals(DatabaseCreator.SIMPLE_TABLE1)) { in createTestTables()
76 .execute(DatabaseCreator.DROP_TABLE_SIMPLE1); in createTestTables()
78 .equals(DatabaseCreator.SIMPLE_TABLE2)) { in createTestTables()
[all …]
DDeleteFunctionalityTest.java27 import tests.support.DatabaseCreator;
47 DatabaseCreator.fillParentTable(conn); in setUp()
65 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { in createTestTables()
67 .execute(DatabaseCreator.DROP_TABLE_PARENT); in createTestTables()
69 .equals(DatabaseCreator.FKCASCADE_TABLE)) { in createTestTables()
71 .execute(DatabaseCreator.DROP_TABLE_FKCASCADE); in createTestTables()
73 .equals(DatabaseCreator.FKSTRICT_TABLE)) { in createTestTables()
75 .execute(DatabaseCreator.DROP_TABLE_FKSTRICT); in createTestTables()
77 .equals(DatabaseCreator.TEST_TABLE5)) { in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
[all …]
DSelectFunctionalityTest.java35 import tests.support.DatabaseCreator;
78 if (tableName.equals(DatabaseCreator.TEST_TABLE2)) { in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
81 .equals(DatabaseCreator.SALESPEOPLE_TABLE)) { in createTestTables()
83 .execute(DatabaseCreator.DROP_TABLE_SALESPEOPLE); in createTestTables()
85 .equals(DatabaseCreator.CUSTOMERS_TABLE)) { in createTestTables()
87 .execute(DatabaseCreator.DROP_TABLE_CUSTOMERS); in createTestTables()
89 .equals(DatabaseCreator.ORDERS_TABLE)) { in createTestTables()
91 .execute(DatabaseCreator.DROP_TABLE_ORDERS); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
[all …]
DMultiThreadAccessTest.java25 import tests.support.DatabaseCreator;
75 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { in createTestTables()
76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
78 .equals(DatabaseCreator.TEST_TABLE2)) { in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
81 .equals(DatabaseCreator.TEST_TABLE4)) { in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
84 .equals(DatabaseCreator.TEST_TABLE3)) { in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
[all …]
DUpdateFunctionalityTest.java27 import tests.support.DatabaseCreator;
52 DatabaseCreator.fillTestTable1(conn, numberOfRecords); in setUp()
53 DatabaseCreator.fillTestTable2(conn, numberOfRecords); in setUp()
71 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { in createTestTables()
72 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
74 .equals(DatabaseCreator.TEST_TABLE2)) { in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
77 .equals(DatabaseCreator.TEST_TABLE3)) { in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
[all …]
DDatabaseMetaDataNotSupportedTest.java26 import tests.support.DatabaseCreator;
42 + " AS SELECT * FROM " + DatabaseCreator.TEST_TABLE1;
91 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { in createTestTables()
92 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
94 .equals(DatabaseCreator.TEST_TABLE3)) { in createTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
101 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
102 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
112 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
113 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
[all …]
DDatabaseMetaDataTest.java25 import tests.support.DatabaseCreator;
47 + " AS SELECT * FROM " + DatabaseCreator.TEST_TABLE1;
99 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { in createTestTables()
100 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
102 .equals(DatabaseCreator.TEST_TABLE3)) { in createTestTables()
103 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
109 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
110 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
120 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
121 statement.execute(DatabaseCreator.DROP_TABLE3); in deleteTestTables()
[all …]
DStressTest.java32 import tests.support.DatabaseCreator;
74 if (tableName.equals(DatabaseCreator.TEST_TABLE2)) { in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
87 statement.execute(DatabaseCreator.DROP_TABLE2); in dropTestTables()
189 + DatabaseCreator.TEST_TABLE2); in testInsertOfManyRowsUsingOneThread()
228 + DatabaseCreator.TEST_TABLE2); in testInsertOfManyRowsUsingManyThreads()
332 String query = "INSERT INTO " + DatabaseCreator.TEST_TABLE2
/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java25 public class DatabaseCreator { class
303 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE1); in fillSalesPeopleTable()
304 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE2); in fillSalesPeopleTable()
305 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE3); in fillSalesPeopleTable()
306 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE4); in fillSalesPeopleTable()
307 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE5); in fillSalesPeopleTable()
308 statement.execute(DatabaseCreator.INSERT_SALESPEOPLE6); in fillSalesPeopleTable()
314 statement.execute(DatabaseCreator.INSERT_CUSTOMERS1); in fillCustomersTable()
315 statement.execute(DatabaseCreator.INSERT_CUSTOMERS2); in fillCustomersTable()
316 statement.execute(DatabaseCreator.INSERT_CUSTOMERS3); in fillCustomersTable()
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetTest.java23 import tests.support.DatabaseCreator;
35 final String selectEmptyTable = "select * from "+DatabaseCreator.SIMPLE_TABLE1;
50 stForward.execute(DatabaseCreator.CREATE_TABLE_SIMPLE1); in setUp()