Searched refs:anyLong (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcCleanupRuleTest.java | 24 import static org.mockito.Matchers.anyLong; 114 inOrder.verify(channel).awaitTermination(anyLong(), any(TimeUnit.class)); in singleChannelCleanup() 141 inOrder.verify(server).awaitTermination(anyLong(), any(TimeUnit.class)); in singleServerCleanup() 151 doReturn(true).when(resource1).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 152 doReturn(true).when(resource2).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 153 doReturn(true).when(resource3).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 172 inOrder.verify(resource3).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 173 inOrder.verify(resource2).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 174 inOrder.verify(resource1).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_cleanupGracefully() 210 verify(resource, never()).awaitReleased(anyLong(), any(TimeUnit.class)); in baseTestFails() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowChoreographerTest.java | 4 import static org.mockito.Matchers.anyLong; 37 verify(callback, never()).doFrame(anyLong()); in removeFrameCallback_shouldRemoveCallback()
|
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 262 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testGlesVersion() 401 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testResultCode() 559 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_multipleTests() 653 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testFiltering() 796 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_excludeAll() 902 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_unexecutableTests() 949 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_queryPmListFailure() 995 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_queryRenderabilityFailure() 1108 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testOrientation() 1322 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<HashMap<String, Metric>>notNull()); in testRun_unsupportedPixelFormat() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | SharedResourceHolderTest.java | 27 import static org.mockito.Matchers.anyLong; 181 when(mockExecutor.schedule(any(Runnable.class), anyLong(), any(TimeUnit.class))).thenAnswer( in createScheduledExecutor()
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
D | AnyXMatchersAcceptNullsTest.java | 64 when(mock.forLong(anyLong())).thenReturn("5"); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
|
D | MatchersTest.java | 45 import static org.mockito.Mockito.anyLong; 286 when(mock.oneArg(anyLong())).thenReturn("6"); in any_T_matcher()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyHandlerTestBase.java | 24 import static org.mockito.Matchers.anyLong; 157 }).when(eventLoop).schedule(any(Runnable.class), anyLong(), any(TimeUnit.class)); in createEventLoop()
|
/external/mockito/src/main/java/org/mockito/ |
D | ArgumentMatchers.java | 373 public static long anyLong() { in anyLong() method in ArgumentMatchers
|
/external/easymock/src/org/easymock/ |
D | EasyMock.java | 253 public static long anyLong() { in anyLong() method in EasyMock
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | AbstractTransportTest.java | 503 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping() 525 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping_duringShutdown()
|