/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | HandlerTest.java | 73 MockHandler h = new MockHandler(); in testConstructor() 100 MockHandler h = new MockHandler(); in testConstructor_Properties() 113 MockHandler h = new MockHandler(); in testClose() 121 MockHandler h = new MockHandler(); in testFlush() 129 MockHandler h = new MockHandler(); in testPublish() 137 MockHandler h = new MockHandler(); in testGetSetEncoding_Normal() 146 MockHandler h = new MockHandler(); in testGetSetEncoding_Null() 155 MockHandler h = new MockHandler(); in testGetSetEncoding_Unsupported() 168 MockHandler h = new MockHandler(); in testGetSetErrorManager_Normal() 178 MockHandler h = new MockHandler(); in testGetSetErrorManager_Null() [all …]
|
D | LoggerTest.java | 77 sharedLogger.addHandler(new MockHandler()); in setUp() 340 pLog.addHandler(new MockHandler()); in testGetLogger_WithParentNormal() 540 pLog.addHandler(new MockHandler()); in testGetLoggerWithRes_WithParentNormal() 567 MockHandler h = new MockHandler(); in testAddHandler_NamedLoggerSufficientPrivilege() 581 MockHandler h = new MockHandler(); in testAddHandler_NamedLoggerSufficientPrivilegeDuplicate() 609 MockHandler h = new MockHandler(); in testAddHandler_AnonyLoggerSufficientPrivilege() 623 MockHandler h = new MockHandler(); in testRemoveHandler_NamedLoggerSufficientPrivilege() 637 MockHandler h = new MockHandler(); in testRemoveHandler_NamedLoggerSufficientPrivilegeNotExisting() 658 MockHandler h = new MockHandler(); in testRemoveHandler_AnonyLoggerSufficientPrivilege() 679 MockHandler h1 = new MockHandler(); in testGetHandlers_Several() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
D | MockHandlerFactory.java | 7 import org.mockito.invocation.MockHandler; 15 public static <T> MockHandler<T> createMockHandler(MockCreationSettings<T> settings) { in createMockHandler() 16 MockHandler<T> handler = new MockHandlerImpl<T>(settings); in createMockHandler() 17 MockHandler<T> nullResultGuardian = new NullResultGuardian<T>(handler); in createMockHandler()
|
D | NullResultGuardian.java | 9 import org.mockito.invocation.MockHandler; 19 class NullResultGuardian<T> implements MockHandler<T> { 21 private final MockHandler<T> delegate; 23 public NullResultGuardian(MockHandler<T> delegate) { in NullResultGuardian()
|
D | InvocationNotifierHandler.java | 9 import org.mockito.invocation.MockHandler; 23 class InvocationNotifierHandler<T> implements MockHandler<T> { 26 private final MockHandler<T> mockHandler; 28 public InvocationNotifierHandler(MockHandler<T> mockHandler, MockCreationSettings<T> settings) { in InvocationNotifierHandler()
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | InvocationHandlerAdapter.java | 23 import org.mockito.invocation.MockHandler; 35 private MockHandler handler; 37 public InvocationHandlerAdapter(MockHandler handler) { in InvocationHandlerAdapter() 62 public MockHandler getHandler() { 66 public void setHandler(MockHandler handler) {
|
D | DexmakerMockMaker.java | 23 import org.mockito.invocation.MockHandler; 83 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 127 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() 156 public MockHandler getHandler(Object mock) {
|
/external/mockito/src/main/java/org/mockito/plugins/ |
D | MockMaker.java | 8 import org.mockito.invocation.MockHandler; 69 MockHandler handler in createMock() 82 MockHandler getHandler(Object mock); in getHandler() 100 MockHandler newHandler, in resetMock()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | MockMakerMultiplexer.java | 21 import org.mockito.invocation.MockHandler; 62 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 75 public MockHandler getHandler(Object mock) { in getHandler() 77 MockHandler handler = mockMaker.getHandler(mock); in getHandler() 88 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
|
D | InvocationHandlerAdapter.java | 23 import org.mockito.invocation.MockHandler; 36 private MockHandler handler; 38 InvocationHandlerAdapter(MockHandler handler) { in InvocationHandlerAdapter() 127 MockHandler getHandler() { 134 void setHandler(MockHandler handler) {
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_saxreader_unittest.cpp | 17 class MockHandler : public CFX_SAXReader::HandlerIface { class 79 MockHandler mock; in TEST_F() 88 MockHandler mock; in TEST_F() 99 MockHandler mock; in TEST_F() 112 MockHandler mock; in TEST_F() 124 MockHandler mock; in TEST_F()
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | ByteBuddyMockMaker.java | 8 import org.mockito.invocation.MockHandler; 24 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 34 public MockHandler getHandler(Object mock) { in getHandler() 39 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
|
D | SubclassByteBuddyMockMaker.java | 11 import org.mockito.invocation.MockHandler; 41 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 129 public MockHandler getHandler(Object mock) { in getHandler() 137 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
|
D | MockMethodInterceptor.java | 19 import org.mockito.invocation.MockHandler; 33 final MockHandler handler; 39 public MockMethodInterceptor(MockHandler handler, MockCreationSettings mockCreationSettings) { in MockMethodInterceptor() 66 public MockHandler getMockHandler() { in getMockHandler()
|
D | InlineByteBuddyMockMaker.java | 15 import org.mockito.invocation.MockHandler; 180 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 260 public MockHandler getHandler(Object mock) { in getHandler() 270 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | AbstractByteBuddyMockMakerTest.java | 15 import org.mockito.invocation.MockHandler; 74 MockHandler handlerOne = mockMaker.getHandler(mockOne); in should_mocks_have_different_interceptors() 75 MockHandler handlerTwo = mockMaker.getHandler(mockTwo); in should_mocks_have_different_interceptors() 101 MockHandler handlerOne = mockMaker.getHandler(proxy); in should_allow_serialization() 102 MockHandler handlerTwo = mockMaker.getHandler(serialized); in should_allow_serialization() 119 MockHandler handler = new MockHandlerImpl<SampleClass>(settings); in should_reset_mock_and_set_new_handler() 184 protected static MockHandler dummyHandler() { in dummyHandler() 188 private static class DummyMockHandler implements MockHandler<Object> {
|
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/ |
D | AndroidByteBuddyMockMaker.java | 10 import org.mockito.invocation.MockHandler; 38 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 43 public MockHandler getHandler(Object mock) { in getHandler() 48 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | MockUtil.java | 13 import org.mockito.invocation.MockHandler; 33 MockHandler mockHandler = createMockHandler(settings); in createMock() 46 MockHandler oldHandler = getMockHandler(mock); in resetMock() 48 MockHandler newHandler = createMockHandler(settings); in resetMock() 53 public static <T> MockHandler<T> getMockHandler(T mock) { in getMockHandler()
|
D | DefaultMockingDetails.java | 12 import org.mockito.invocation.MockHandler; 67 public MockHandler getMockHandler() { in getMockHandler() 76 private MockHandler<Object> mockHandler() { in mockHandler()
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/ |
D | JDK14AdapterLoggerNameTest.java | 34 private MockHandler mockHandler; 39 mockHandler = new MockHandler(); in setUp() 75 private class MockHandler extends java.util.logging.Handler { class in JDK14AdapterLoggerNameTest
|
/external/mockito/src/test/java/org/mockito/internal/handler/ |
D | MockHandlerFactoryTest.java | 12 import org.mockito.invocation.MockHandler; 33 MockHandler<?> handler = createMockHandler(settings); in handle_result_must_not_be_null_for_primitives() 51 MockHandler<?> handler = createMockHandler(settings); in valid_handle_result_is_permitted()
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | InternalMockHandler.java | 7 import org.mockito.invocation.MockHandler; 20 public interface InternalMockHandler<T> extends MockHandler {}
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/ |
D | InlineStaticMockMaker.java | 24 import org.mockito.invocation.MockHandler; 138 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { in createMock() 171 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() 216 public MockHandler getHandler(Object mock) {
|
/external/apache-harmony/logging/src/test/resources/config/com/android/java/util/logging/ |
D | logging.config | 1 handlers=com.android.org.apache.harmony.logging.tests.java.util.logging.LogManagerTest$MockHandler … 3 com.android.org.apache.harmony.logging.tests.java.util.logging.LogManagerTest$MockHandler.level=OFF
|
/external/mockito/src/main/java/org/mockito/ |
D | MockingDetails.java | 8 import org.mockito.invocation.MockHandler; 123 MockHandler getMockHandler(); in getMockHandler()
|