Searched refs:ps1 (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | RC2ParameterSpecTest.java | 149 RC2ParameterSpec ps1 = new RC2ParameterSpec(effectiveKeyBits, iv); in testEquals() local 156 ps1.equals(ps1)); in testEquals() 159 ps1.equals(ps2)); in testEquals() 162 ps2.equals(ps1)); in testEquals() 169 ps1.equals(ps3)); in testEquals() 172 ps1.equals(null)); in testEquals() 175 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() 178 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() 189 RC2ParameterSpec ps1 = new RC2ParameterSpec(effectiveKeyBits, iv); in testHashCode() local 193 ps1.hashCode() == ps2.hashCode()); in testHashCode() [all …]
|
D | RC5ParameterSpecTest.java | 220 RC5ParameterSpec ps1 = new RC5ParameterSpec(version, rounds, in testEquals() local 228 ps1.equals(ps1)); in testEquals() 231 ps1.equals(ps2)); in testEquals() 234 ps2.equals(ps1)); in testEquals() 241 ps1.equals(ps3)); in testEquals() 244 ps1.equals(null)); in testEquals() 247 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() 250 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() 253 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() 257 assertFalse("Objects should not be equal.", ps1.equals(ps2)); in testEquals() [all …]
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 1066 PreparedStatement ps1 = null; in testSetShort() local 1110 ps1 = conn.prepareStatement(query1); in testSetShort() 1111 ps1.setShort(1, Short.MAX_VALUE); in testSetShort() 1125 ps1.close(); in testSetShort() 1135 PreparedStatement ps1 = null; in testSetBoolean() local 1178 ps1 = conn.prepareStatement(query1); in testSetBoolean() 1179 ps1.setBoolean(1, true); in testSetBoolean() 1180 ps1.execute(); in testSetBoolean() 1185 ps1.close(); in testSetBoolean() 1194 PreparedStatement ps1 = null; in testSetByte() local [all …]
|
D | OldResultSetTest.java | 128 PreparedStatement ps1 = null; in testClose() local 141 ps1 = conn.prepareStatement("select * from t1"); in testClose() 144 ResultSet rs1 = ps1.executeQuery(); in testClose() 165 ps1.close(); in testClose() 169 if (ps1 != null) ps1.close(); in testClose()
|