Home
last modified time | relevance | path

Searched refs:anyLong (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java24 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/
DShadowChoreographerTest.java4 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/
DDeqpTestRunnerTest.java262 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/
DSharedResourceHolderTest.java27 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/
DAnyXMatchersAcceptNullsTest.java64 when(mock.forLong(anyLong())).thenReturn("5"); in shouldNotAcceptNullInAllAnyPrimitiveWrapperMatchers()
DMatchersTest.java45 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/
DNettyHandlerTestBase.java24 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/
DArgumentMatchers.java373 public static long anyLong() { in anyLong() method in ArgumentMatchers
/external/easymock/src/org/easymock/
DEasyMock.java253 public static long anyLong() { in anyLong() method in EasyMock
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java503 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping()
525 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping_duringShutdown()