/external/mockito/src/org/mockito/internal/util/ |
D | MockUtil.java | 32 T mock = mockMaker.createMock(settings, mockHandler); in createMock() local 42 public <T> void resetMock(T mock) { in resetMock() 50 public <T> InternalMockHandler<T> getMockHandler(T mock) { in getMockHandler() 62 public boolean isMock(Object mock) { in isMock() 67 public boolean isSpy(Object mock) { in isSpy() 79 private <T> boolean isMockitoMock(T mock) { in isMockitoMock() 83 public MockName getMockName(Object mock) { in getMockName() 87 public void maybeRedefineMockName(Object mock, String newName) { in maybeRedefineMockName() 95 public MockCreationSettings getMockSettings(Object mock) { in getMockSettings()
|
/external/chromium/testing/gmock/test/ |
D | gmock_link_test.h | 243 Mock mock; in TEST() local 251 Mock mock; in TEST() local 260 Mock mock; in TEST() local 268 Mock mock; in TEST() local 277 Mock mock; in TEST() local 286 Mock mock; in TEST() local 295 Mock mock; in TEST() local 308 Mock mock; in TEST() local 320 Mock mock; in TEST() local 332 Mock mock; in TEST() local [all …]
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
D | DexmakerMockMaker.java | 50 T mock = (T) Proxy.newProxyInstance(contextClassLoader, classesToMock, in createMock() local 60 T mock = unsafeAllocator.newInstance(proxyClass); in createMock() local 73 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() 78 public MockHandler getHandler(Object mock) { in getHandler() 83 private InvocationHandlerAdapter getInvocationHandlerAdapter(Object mock) { in getInvocationHandlerAdapter()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | AuthenticatorTest.java | 77 MockAuthenticator mock = new MockAuthenticator(); in test_requestPasswordAuthentication_InetAddress_int_String_String_String() local 89 MockAuthenticator mock = new MockAuthenticator(); in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String() local 103 MockAuthenticator mock = new MockAuthenticator(); in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String_URL_Authenticator_RequestorType() local 117 MockAuthenticator mock = new MockAuthenticator(); in test_getRequestingURL() local 126 MockAuthenticator mock = new MockAuthenticator(); in test_getRequestorType() local
|
/external/chromium/base/ |
D | gmock_unittest.cc | 68 MockSampleClass mock; in TEST() local 85 MockSampleClass mock; in TEST() local 97 MockSampleClass mock; in TEST() local 112 MockSampleClass mock; in TEST() local 126 MockSampleClass mock; in TEST() local
|
/external/mockito/src/org/mockito/ |
D | Mockito.java | 1119 public static <T> T mock(Class<T> classToMock) { in mock() method in Mockito 1138 public static <T> T mock(Class<T> classToMock, String name) { in mock() method in Mockito 1192 public static <T> T mock(Class<T> classToMock, ReturnValues returnValues) { in mock() method in Mockito 1215 public static <T> T mock(Class<T> classToMock, Answer defaultAnswer) { in mock() method in Mockito 1242 public static <T> T mock(Class<T> classToMock, MockSettings mockSettings) { in mock() method in Mockito 1473 public static <T> T verify(T mock) { in verify() 1499 public static <T> T verify(T mock, VerificationMode mode) { in verify() 1630 public static <T> VoidMethodStubbable<T> stubVoid(T mock) { in stubVoid()
|
D | InOrder.java | 45 <T> T verify(T mock); in verify() 64 <T> T verify(T mock, VerificationMode mode); in verify()
|
/external/chromium/chrome/browser/policy/ |
D | device_management_service_unittest.cc | 105 DeviceRegisterResponseDelegateMock mock; in TEST_P() local 121 DeviceUnregisterResponseDelegateMock mock; in TEST_P() local 137 DevicePolicyResponseDelegateMock mock; in TEST_P() local 289 DeviceRegisterResponseDelegateMock mock; in TEST_F() local 324 DeviceUnregisterResponseDelegateMock mock; in TEST_F() local 366 DeviceRegisterResponseDelegateMock mock; in TEST_F() local 378 DeviceUnregisterResponseDelegateMock mock; in TEST_F() local 390 DevicePolicyResponseDelegateMock mock; in TEST_F() local 411 DeviceRegisterResponseDelegateMock mock; in TEST_F() local 441 DevicePolicyResponseDelegateMock mock; in TEST_F() local [all …]
|
/external/mockito/src/org/mockito/internal/verification/ |
D | MockAwareVerificationMode.java | 12 private final Object mock; field in MockAwareVerificationMode 15 public MockAwareVerificationMode(Object mock, VerificationMode mode) { in MockAwareVerificationMode()
|
/external/mockito/src/org/mockito/plugins/ |
D | MockMaker.java | 76 MockHandler getHandler(Object mock); in getHandler() 93 Object mock, in resetMock()
|
/external/mockito/src/org/mockito/internal/stubbing/ |
D | VoidMethodStubbableImpl.java | 13 private final T mock; field in VoidMethodStubbableImpl 16 public VoidMethodStubbableImpl(T mock, InvocationContainerImpl invocationContainerImpl) { in VoidMethodStubbableImpl()
|
/external/mockito/src/org/mockito/internal/ |
D | MockitoCore.java | 47 public <T> T mock(Class<T> typeToMock, MockSettings settings) { in mock() method in MockitoCore 55 T mock = mockUtil.createMock(creationSettings); in mock() local 79 public <T> T verify(T mock, VerificationMode mode) { in verify() 149 public <T> VoidMethodStubbable<T> stubVoid(T mock) { in stubVoid()
|
D | InOrderImpl.java | 40 public <T> T verify(T mock) { in verify() 44 public <T> T verify(T mock, VerificationMode mode) { in verify()
|
D | InternalMockHandler.java | 20 VoidMethodStubbable<T> voidMethodStubbable(T mock); in voidMethodStubbable()
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
D | LenientCopyTool.java | 15 public <T> void copyToMock(T from, T mock) { in copyToMock() 30 private <T> void copyValues(T from, T mock, Class classFrom) { in copyValues()
|
/external/mockito/src/org/mockito/internal/util/collections/ |
D | HashCodeAndEqualsSafeSet.java | 62 public boolean contains(Object mock) { in contains() 66 public boolean add(Object mock) { in add() 70 public boolean remove(Object mock) { in remove()
|
D | HashCodeAndEqualsMockWrapper.java | 54 public static HashCodeAndEqualsMockWrapper of(Object mock) { in of()
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | Behaviour.java | 26 public <T> T when(T mock); in when()
|
/external/mockito/src/org/mockito/internal/listeners/ |
D | MockingStartedListener.java | 12 void mockingStarted(Object mock, Class classToMock); in mockingStarted()
|
D | CollectCreatedMocks.java | 20 public void mockingStarted(Object mock, Class classToMock) { in mockingStarted()
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | CCThreadTaskTest.cpp | 48 Mock mock; in TEST() local
|
/external/chromium/chrome/browser/chromeos/login/ |
D | mock_owner_key_utils.h | 48 explicit MockInjector(MockKeyUtils* mock) : transient_(mock) { in MockInjector()
|
/external/mockito/src/org/mockito/internal/invocation/ |
D | InvocationImpl.java | 31 private final Object mock; field in InvocationImpl 43 …public InvocationImpl(Object mock, MockitoMethod mockitoMethod, Object[] args, int sequenceNumber,… in InvocationImpl()
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider_unittest.cc | 33 mock(new MockChromeFrameAutomationProvider(NULL)); in TEST_F() local
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsEmptyValues.java | 65 Object mock = invocation.getMock(); in answer() local
|