Home
last modified time | relevance | path

Searched refs:isFalse (Results 1 – 25 of 215) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextUtilsTest.java24 assertThat(TextUtils.isEmpty(" ")).isFalse(); in testIsEmpty()
25 assertThat(TextUtils.isEmpty("123")).isFalse(); in testIsEmpty()
37 assertThat(TextUtils.isDigitsOnly("124a56")).isFalse(); in testIsDigitsOnly()
62 assertThat(TextUtils.equals(null, "")).isFalse(); in testEquals()
63 assertThat(TextUtils.equals("", null)).isFalse(); in testEquals()
65 assertThat(TextUtils.equals(null, "a")).isFalse(); in testEquals()
66 assertThat(TextUtils.equals("a", null)).isFalse(); in testEquals()
68 assertThat(TextUtils.equals(null, "ab")).isFalse(); in testEquals()
69 assertThat(TextUtils.equals("ab", null)).isFalse(); in testEquals()
71 assertThat(TextUtils.equals("", "a")).isFalse(); in testEquals()
[all …]
DShadowPowerManagerTest.java33 assertThat(lock.isHeld()).isFalse(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
43 assertThat(lock.isHeld()).isFalse(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
49 assertThat(powerManager.isWakeLockLevelSupported(PowerManager.PARTIAL_WAKE_LOCK)).isFalse(); in isWakeLockLevelSupported()
57 assertThat(powerManager.isWakeLockLevelSupported(PowerManager.PARTIAL_WAKE_LOCK)).isFalse(); in isWakeLockLevelSupported()
76 assertThat(lock.isHeld()).isFalse(); in acquire_shouldLogLatestWakeLock()
92 assertThat(lock.isHeld()).isFalse(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
100 assertThat(lock.isHeld()).isFalse(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
113 assertThat(powerManager.isScreenOn()).isFalse(); in isScreenOn_shouldGetAndSet()
122 assertThat(shadowLock.isReferenceCounted()).isFalse(); in isReferenceCounted_shouldGetAndSet()
133 assertThat(powerManager.isInteractive()).isFalse(); in isInteractive_shouldGetAndSet()
[all …]
DShadowAbstractCursorTest.java35 assertThat(cursor.moveToFirst()).isFalse(); in testMoveToFirstEmptyList()
50 assertThat(cursor.moveToLast()).isFalse(); in testMoveToLastEmptyList()
75 assertThat(cursor.moveToFirst()).isFalse(); in testGetPositionEmptyList()
101 assertThat(cursor.moveToNext()).isFalse(); in testAttemptToMovePastEnd()
112 assertThat(cursor.moveToNext()).isFalse(); in testAttemptToMovePastSingleEntry()
118 assertThat(cursor.moveToFirst()).isFalse(); in testAttemptToMovePastEmptyList()
120 assertThat(cursor.moveToNext()).isFalse(); in testAttemptToMovePastEmptyList()
140 assertThat(cursor.moveToPrevious()).isFalse(); in testAttemptToMovePastStart()
151 assertThat(cursor.isFirst()).isFalse(); in testIsFirst()
154 assertThat(cursor.isFirst()).isFalse(); in testIsFirst()
[all …]
DShadowUserManagerTest.java71 assertThat(userManager.isUserUnlocked()).isFalse(); in isUserUnlocked()
77 assertThat(userManager.hasUserRestriction(UserManager.ENSURE_VERIFY_APPS)).isFalse(); in hasUserRestriction()
99 assertThat(userManager.hasUserRestriction(UserManager.DISALLOW_CAMERA)).isFalse(); in getUserRestrictions()
117 assertThat(userManager.isManagedProfile()).isFalse(); in isManagedProfile()
159 assertThat(userManager.isDemoUser()).isFalse(); in isDemoUser()
165 assertThat(userManager.isDemoUser()).isFalse(); in isDemoUser()
172 assertThat(userManager.isAdminUser()).isFalse(); in isAdminUser()
178 assertThat(userManager.isAdminUser()).isFalse(); in isAdminUser()
186 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
198 assertThat(userManager.isUserRunning(userHandle)).isFalse(); in isUserRunning()
[all …]
DShadowOverScrollerTest.java31 assertThat(overScroller.isScrollingInDirection(-1, -1)).isFalse(); in shouldScrollOverTime()
36 assertThat(overScroller.isFinished()).isFalse(); in shouldScrollOverTime()
42 assertThat(overScroller.isFinished()).isFalse(); in shouldScrollOverTime()
48 assertThat(overScroller.isFinished()).isFalse(); in shouldScrollOverTime()
55 assertThat(overScroller.isScrollingInDirection(1, 1)).isFalse(); in shouldScrollOverTime()
56 assertThat(overScroller.isScrollingInDirection(-1, -1)).isFalse(); in shouldScrollOverTime()
61 assertThat(overScroller.computeScrollOffset()).isFalse(); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
71 assertThat(overScroller.computeScrollOffset()).isFalse(); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
DShadowWebViewTest.java114 assertThat(shadowWebView.getRunFlag()).isFalse(); in shouldStartPostRun()
122 assertThat(webView.canGoBack()).isFalse(); in canGoBack()
127 assertThat(webView.canGoBack()).isFalse(); in canGoBack()
168 assertThat(shadowWebView.wasClearCacheCalled()).isFalse(); in shouldRecordClearCacheWithoutDiskFiles()
172 assertThat(shadowWebView.didClearCacheIncludeDiskFiles()).isFalse(); in shouldRecordClearCacheWithoutDiskFiles()
177 assertThat(shadowWebView.wasClearCacheCalled()).isFalse(); in shouldRecordClearCacheWithDiskFiles()
186 assertThat(shadowWebView.wasClearFormDataCalled()).isFalse(); in shouldRecordClearFormData()
193 assertThat(shadowWebView.wasClearHistoryCalled()).isFalse(); in shouldRecordClearHistory()
200 assertThat(shadowWebView.wasClearViewCalled()).isFalse(); in shouldRecordClearView()
231 assertThat(shadowWebView.wasDestroyCalled()).isFalse(); in shouldRecordDestroy()
[all …]
DShadowRectTest.java52 assertThat(a.equals(b)).isFalse(); in doesntEqual()
65 assertThat(r.contains(11, 11)).isFalse(); in doesntContainPoint()
77 assertThat(r.contains(0, 10)).isFalse(); in doesntContainPointOnLeftEdge()
83 assertThat(r.contains(10, 5)).isFalse(); in doesntContainPointOnRightEdge()
95 assertThat(r.contains(5, 10)).isFalse(); in containsPointOnBottomEdge()
102 assertThat(a.contains(b)).isFalse(); in doesntContainRect()
123 assertThat(a.contains(b)).isFalse(); in intersectsButDoesntContainRect()
130 assertThat(Rect.intersects(a, b)).isFalse(); in doesntIntersect()
144 assertThat(Rect.intersects(a, b)).isFalse(); in almostIntersects()
DShadowScrollerTest.java34 assertThat(scroller.isFinished()).isFalse(); in shouldScrollOverTime()
40 assertThat(scroller.isFinished()).isFalse(); in shouldScrollOverTime()
46 assertThat(scroller.isFinished()).isFalse(); in shouldScrollOverTime()
52 assertThat(scroller.isFinished()).isFalse(); in shouldScrollOverTime()
62 assertThat(scroller.computeScrollOffset()).isFalse(); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
72 assertThat(scroller.computeScrollOffset()).isFalse(); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
DShadowInputMethodManagerTest.java30 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldRecordSoftInputVisibility()
36 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldRecordSoftInputVisibility()
41 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldToggleSoftInputVisibility()
47 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldToggleSoftInputVisibility()
55 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldNotifyHandlerWhenVisibilityChanged()
DShadowHandlerTest.java114 assertThat(scratchRunnable.wasRun).isFalse(); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
134 assertThat(scratchRunnable.wasRun).isFalse(); in testRemoveCallbacks()
167 assertThat(task2.wasRun).isFalse(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
199 assertThat(task1.wasRun).isFalse(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
258 assertThat(handler.hasMessages(123)).isFalse(); in sendEmptyMessage_addMessageToQueue()
260 assertThat(handler.hasMessages(456)).isFalse(); in sendEmptyMessage_addMessageToQueue()
263 assertThat(handler.hasMessages(123)).isFalse(); in sendEmptyMessage_addMessageToQueue()
275 assertThat(handler.hasMessages(123)).isFalse(); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
288 assertThat(handler.hasMessages(123)).isFalse(); in sendMessageAtTime_sendsMessageAtCorrectTime()
297 assertThat(handler.hasMessages(123)).isFalse(); in removeMessages_takesMessageOutOfQueue()
[all …]
DShadowKeyguardManagerTest.java35 assertThat(manager.inKeyguardRestrictedInputMode()).isFalse(); in testIsInRestrictedInputMode()
43 assertThat(manager.isKeyguardLocked()).isFalse(); in testIsKeyguardLocked()
55 assertThat(shadowOf(lock).isEnabled()).isFalse(); in testShouldBeAbleToDisableTheKeyguardLock()
63 assertThat(manager.isKeyguardSecure()).isFalse(); in isKeyguardSecure()
74 assertThat(manager.isDeviceSecure()).isFalse(); in isDeviceSecure()
85 assertThat(manager.isDeviceLocked()).isFalse(); in isDeviceLocked()
DShadowDevicePolicyManagerTest.java56 assertThat(devicePolicyManager.isDeviceOwnerApp(testPackage)).isFalse(); in isDeviceOwnerAppShouldReturnFalseForNonDeviceOwnerApp()
68 assertThat(devicePolicyManager.isDeviceOwnerApp(testPackage)).isFalse(); in isDeviceOwnerShouldReturnFalseForProfileOwner()
111 assertThat(devicePolicyManager.isProfileOwnerApp(testPackage)).isFalse(); in isProfileOwnerAppShouldReturnFalseForNonProfileOwnerApp()
123 assertThat(devicePolicyManager.isProfileOwnerApp(testPackage)).isFalse(); in isProfileOwnerShouldReturnFalseForDeviceOwner()
163 assertThat(devicePolicyManager.isAdminActive(testComponent)).isFalse(); in isAdminActiveShouldReturnFalseForNonAdminDevice()
247 assertThat(restrictions.getBoolean(restrictionKey)).isFalse(); in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins()
261 assertThat(devicePolicyManager.isApplicationHidden(testComponent, app)).isFalse(); in isApplicationHiddenShouldReturnFalseForAppsByDefault()
291 assertThat(devicePolicyManager.isApplicationHidden(testComponent, nonHiddenApp)).isFalse(); in isApplicationHiddenShouldReturnFalseForNonHiddenApps()
308 assertThat(devicePolicyManager.isApplicationHidden(testComponent, app)).isFalse(); in setApplicationHiddenShouldBeAbleToUnhideHiddenApps()
322 assertThat(shadowDevicePolicyManager.wasPackageEverHidden(app)).isFalse(); in wasPackageEverHiddenShouldReturnFalseForPackageNeverHidden()
[all …]
DShadowContentObserverTest.java25 assertThat(observer.changed).isFalse(); in testDispatchChangeBooleanUri()
26 assertThat(observer.selfChange).isFalse(); in testDispatchChangeBooleanUri()
39 assertThat(observer.changed).isFalse(); in testDispatchChangeBoolean()
40 assertThat(observer.selfChange).isFalse(); in testDispatchChangeBoolean()
DSQLiteOpenHelperTest.java91 assertThat(database.isOpen()).isFalse(); in testClose()
115 assertThat(database1.isOpen()).isFalse(); in testCloseMultipleDbs()
118 assertThat(database2.isOpen()).isFalse(); in testCloseMultipleDbs()
124 assertThat(helper.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
125 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
128 assertThat(helper2.onCreateCalled).isFalse(); in testOpenMultipleDbsOnCreate()
214 assertThat(helper.onCreateCalled).isFalse(); in assertSubsequentDB()
221 assertThat(helper.onUpgradeCalled).isFalse(); in assertDatabaseOpened()
/external/mockito/src/test/java/org/mockito/internal/matchers/
DInstanceOfTest.java30 assertThat(new InstanceOf(List.class).matches(new Object())).isFalse(); in should_check_instance_type()
45 assertThat(new InstanceOf(int.class).matches(1000L)).isFalse(); in should_check_for_primitive_wrapper_types()
46 assertThat(new InstanceOf(Integer.class).matches(1000L)).isFalse(); in should_check_for_primitive_wrapper_types()
47 assertThat(new InstanceOf(int.class).matches(new Long(1000))).isFalse(); in should_check_for_primitive_wrapper_types()
48 assertThat(new InstanceOf(Integer.class).matches(new Long(1000))).isFalse(); in should_check_for_primitive_wrapper_types()
55 assertThat(new InstanceOf(long.class).matches(1000)).isFalse(); in should_check_for_primitive_wrapper_types()
56 assertThat(new InstanceOf(Long.class).matches(1000)).isFalse(); in should_check_for_primitive_wrapper_types()
57 assertThat(new InstanceOf(long.class).matches(new Integer(1000))).isFalse(); in should_check_for_primitive_wrapper_types()
58 assertThat(new InstanceOf(Long.class).matches(new Integer(1000))).isFalse(); in should_check_for_primitive_wrapper_types()
66 assertThat(new InstanceOf.VarArgAware(Number[].class).matches(new Object[0])).isFalse(); in can_be_vararg_aware()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DInstrumentationConfigurationTest.java27 assertThat(config.shouldInstrument(wrap("com.google.android.apps.Foo"))).isFalse(); in shouldNotInstrumentAndroidAppClasses()
37 assertThat(config.shouldInstrument(wrap("java.lang.Object"))).isFalse(); in shouldNotInstrumentCoreJdkClasses()
38 assertThat(config.shouldInstrument(wrap("java.lang.String"))).isFalse(); in shouldNotInstrumentCoreJdkClasses()
70 assertThat(config.shouldAcquire("com.whatever.R")).isFalse(); in shouldNotAcquireRClasses()
71 assertThat(config.shouldAcquire("com.whatever.R$anything")).isFalse(); in shouldNotAcquireRClasses()
77 assertThat(config.shouldAcquire("scala.Test")).isFalse(); in shouldNotAcquireExcludedPackages()
78 assertThat(config.shouldAcquire("scala.util.Test")).isFalse(); in shouldNotAcquireExcludedPackages()
79 assertThat(config.shouldAcquire("org.specs2.whatever.foo")).isFalse(); in shouldNotAcquireExcludedPackages()
80 … assertThat(config.shouldAcquire("com.almworks.sqlite4java.whatever.Cls$anything$else")).isFalse(); in shouldNotAcquireExcludedPackages()
104 assertThat(customConfig.shouldInstrument(wrap(notInstrumentName))).isFalse(); in shouldInstrumentCustomClasses()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboWebSettingsTest.java21 assertThat(webSettings.getAppCacheEnabled()).isFalse(); in testDefaults()
22 assertThat(webSettings.getBlockNetworkImage()).isFalse(); in testDefaults()
23 assertThat(webSettings.getBlockNetworkLoads()).isFalse(); in testDefaults()
25 assertThat(webSettings.getDatabaseEnabled()).isFalse(); in testDefaults()
26 assertThat(webSettings.getDomStorageEnabled()).isFalse(); in testDefaults()
27 assertThat(webSettings.getGeolocationEnabled()).isFalse(); in testDefaults()
28 assertThat(webSettings.getJavaScriptEnabled()).isFalse(); in testDefaults()
29 assertThat(webSettings.getLightTouchEnabled()).isFalse(); in testDefaults()
30 assertThat(webSettings.getLoadWithOverviewMode()).isFalse(); in testDefaults()
33 assertThat(webSettings.getSaveFormData()).isFalse(); in testDefaults()
[all …]
DRoboMenuItemTest.java29 assertThat(item.isChecked()).isFalse(); in shouldCheckTheMenuItem()
36 assertThat(item.isCheckable()).isFalse(); in shouldAllowSettingCheckable()
45 assertThat(item.isVisible()).isFalse(); in shouldAllowSettingVisible()
51 assertThat(item.expandActionView()).isFalse(); in expandActionView_shouldReturnFalseIfActionViewIsNull()
71 assertThat(item.collapseActionView()).isFalse(); in collapseActionView_shouldReturnFalseIfActionViewIsNull()
79 assertThat(item.isActionViewExpanded()).isFalse(); in collapseActionView_shouldSetExpandedFalse()
87 assertThat(listener.expanded).isFalse(); in collapseActionView_shouldInvokeListener()
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtensionTest.java64 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
70 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
75 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
81 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
125 assertThat(r.isClosed()).isFalse(); in testCloseResource()
131 assertThat(r.isClosed()).isFalse(); in testCloseResource()
139 assertThat(r.isClosed()).isFalse(); in testCloseResource()
141 assertThat(r.isClosed()).isFalse(); in testCloseResource()
145 assertThat(r.isClosed()).isFalse(); in testCloseResource()
148 assertThat(r.isClosed()).isFalse(); // Failed to close. in testCloseResource()
[all …]
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DInvocationInfoTest.java27 assertThat(info.isValidException(new Exception())).isFalse(); in should_know_valid_throwables()
37 …lder().method("integerReturningMethod").toInvocation()).isValidReturnType(String.class)).isFalse(); in should_know_valid_return_types()
43 …InvocationBuilder().method("integerReturningMethod").toInvocation()).returnsPrimitive()).isFalse(); in should_know_when_invocation_returns_primitive()
49 …nInfo(new InvocationBuilder().method("integerReturningMethod").toInvocation()).isVoid()).isFalse(); in should_know_when_invocation_returns_void()
67 …ationInfo(new InvocationBuilder().method(iAmNotAbstract()).toInvocation()).isAbstract()).isFalse(); in should_know_abstract_method()
72 …o(new InvocationBuilder().method(iAmAbstract()).toInvocation()).isDeclaredOnInterface()).isFalse(); in should_know_method_is_declared_on_interface()
100 assertThat(stringReturningMethod.isVoid()).isFalse(); in isVoid_invocationNonVoidMethod_returnFalse()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DTypeSafeMatchingTest.java42 assertThat(match).isFalse(); in compareNullArgument()
52 assertThat(match).isFalse(); in compareToNonCompareable()
61 assertThat(match).isFalse(); in compareToNull()
79 assertThat(match).isFalse(); in compareToStringVsInt()
85 assertThat(match).isFalse(); in compareToIntVsString()
109 assertThat(match).isFalse(); in matchesOverloadsMustBeIgnored()
145 assertThat(wasCalled.get()).isFalse(); in dontMatchesWithSubTypeExtendingGenericClass()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DSupportFragmentControllerTest.java33 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached()
43 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached_customActivity()
53 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate()
64 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate_customActivity()
75 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate_customizedViewId()
107 assertThat(fragment.isResumed()).isFalse(); in isPaused()
121 assertThat(fragment.isResumed()).isFalse(); in isStopped()
148 assertThat(fragment.isVisible()).isFalse(); in visible()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DFragmentControllerTest.java33 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached()
43 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached_customActivity()
54 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate()
66 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate_customizedViewId()
79 assertThat(fragment.isResumed()).isFalse(); in attachedAfterCreate_customActivity()
102 assertThat(fragment.isResumed()).isFalse(); in isPaused()
116 assertThat(fragment.isResumed()).isFalse(); in isStopped()
157 assertThat(fragment.isVisible()).isFalse(); in visible()
/external/deqp/framework/common/
DtcuTexCompareVerifier.cpp50 bool isFalse; member
54 , isFalse (false) in CmpResultSet()
75 res.isFalse = cmpReference+err >= cmpValue; in execCompare()
80 res.isFalse = cmpReference+err > cmpValue; in execCompare()
85 res.isFalse = cmpReference-err <= cmpValue; in execCompare()
90 res.isFalse = cmpReference-err < cmpValue; in execCompare()
95 res.isFalse = err != 0.0f || cmpValue != cmpReference; in execCompare()
100 res.isFalse = de::inRange(cmpValue, cmpReference-err, cmpReference+err); in execCompare()
108 res.isFalse = true; in execCompare()
115 DE_ASSERT(res.isTrue || res.isFalse); in execCompare()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/util/concurrent/
DRoboExecutorServiceTest.java51 assertThat(future.isDone()).isFalse(); in submitRunnable_shouldRunStuffOnBackgroundThread()
71 assertThat(future.isDone()).isFalse(); in submitCallable_shouldRunStuffOnBackgroundThread()
82 assertThat(executorService.isShutdown()).isFalse(); in byDefault_IsNotShutdown()
87 assertThat(executorService.isTerminated()).isFalse(); in byDefault_IsNotTerminated()
130 assertThat(executorService.awaitTermination(500, TimeUnit.MILLISECONDS)).isFalse(); in whenAwaitingTermination_AllTasksAreRunByDefault()

123456789