Searched refs:mock (Results 1 – 5 of 5) sorted by relevance
229 MockEnum mock = new MockEnum(); in testSerializationSelf() local230 MockEnum test = (MockEnum) SerializationTest.copySerializable(mock); in testSerializationSelf()231 assertEquals(mock.i, test.i); in testSerializationSelf()232 assertEquals(mock.str, test.str); in testSerializationSelf()233 assertEquals(mock.samEnum, test.samEnum); in testSerializationSelf()
34 MockAuthenticator mock = new MockAuthenticator(); in test_setDefault() local35 Authenticator.setDefault(mock); in test_setDefault()
277 MockSelectableChannel mock = new MockSelectableChannel(SelectorProvider in test_configureBlocking_Z() local281 mock.configureBlocking(true); in test_configureBlocking_Z()282 assertFalse(mock.implConfigureBlockingCalled); in test_configureBlocking_Z()283 mock.configureBlocking(false); in test_configureBlocking_Z()284 assertTrue(mock.implConfigureBlockingCalled); in test_configureBlocking_Z()
225 MockClonable mock = new MockClonable(1); in test_clone() local226 hashmap.put(1, mock); in test_clone()230 mock.i = 0; in test_clone()
2078 Blob mock = new MockBlob(); in testSetBlob() local2082 ps.setBlob(1,mock); in testSetBlob()2092 Clob mock = new MockClob(); in testSetClob() local2096 ps.setClob(1,mock); in testSetClob()2197 Ref mock = new MockRef(); in testSetRef() local2201 ps.setRef(1,mock); in testSetRef()