Home
last modified time | relevance | path

Searched refs:awaitReleased (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java151 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()
219 doReturn(true).when(resource1).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_awaitReleasedFails()
220 doReturn(false).when(resource2).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_awaitReleasedFails()
221 doReturn(true).when(resource3).awaitReleased(anyLong(), any(TimeUnit.class)); in multiResource_awaitReleasedFails()
[all …]
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java165 boolean released = resources.get(i).awaitReleased(
196 boolean awaitReleased(long duration, TimeUnit timeUnit) throws InterruptedException;
217 public boolean awaitReleased(long duration, TimeUnit timeUnit) throws InterruptedException {
245 public boolean awaitReleased(long duration, TimeUnit timeUnit) throws InterruptedException {