Home
last modified time | relevance | path

Searched refs:queries1 (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/sql/
DOldStatementTest.java716 String[] queries1 = { "select * from zoo", in testExecuteQuery_String() local
732 for (int i = 0; i < queries1.length; i++) { in testExecuteQuery_String()
734 ResultSet rs = st.executeQuery(queries1[i]); in testExecuteQuery_String()
737 fail("SQLException is thrown for query: " + queries1[i]); in testExecuteQuery_String()
775 String[] queries1 = { in testExecuteUpdate_String() local
789 for (int i = 0; i < queries1.length; i++) { in testExecuteUpdate_String()
790 int count = st.executeUpdate(queries1[i]); in testExecuteUpdate_String()
837 String[] queries1 = { in testExecuteUpdate_String_intArray() local
857 for (int i = 0; i < queries1.length; i++) { in testExecuteUpdate_String_intArray()
858 st.executeUpdate(queries1[i], (int[]) array.elementAt(i)); in testExecuteUpdate_String_intArray()
DOldPreparedStatementTest.java326 …String[] queries1 = { "insert into hutch (id, animal_id, address) values (1, ?, 'Birds-house, 1');… in testExecuteUpdate() local
329 for (int i = 0; i < queries1.length; i++) { in testExecuteUpdate()
332 ps = conn.prepareStatement(queries1[i]); in testExecuteUpdate()
334 fail("SQLException is not thrown for query: " + queries1[i]); in testExecuteUpdate()