/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | HandlerTest.java | 103 assertThat(scratchRunnable.wasRun, equalTo(true)); in testPostAndIdleMainLooper() 110 assertThat(scratchRunnable.wasRun, equalTo(false)); in postDelayedThenIdleMainLooper_shouldNotRunRunnable() 117 assertThat(scratchRunnable.wasRun, equalTo(true)); in testPostDelayedThenRunMainLooperOneTask() 130 assertThat(scratchRunnable.wasRun, equalTo(false)); in testRemoveCallbacks() 137 assertThat(scratchRunnable.wasRun, equalTo(true)); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask() 149 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 150 assertThat(task2.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 162 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 163 assertThat(task2.wasRun, equalTo(false)); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 177 assertThat(task1.wasRun, equalTo(true)); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() [all …]
|
D | LooperTest.java | 24 final boolean[] wasRun = new boolean[]{false}; in idleMainLooper_executesScheduledTasks() 28 wasRun[0] = true; in idleMainLooper_executesScheduledTasks() 32 assertFalse(wasRun[0]); in idleMainLooper_executesScheduledTasks() 34 assertFalse(wasRun[0]); in idleMainLooper_executesScheduledTasks() 36 assertTrue(wasRun[0]); in idleMainLooper_executesScheduledTasks()
|
D | ViewTest.java | 179 assertFalse(runnable.wasRun); in shouldPostActionsToTheMessageQueue() 182 assertTrue(runnable.wasRun); in shouldPostActionsToTheMessageQueue() 203 assertFalse(runnable.wasRun); in shouldPostActionsToTheMessageQueueWithDelay() 206 assertTrue(runnable.wasRun); in shouldPostActionsToTheMessageQueueWithDelay()
|
D | FragmentManagerTest.java | 221 assertFalse(otherEnqueuedTask.wasRun); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused() 223 assertTrue(otherEnqueuedTask.wasRun); in executePendingTransactions_shouldRunPendingCommitsAsIfTheMainLooperWereNotPaused()
|
D | ActivityTest.java | 172 assertTrue(runnable.wasRun); in shouldRunUiTasksImmediatelyByDefault() 182 assertFalse(runnable.wasRun); in shouldQueueUiTasksWhenUiThreadIsPaused() 185 assertTrue(runnable.wasRun); in shouldQueueUiTasksWhenUiThreadIsPaused()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
D | SchedulerTest.java | 117 assertThat(runnable.wasRun, equalTo(false)); in removeShouldRemoveAllInstancesOfRunnableFromQueue() 127 assertThat(runnable.wasRun, equalTo(false)); in resetShouldUnPause() 131 assertThat(runnable.wasRun, equalTo(true)); in resetShouldUnPause() 141 assertThat(runnable1.wasRun, equalTo(false)); in resetShouldClearPendingRunnables() 148 assertThat(runnable1.wasRun, equalTo(false)); in resetShouldClearPendingRunnables() 149 assertThat(runnable2.wasRun, equalTo(true)); in resetShouldClearPendingRunnables()
|
D | TestRunnable.java | 4 public boolean wasRun = false; field in TestRunnable 7 wasRun = true; in run()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 210 final CountDownLatch wasRun = new CountDownLatch(1); field in JdkFutureAdaptersTest.RecordingRunnable 215 checkState(wasRun.getCount() > 0); in run() 216 wasRun.countDown(); in run() 242 assertTrue(earlyListener.wasRun.await(1, SECONDS)); in testListenInPoolThreadRunsListenerAfterRuntimeException() 247 assertTrue(lateListener.wasRun.await(1, SECONDS)); in testListenInPoolThreadRunsListenerAfterRuntimeException()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
D | RobolectricTest.java | 128 final boolean[] wasRun = new boolean[]{false}; in idleMainLooper_executesScheduledTasks() 132 wasRun[0] = true; in idleMainLooper_executesScheduledTasks() 136 assertFalse(wasRun[0]); in idleMainLooper_executesScheduledTasks() 138 assertFalse(wasRun[0]); in idleMainLooper_executesScheduledTasks() 140 assertTrue(wasRun[0]); in idleMainLooper_executesScheduledTasks()
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_program.py | 17 self.wasRun = False 19 self.wasRun = True 24 self.assertTrue(self.wasRun)
|
D | test_discovery.py | 387 self.wasRun = False 389 self.wasRun = True 394 self.assertTrue(self.wasRun)
|
/external/testng/src/test/java/test/factory/ |
D | MyTest.java | 27 assert FactoryInSeparateClass.wasRun() : "Test method on factory class wasn't run"; in verifyThatTestMethodOnFactoryClassWasRun()
|
D | FactoryInSeparateClass.java | 41 public static boolean wasRun() { in wasRun() method in FactoryInSeparateClass
|
/external/llvm/lib/IR/ |
D | LegacyPassManager.cpp | 235 bool wasRun; member in llvm::legacy::FunctionPassManagerImpl 240 PMTopLevelManager(new FPPassManager()), wasRun(false) {} in FunctionPassManagerImpl() 1456 if (!wasRun) in releaseMemoryOnTheFly() 1464 wasRun = false; in releaseMemoryOnTheFly() 1482 wasRun = true; in run()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | PassManager.cpp | 227 bool wasRun; member in llvm::FunctionPassManagerImpl 232 PMTopLevelManager(new FPPassManager()), wasRun(false) {} in FunctionPassManagerImpl() 1442 if (!wasRun) in releaseMemoryOnTheFly() 1450 wasRun = false; in releaseMemoryOnTheFly() 1467 wasRun = true; in run()
|