Searched refs:interrupter (Results 1 – 2 of 2) sorted by relevance
197 CommandInterrupter interrupter = Mockito.mock(CommandInterrupter.class); in testRunTimed_interrupted() local198 RunUtil runUtil = new RunUtil(interrupter); in testRunTimed_interrupted()201 doNothing().doThrow(RunInterruptedException.class).when(interrupter).checkInterrupted(); in testRunTimed_interrupted()629 CommandInterrupter interrupter = Mockito.mock(CommandInterrupter.class); in testSetInterruptibleInFuture() local630 RunUtil runUtil = new RunUtil(interrupter); in testSetInterruptibleInFuture()636 Mockito.verify(interrupter) in testSetInterruptibleInFuture()639 Mockito.verifyNoMoreInteractions(interrupter); in testSetInterruptibleInFuture()
85 RunUtil(@Nonnull CommandInterrupter interrupter) { in RunUtil() argument86 mInterrupter = interrupter; in RunUtil()