/external/proguard/src/proguard/evaluation/ |
D | BasicBranchUnit.java | 36 private boolean wasCalled; field in BasicBranchUnit 46 wasCalled = false; in resetCalled() 55 wasCalled = true; in setCalled() 61 public boolean wasCalled() in wasCalled() method in BasicBranchUnit 63 return wasCalled; in wasCalled() 92 wasCalled = true; in branch() 106 wasCalled = true; in branchConditionally() 115 wasCalled = true; in returnFromMethod() 124 wasCalled = true; in throwException()
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | TypeSafeMatchingTest.java | 128 final AtomicBoolean wasCalled = new AtomicBoolean(); in dontMatchesWithSubTypeExtendingGenericClass() local 135 wasCalled.set(true); in dontMatchesWithSubTypeExtendingGenericClass() 139 wasCalled.set(false); in dontMatchesWithSubTypeExtendingGenericClass() 141 assertThat(wasCalled.get()).isTrue(); in dontMatchesWithSubTypeExtendingGenericClass() 143 wasCalled.set(false); in dontMatchesWithSubTypeExtendingGenericClass() 145 assertThat(wasCalled.get()).isFalse(); in dontMatchesWithSubTypeExtendingGenericClass() 150 final AtomicBoolean wasCalled = new AtomicBoolean(); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() local 154 wasCalled.set(true); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() 159 wasCalled.set(false); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() 161 assertThat(wasCalled.get()).isTrue(); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 59 assertFalse("Listener called more than once", wasCalled()); in run() 68 public boolean wasCalled() { in wasCalled() method in JdkFutureAdaptersTest.SingleCallListener 88 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 99 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 114 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 123 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 148 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted() 163 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted()
|
D | FutureCallbackTest.java | 162 private boolean wasCalled = false; field in FutureCallbackTest.MockCallback 174 assertFalse(wasCalled); in onSuccess() 175 wasCalled = true; in onSuccess() 181 assertFalse(wasCalled); in onFailure() 182 wasCalled = true; in onFailure()
|
D | FuturesTest.java | 2132 assertFalse("Listener called more than once", wasCalled()); 2141 public boolean wasCalled() { 2166 assertTrue(listener.wasCalled()); 2179 assertTrue(listener.wasCalled()); 2189 assertTrue(listener.wasCalled()); 2204 assertTrue(listener.wasCalled()); 2268 assertTrue(listener.wasCalled()); 2361 assertTrue(listener.wasCalled()); 3387 assertTrue(listener.wasCalled()); 3400 assertTrue(listener.wasCalled()); [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 59 assertFalse("Listener called more than once", wasCalled()); in run() 68 public boolean wasCalled() { in wasCalled() method in JdkFutureAdaptersTest.SingleCallListener 88 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 99 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 114 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 123 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 148 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted() 163 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted()
|
D | FutureCallbackTest.java | 162 private boolean wasCalled = false; field in FutureCallbackTest.MockCallback 174 assertFalse(wasCalled); in onSuccess() 175 wasCalled = true; in onSuccess() 181 assertFalse(wasCalled); in onFailure() 182 wasCalled = true; in onFailure()
|
D | FuturesTest.java | 2132 assertFalse("Listener called more than once", wasCalled()); 2141 public boolean wasCalled() { 2166 assertTrue(listener.wasCalled()); 2179 assertTrue(listener.wasCalled()); 2189 assertTrue(listener.wasCalled()); 2204 assertTrue(listener.wasCalled()); 2268 assertTrue(listener.wasCalled()); 2361 assertTrue(listener.wasCalled()); 3387 assertTrue(listener.wasCalled()); 3400 assertTrue(listener.wasCalled()); [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowCameraTest.java | 288 assertThat(shutterCallback.wasCalled).isTrue(); in testTakePicture() 289 assertThat(rawCallback.wasCalled).isTrue(); in testTakePicture() 290 assertThat(jpegCallback.wasCalled).isTrue(); in testTakePicture() 330 public boolean wasCalled; field in ShadowCameraTest.TestShutterCallback 334 wasCalled = true; in onShutter() 339 public boolean wasCalled; field in ShadowCameraTest.TestPictureCallback 343 wasCalled = true; in onPictureTaken()
|
D | ShadowHandlerThreadTest.java | 77 final Boolean[] wasCalled = new Boolean[] { false }; in shouldCallOnLooperPrepared() local 82 wasCalled[0] = true; in shouldCallOnLooperPrepared() 90 assertTrue(wasCalled[0]); in shouldCallOnLooperPrepared()
|
D | ShadowViewGroupTest.java | 384 assertTrue(testListener.wasCalled()); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild() 394 boolean wasCalled = false; field in ShadowViewGroupTest.TestOnHierarchyChangeListener 402 wasCalled = true; in onChildViewRemoved() 405 public boolean wasCalled() { in wasCalled() method in ShadowViewGroupTest.TestOnHierarchyChangeListener 406 return wasCalled; in wasCalled()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHandlerThreadTest.java | 75 final Boolean[] wasCalled = new Boolean[] { false }; in shouldCallOnLooperPrepared() local 80 wasCalled[0] = true; in shouldCallOnLooperPrepared() 88 assertTrue(wasCalled[0]); in shouldCallOnLooperPrepared()
|
D | ShadowCameraTest.java | 310 assertThat(shutterCallback.wasCalled).isTrue(); in testTakePicture() 311 assertThat(rawCallback.wasCalled).isTrue(); in testTakePicture() 312 assertThat(jpegCallback.wasCalled).isTrue(); in testTakePicture() 370 public boolean wasCalled; field in ShadowCameraTest.TestShutterCallback 374 wasCalled = true; in onShutter() 379 public boolean wasCalled; field in ShadowCameraTest.TestPictureCallback 383 wasCalled = true; in onPictureTaken()
|
D | ShadowLauncherAppsTest.java | 257 final Boolean[] wasCalled = new Boolean[] {false}; in testCallbackFiresWhenShortcutAddedOrRemoved() local 272 wasCalled[0] = true; in testCallbackFiresWhenShortcutAddedOrRemoved() 284 assertTrue(wasCalled[0]); in testCallbackFiresWhenShortcutAddedOrRemoved() 286 wasCalled[0] = false; in testCallbackFiresWhenShortcutAddedOrRemoved() 290 assertTrue(wasCalled[0]); in testCallbackFiresWhenShortcutAddedOrRemoved()
|
D | ShadowViewGroupTest.java | 432 assertTrue(testListener.wasCalled()); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild() 512 boolean wasCalled = false; field in ShadowViewGroupTest.TestOnHierarchyChangeListener 520 wasCalled = true; in onChildViewRemoved() 523 public boolean wasCalled() { in wasCalled() method in ShadowViewGroupTest.TestOnHierarchyChangeListener 524 return wasCalled; in wasCalled()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 88 assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); in checkExpiration() 140 assertFalse("Loader should NOT have been called @#" + i, loader.wasCalled()); in runExpirationTest() 165 assertTrue("Creator should have been called @#" + i, loader.wasCalled()); in runExpirationTest() 473 assertFalse("Creator should NOT have been called @#" + i, loader.wasCalled()); in runRemovalScheduler() 485 boolean wasCalled = false; // must be set in load() field in CacheExpirationTest.WatchedCreatorLoader 492 wasCalled = false; in reset() 495 public boolean wasCalled() { in wasCalled() method in CacheExpirationTest.WatchedCreatorLoader 496 return wasCalled; in wasCalled() 509 wasCalled = true; in load()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 88 assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); in checkExpiration() 140 assertFalse("Loader should NOT have been called @#" + i, loader.wasCalled()); in runExpirationTest() 165 assertTrue("Creator should have been called @#" + i, loader.wasCalled()); in runExpirationTest() 473 assertFalse("Creator should NOT have been called @#" + i, loader.wasCalled()); in runRemovalScheduler() 485 boolean wasCalled = false; // must be set in load() field in CacheExpirationTest.WatchedCreatorLoader 492 wasCalled = false; in reset() 495 public boolean wasCalled() { in wasCalled() method in CacheExpirationTest.WatchedCreatorLoader 496 return wasCalled; in wasCalled() 509 wasCalled = true; in load()
|
/external/robolectric/sandbox/src/test/java/org/robolectric/ |
D | ShadowingTest.java | 32 assertThat(ShadowAccountManagerForTests.wasCalled).isTrue(); in testStaticMethodsAreDelegated() 38 public static boolean wasCalled = false; field in ShadowingTest.ShadowAccountManagerForTests 42 wasCalled = true; in get()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | ShadowingTest.java | 32 assertThat(ShadowAccountManagerForTests.wasCalled).isTrue(); in testStaticMethodsAreDelegated() 38 public static boolean wasCalled = false; field in ShadowingTest.ShadowAccountManagerForTests 42 wasCalled = true; in get()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | InterfacesTest.java | 94 public boolean wasCalled() { in wasCalled() method in InterfacesTest.RecordingGetNameResponse 202 Assert.assertTrue(callback.wasCalled()); in checkProxy() 219 Assert.assertTrue(callback.wasCalled()); in checkProxy()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | PartialEvaluator.java | 786 if (branchUnit.wasCalled()) in evaluateSingleInstructionBlock() 825 if (branchUnit.wasCalled()) in evaluateSingleInstructionBlock()
|