/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 39 import org.easymock.EasyMock; 132 IFolderBuildInfo mockIFolderBuildInfo = EasyMock.createMock(IFolderBuildInfo.class); in getMockBuildHelper() 133 EasyMock.replay(mockIFolderBuildInfo); in getMockBuildHelper() 210 ITestDevice mockDevice = EasyMock.createMock(ITestDevice.class); in testGlesVersion() 212 = EasyMock.createStrictMock(ITestInvocationListener.class); in testGlesVersion() 213 IDevice mockIDevice = EasyMock.createMock(IDevice.class); in testGlesVersion() 220 EasyMock.expect(mockDevice.getProperty("ro.opengles.version")) in testGlesVersion() 226 EasyMock.expect(mockDevice.uninstallPackage(EasyMock.eq(DEQP_ONDEVICE_PKG))) in testGlesVersion() 228 EasyMock.expect(mockDevice.installPackage(EasyMock.<File>anyObject(), in testGlesVersion() 229 EasyMock.eq(true), in testGlesVersion() [all …]
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingInputStreamTest.java | 17 import static org.easymock.EasyMock.aryEq; 18 import static org.easymock.EasyMock.eq; 24 import org.easymock.EasyMock; 42 hasher = EasyMock.createMock(Hasher.class); in setUp() 43 hashFunction = EasyMock.createMock(HashFunction.class); in setUp() 46 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp() 47 EasyMock.replay(hashFunction); in setUp() 51 EasyMock.expect(hasher.putByte((byte) 'y')).andReturn(hasher).once(); in testRead_putSingleByte() 52 EasyMock.replay(hasher); in testRead_putSingleByte() 58 EasyMock.verify(hashFunction); in testRead_putSingleByte() [all …]
|
D | HashingOutputStreamTest.java | 21 import org.easymock.EasyMock; 37 hasher = EasyMock.createMock(Hasher.class); in setUp() 38 hashFunction = EasyMock.createMock(HashFunction.class); in setUp() 40 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp() 41 EasyMock.replay(hashFunction); in setUp() 46 EasyMock.expect(hasher.putByte((byte) b)).andReturn(hasher).once(); in testWrite_putSingleByte() 47 EasyMock.replay(hasher); in testWrite_putSingleByte() 52 EasyMock.verify(hashFunction); in testWrite_putSingleByte() 53 EasyMock.verify(hasher); in testWrite_putSingleByte() 58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once(); in testWrite_putByteArray() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ServiceTest.java | 47 import org.easymock.classextension.EasyMock; 71 control = EasyMock.createStrictControl(); in setUp() 85 mockService.foo(EasyMock.same(mockController), EasyMock.same(fooRequest), in testCallMethod() 87 mockService.bar(EasyMock.same(mockController), EasyMock.same(barRequest), in testCallMethod() 122 EasyMock.same(fooDescriptor), in testStub() 123 EasyMock.same(mockController), in testStub() 124 EasyMock.same(fooRequest), in testStub() 125 EasyMock.same(FooResponse.getDefaultInstance()), in testStub() 128 EasyMock.same(barDescriptor), in testStub() 129 EasyMock.same(mockController), in testStub() [all …]
|
/external/easymock/src/org/easymock/ |
D | MockControl.java | 18 import static org.easymock.EasyMock.*; 59 return new MockControl<T>((MocksControl) EasyMock.createControl(), in createControl() 76 (MocksControl) EasyMock.createStrictControl(), toMock); in createStrictControl() 91 return new MockControl<T>((MocksControl) EasyMock.createNiceControl(), in createNiceControl() 468 EasyMock.expectLastCall().andReturn(value).once(); in expectAndReturn() 489 IExpectationSetters<Object> expectAndReturn = EasyMock.expectLastCall() in expectAndReturn() 512 EasyMock.expectLastCall().andReturn(value).times(count); in expectAndReturn() 534 EasyMock.expectLastCall().andReturn(value).times(min, max); in expectAndReturn() 550 EasyMock.expect(ignored).andThrow(throwable).once(); in expectAndThrow() 564 IExpectationSetters<Object> setter = EasyMock.expect(ignored).andThrow( in expectAndThrow() [all …]
|
D | EasyMockSupport.java | 143 IMocksControl ctrl = EasyMock.createStrictControl(); in createStrictControl() 154 IMocksControl ctrl = EasyMock.createControl(); in createControl() 167 IMocksControl ctrl = EasyMock.createNiceControl(); in createNiceControl()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | FilterPipelineTest.java | 3 import static org.easymock.EasyMock.createMock; 4 import static org.easymock.EasyMock.expect; 5 import static org.easymock.EasyMock.expectLastCall; 6 import static org.easymock.EasyMock.isA; 7 import static org.easymock.EasyMock.isNull; 8 import static org.easymock.EasyMock.replay; 9 import static org.easymock.EasyMock.verify;
|
D | MultipleServletInjectorsTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.eq; 21 import static org.easymock.EasyMock.expectLastCall; 22 import static org.easymock.EasyMock.isA; 23 import static org.easymock.EasyMock.replay; 24 import static org.easymock.EasyMock.verify;
|
D | InjectedFilterPipelineTest.java | 3 import static org.easymock.EasyMock.createMock; 4 import static org.easymock.EasyMock.expect; 5 import static org.easymock.EasyMock.expectLastCall; 6 import static org.easymock.EasyMock.isA; 7 import static org.easymock.EasyMock.isNull; 8 import static org.easymock.EasyMock.replay; 9 import static org.easymock.EasyMock.reset; 10 import static org.easymock.EasyMock.verify;
|
D | ServletUtilsTest.java | 4 import static org.easymock.EasyMock.createMock; 5 import static org.easymock.EasyMock.expect; 6 import static org.easymock.EasyMock.replay; 7 import static org.easymock.EasyMock.verify;
|
D | ServletDefinitionTest.java | 19 import static org.easymock.EasyMock.anyObject; 20 import static org.easymock.EasyMock.createMock; 21 import static org.easymock.EasyMock.expect; 22 import static org.easymock.EasyMock.replay; 23 import static org.easymock.EasyMock.verify;
|
D | MultiModuleDispatchIntegrationTest.java | 3 import static org.easymock.EasyMock.createMock; 4 import static org.easymock.EasyMock.expect; 5 import static org.easymock.EasyMock.replay; 6 import static org.easymock.EasyMock.verify;
|
D | ContinuingHttpServletRequestTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.expect; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.verify;
|
D | VarargsFilterDispatchIntegrationTest.java | 3 import static org.easymock.EasyMock.createMock; 4 import static org.easymock.EasyMock.expect; 5 import static org.easymock.EasyMock.replay; 6 import static org.easymock.EasyMock.verify;
|
D | ServletPipelineRequestDispatcherTest.java | 20 import static org.easymock.EasyMock.anyObject; 21 import static org.easymock.EasyMock.createMock; 22 import static org.easymock.EasyMock.eq; 23 import static org.easymock.EasyMock.expect; 24 import static org.easymock.EasyMock.expectLastCall; 25 import static org.easymock.EasyMock.replay; 26 import static org.easymock.EasyMock.verify;
|
D | VarargsServletDispatchIntegrationTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.expect; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.verify;
|
D | ServletDefinitionPathsTest.java | 20 import static org.easymock.EasyMock.anyObject; 21 import static org.easymock.EasyMock.createMock; 22 import static org.easymock.EasyMock.expect; 23 import static org.easymock.EasyMock.replay; 24 import static org.easymock.EasyMock.verify;
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FlushablesTest.java | 19 import static org.easymock.EasyMock.createStrictMock; 20 import static org.easymock.EasyMock.expectLastCall; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.reset; 23 import static org.easymock.EasyMock.verify;
|
D | CloseablesTest.java | 19 import static org.easymock.EasyMock.createStrictMock; 20 import static org.easymock.EasyMock.expectLastCall; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.reset; 23 import static org.easymock.EasyMock.verify;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ForwardingObjectTester.java | 25 import org.easymock.EasyMock; 60 T mock = EasyMock.createMockBuilder(forwarderClass) in testForwardingObject() 68 EasyMock.expectLastCall().andStubReturn(delegate); in testForwardingObject() 69 EasyMock.replay(mock); in testForwardingObject()
|
D | UncaughtExceptionHandlersTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.replay; 21 import static org.easymock.EasyMock.verify;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | ForwardingCacheTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.expect; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.verify;
|
D | ForwardingLoadingCacheTest.java | 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.expect; 21 import static org.easymock.EasyMock.replay; 22 import static org.easymock.EasyMock.verify;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetTest.java | 23 import static org.easymock.EasyMock.eq; 24 import static org.easymock.EasyMock.expect; 25 import static org.easymock.EasyMock.isA; 39 import org.easymock.EasyMock; 109 backingMap = EasyMock.createMock(ConcurrentMap.class); 571 EasyMock.replay(backingMap); 575 EasyMock.verify(backingMap); 579 EasyMock.reset(backingMap);
|
D | ForwardingMapTest.java | 18 import static org.easymock.EasyMock.anyObject; 19 import static org.easymock.EasyMock.createMock; 20 import static org.easymock.EasyMock.expect; 21 import static org.easymock.EasyMock.expectLastCall; 22 import static org.easymock.EasyMock.replay; 23 import static org.easymock.EasyMock.verify;
|