Home
last modified time | relevance | path

Searched refs:isTrue (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteCursorTest.java107 assertThat(cursor.moveToFirst()).isTrue(); in testMoveToFirst()
121 assertThat(cursor.moveToFirst()).isTrue(); in testMoveToNext()
123 assertThat(cursor.moveToNext()).isTrue(); in testMoveToNext()
130 assertThat(cursor.moveToFirst()).isTrue(); in testMoveToNextPastEnd()
132 assertThat(cursor.moveToNext()).isTrue(); in testMoveToNextPastEnd()
133 assertThat(cursor.moveToNext()).isTrue(); in testMoveToNextPastEnd()
141 assertThat(cursor.moveToFirst()).isTrue(); in testMoveBackwards()
143 assertThat(cursor.moveToNext()).isTrue(); in testMoveBackwards()
145 assertThat(cursor.moveToNext()).isTrue(); in testMoveBackwards()
148 assertThat(cursor.moveToFirst()).isTrue(); in testMoveBackwards()
[all …]
DShadowAbstractCursorTest.java29 assertThat(cursor.moveToFirst()).isTrue(); in testMoveToFirst()
44 assertThat(cursor.moveToLast()).isTrue(); in testMoveToLast()
59 assertThat(cursor.moveToFirst()).isTrue(); in testGetPosition()
68 assertThat(cursor.moveToFirst()).isTrue(); in testGetPositionSingleEntry()
85 assertThat(cursor.moveToFirst()).isTrue(); in testMoveToNext()
87 assertThat(cursor.moveToNext()).isTrue(); in testMoveToNext()
96 assertThat(cursor.moveToFirst()).isTrue(); in testAttemptToMovePastEnd()
98 assertThat(cursor.moveToNext()).isTrue(); in testAttemptToMovePastEnd()
100 assertThat(cursor.isLast()).isTrue(); in testAttemptToMovePastEnd()
102 assertThat(cursor.isAfterLast()).isTrue(); in testAttemptToMovePastEnd()
[all …]
DShadowPowerManagerTest.java41 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
44 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
47 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
59 assertThat(powerManager.isWakeLockLevelSupported(PowerManager.PARTIAL_WAKE_LOCK)).isTrue(); in isWakeLockLevelSupported()
76 assertThat(lock.isHeld()).isTrue(); in acquire_shouldLogLatestWakeLock()
100 assertThat(lock.isHeld()).isTrue(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
102 assertThat(lock.isHeld()).isTrue(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
117 assertThat(powerManager.isScreenOn()).isTrue(); in isScreenOn_shouldGetAndSet()
126 assertThat(shadowLock.isReferenceCounted()).isTrue(); in isReferenceCounted_shouldGetAndSet()
130 assertThat(shadowLock.isReferenceCounted()).isTrue(); in isReferenceCounted_shouldGetAndSet()
[all …]
DShadowUserManagerTest.java75 assertThat(userManager.isUserUnlocked()).isTrue(); in isUserUnlocked()
88 assertThat(userManager.hasUserRestriction(UserManager.ENSURE_VERIFY_APPS)).isTrue(); in hasUserRestriction()
101 assertThat(restrictions.getBoolean(UserManager.ENSURE_VERIFY_APPS)).isTrue(); in getUserRestrictions()
130 assertThat(userManager.isManagedProfile()).isTrue(); in isManagedProfile()
150 assertThat(userManager.isManagedProfile()).isTrue(); in enforcePermissionChecks()
173 assertThat(userManager.isDemoUser()).isTrue(); in isDemoUser()
182 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
188 assertThat(userManager.isSystemUser()).isTrue(); in isSystemUser()
194 assertThat(userManager.isPrimaryUser()).isTrue(); in isPrimaryUser()
200 assertThat(userManager.isPrimaryUser()).isTrue(); in isPrimaryUser()
[all …]
DSQLiteDatabaseTest.java109 assertThat(cursor.moveToFirst()).isTrue(); in testInsertAndQuery()
132 assertThat(cursor.moveToFirst()).isTrue(); in testInsertAndRawQuery()
160 assertThat(cursor.moveToFirst()).isTrue(); in testInsertOrThrow()
252 assertThat(cursor.moveToFirst()).isTrue(); in testInsertEmptyBlobArgument()
260 assertThat(cursor.moveToFirst()).isTrue(); in testInsertEmptyBlobArgument()
275 assertThat(cursor.moveToFirst()).isTrue(); in testUpdate()
288 assertThat(cursor.moveToFirst()).isTrue(); in testUpdateNoMatch()
302 assertThat(cursor.moveToFirst()).isTrue(); in testUpdateAll()
306 assertThat(cursor.moveToNext()).isTrue(); in testUpdateAll()
309 assertThat(cursor.isLast()).isTrue(); in testUpdateAll()
[all …]
DShadowHandlerTest.java107 assertThat(scratchRunnable.wasRun).isTrue(); in testPostAndIdleMainLooper()
121 assertThat(scratchRunnable.wasRun).isTrue(); in testPostDelayedThenRunMainLooperOneTask()
141 assertThat(scratchRunnable.wasRun).isTrue(); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask()
153 assertThat(task1.wasRun).isTrue(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
154 assertThat(task2.wasRun).isTrue(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
166 assertThat(task1.wasRun).isTrue(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
181 assertThat(task1.wasRun).isTrue(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
182 assertThat(task2.wasRun).isTrue(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
183 assertThat(task3.wasRun).isTrue(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
198 assertThat(task2.wasRun).isTrue(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst()
[all …]
DShadowKeyguardManagerTest.java41 assertThat(manager.inKeyguardRestrictedInputMode()).isTrue(); in testIsInRestrictedInputMode()
49 assertThat(manager.isKeyguardLocked()).isTrue(); in testIsKeyguardLocked()
55 assertThat(shadowOf(lock).isEnabled()).isTrue(); in testShouldBeAbleToDisableTheKeyguardLock()
61 assertThat(shadowOf(lock).isEnabled()).isTrue(); in testShouldBeAbleToDisableTheKeyguardLock()
71 assertThat(manager.isKeyguardSecure()).isTrue(); in isKeyguardSecure()
82 assertThat(manager.isDeviceSecure()).isTrue(); in isDeviceSecure()
93 assertThat(manager.isDeviceSecure(USER_ID)).isTrue(); in isDeviceSecureByUserId()
108 assertThat(manager.isDeviceLocked()).isTrue(); in isDeviceLocked()
118 assertThat(manager.isDeviceLocked(USER_ID)).isTrue(); in isDeviceLockedByUserId()
DShadowAccessibilityManagerTest.java39 assertThat(accessibilityManager.isEnabled()).isTrue(); in shouldReturnTrueWhenEnabled()
40 assertThat(getAccessibilityManagerInstance().isEnabled()).isTrue(); in shouldReturnTrueWhenEnabled()
56 assertThat(accessibilityManager.isTouchExplorationEnabled()).isTrue(); in shouldReturnTrueForTouchExplorationWhenEnabled()
83 assertThat(AccessibilityManager.isAccessibilityButtonSupported()).isTrue(); in isAccessibilityButtonSupported()
89 assertThat(AccessibilityManager.isAccessibilityButtonSupported()).isTrue(); in isAccessibilityButtonSupported()
97 assertThat(accessibilityManager.isEnabled()).isTrue(); in performAccessibilityShortcut_shouldEnableAccessibilityAndTouchExploration()
98 assertThat(accessibilityManager.isTouchExplorationEnabled()).isTrue(); in performAccessibilityShortcut_shouldEnableAccessibilityAndTouchExploration()
DShadowAccountManagerTest.java135 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_noPasswordNoExtras()
144 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_noPasswordNoExtras()
163 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_withPassword()
174 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_withExtras()
188 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_notifiesListenersIfSuccessful()
196 assertThat(accountAdded).isTrue(); in testAddAccountExplicitly_doesNotNotifyListenersIfUnsuccessful()
213 assertThat(accountAdded).isTrue(); in testGetSetUserData_addToInitiallyEmptyExtras()
224 assertThat(accountAdded).isTrue(); in testGetSetUserData_overwrite()
238 assertThat(accountAdded).isTrue(); in testGetSetUserData_remove()
252 assertThat(accountAdded).isTrue(); in testGetSetPassword_setInAccountInitiallyWithNoPassword()
[all …]
DShadowVibratorTest.java30 assertThat(vibrator.hasVibrator()).isTrue(); in hasVibrator()
44 assertThat(vibrator.hasAmplitudeControl()).isTrue(); in hasAmplitudeControl()
51 assertThat(shadowOf(vibrator).isVibrating()).isTrue(); in vibrateMilliseconds()
63 assertThat(shadowOf(vibrator).isVibrating()).isTrue(); in vibratePattern()
71 assertThat(shadowOf(vibrator).isVibrating()).isTrue(); in cancelled()
76 assertThat(shadowOf(vibrator).isCancelled()).isTrue(); in cancelled()
DShadowTextUtilsTest.java22 assertThat(TextUtils.isEmpty(null)).isTrue(); in testIsEmpty()
23 assertThat(TextUtils.isEmpty("")).isTrue(); in testIsEmpty()
36 assertThat(TextUtils.isDigitsOnly("123456")).isTrue(); in testIsDigitsOnly()
57 assertThat(TextUtils.equals(null, null)).isTrue(); in testEquals()
58 assertThat(TextUtils.equals("", "")).isTrue(); in testEquals()
59 assertThat(TextUtils.equals("a", "a")).isTrue(); in testEquals()
60 assertThat(TextUtils.equals("ab", "ab")).isTrue(); in testEquals()
DSQLiteOpenHelperTest.java89 assertThat(database.isOpen()).isTrue(); in testClose()
117 assertThat(database1.isOpen()).isTrue(); in testCloseMultipleDbs()
118 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
121 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
133 assertThat(helper.onCreateCalled).isTrue(); in testOpenMultipleDbsOnCreate()
136 assertThat(helper.onCreateCalled).isTrue(); in testOpenMultipleDbsOnCreate()
137 assertThat(helper2.onCreateCalled).isTrue(); in testOpenMultipleDbsOnCreate()
212 assertThat(db1.isOpen()).isTrue(); in testCloseThenOpen()
217 assertThat(helper.onCreateCalled).isTrue(); in assertInitialDB()
227 assertThat(database.isOpen()).isTrue(); in assertDatabaseOpened()
[all …]
DShadowRectTest.java59 assertThat(a.equals(b)).isTrue(); in equals()
71 assertThat(r.contains(5, 5)).isTrue(); in containsPoint()
89 assertThat(r.contains(5, 0)).isTrue(); in containsPointOnTopEdge()
109 assertThat(a.contains(b)).isTrue(); in containsRect()
116 assertThat(a.contains(b)).isTrue(); in containsEqualRect()
137 assertThat(Rect.intersects(a, b)).isTrue(); in intersects()
151 assertThat(a.intersect(b)).isTrue(); in intersectRect()
157 assertThat(r.intersect(5, 0, 15, 10)).isTrue(); in intersectCoordinates()
DShadowContextTest.java53 assertThat(dataDir.exists()).isTrue(); in shouldGetApplicationDataDirectory()
64 assertThat(dataDir.exists()).isTrue(); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
77 assertThat(context.getCacheDir().exists()).isTrue(); in getCacheDir_shouldCreateDirectory()
82 assertThat(context.getExternalCacheDir().exists()).isTrue(); in getExternalCacheDir_shouldCreateDirectory()
98 assertThat(cacheTest.exists()).isTrue(); in shouldWriteToCacheDir()
115 assertThat(cacheTest.exists()).isTrue(); in shouldWriteToExternalCacheDir()
120 assertThat(context.getFilesDir().exists()).isTrue(); in getFilesDir_shouldCreateDirectory()
130 assertThat(context.getExternalFilesDir(null).exists()).isTrue(); in getExternalFilesDir_shouldCreateDirectory()
136 assertThat(f.exists()).isTrue(); in getExternalFilesDir_shouldCreateNamedDirectory()
235 assertThat(successfully).isTrue(); in deleteFile_shouldReturnTrue()
[all …]
DShadowWifiManagerTest.java113 assertThat(wifiManager.startScan()).isTrue(); in startScan()
116 assertThat(wifiManager.startScan()).isTrue(); in startScan()
237 assertThat(wifiManager.saveConfiguration()).isTrue(); in shouldSaveConfigurations()
238 assertThat(shadowOf(wifiManager).wasConfigurationSaved()).isTrue(); in shouldSaveConfigurations()
272 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockRefCounted()
274 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockRefCounted()
284 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockNonRefCounted()
286 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockNonRefCounted()
325 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseMulticastLockRefCounted()
327 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseMulticastLockRefCounted()
[all …]
/external/mockito/src/test/java/org/mockito/internal/matchers/
DInstanceOfTest.java27 assertThat(new InstanceOf(Object.class).matches(new Object())).isTrue(); in should_check_instance_type()
28 assertThat(new InstanceOf(Object.class).matches(new ArrayList())).isTrue(); in should_check_instance_type()
29 assertThat(new InstanceOf(List.class).matches(new ArrayList())).isTrue(); in should_check_instance_type()
35 assertThat(new InstanceOf(int.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types()
36 assertThat(new InstanceOf(Integer.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types()
37 assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue(); in should_check_for_primitive_wrapper_types()
38 assertThat(new InstanceOf(Integer.class).matches(new Integer(1000))).isTrue(); in should_check_for_primitive_wrapper_types()
40 assertThat(new InstanceOf(double.class).matches(1000.1)).isTrue(); in should_check_for_primitive_wrapper_types()
41 assertThat(new InstanceOf(Double.class).matches(1000.1)).isTrue(); in should_check_for_primitive_wrapper_types()
42 assertThat(new InstanceOf(double.class).matches(new Double(1000.1))).isTrue(); in should_check_for_primitive_wrapper_types()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DInstrumentationConfigurationTest.java32 assertThat(config.shouldInstrument(wrap("dalvik.system.DexFile"))).isTrue(); in shouldInstrumentDalvikClasses()
43 assertThat(config.shouldInstrument(wrap("android.content.Intent"))).isTrue(); in shouldInstrumentAndroidCoreClasses()
44 …That(config.shouldInstrument(wrap("android.and.now.for.something.completely.different"))).isTrue(); in shouldInstrumentAndroidCoreClasses()
49 assertThat(config.shouldInstrument(wrap("org.apache.http.util.CharArrayBuffer"))).isTrue(); in shouldInstrumentOrgApacheHttpClasses()
54 assertThat(config.shouldInstrument(wrap("org.kxml2.io.KXmlParser"))).isTrue(); in shouldInstrumentOrgKxmlClasses()
59 assertThat(config.shouldAcquire("android.Rfoo")).isTrue(); in shouldAcquireAndroidRClasses()
60 assertThat(config.shouldAcquire("android.fooR")).isTrue(); in shouldAcquireAndroidRClasses()
61 assertThat(config.shouldAcquire("android.R")).isTrue(); in shouldAcquireAndroidRClasses()
62 assertThat(config.shouldAcquire("android.R$anything")).isTrue(); in shouldAcquireAndroidRClasses()
63 assertThat(config.shouldAcquire("android.R$anything$else")).isTrue(); in shouldAcquireAndroidRClasses()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java115 assertThat(span.getContext().isValid()).isTrue(); in startSpanNullParent()
116 assertThat(span.getOptions().contains(Options.RECORD_EVENTS)).isTrue(); in startSpanNullParent()
117 assertThat(span.getContext().getTraceOptions().isSampled()).isTrue(); in startSpanNullParent()
133 assertThat(span.getContext().isValid()).isTrue(); in startSpanNullParentWithRecordEvents()
134 assertThat(span.getOptions().contains(Options.RECORD_EVENTS)).isTrue(); in startSpanNullParentWithRecordEvents()
147 assertThat(span.getContext().isValid()).isTrue(); in startSpanNullParentNoRecordOptions()
156 assertThat(rootSpan.getContext().isValid()).isTrue(); in startChildSpan()
157 assertThat(rootSpan.getOptions().contains(Options.RECORD_EVENTS)).isTrue(); in startChildSpan()
158 assertThat(rootSpan.getContext().getTraceOptions().isSampled()).isTrue(); in startChildSpan()
162 assertThat(childSpan.getContext().isValid()).isTrue(); in startChildSpan()
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/
DPrimitivesTest.java72 assertThat(Primitives.isAssignableFromWrapper(int.class, Integer.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
73 assertThat(Primitives.isAssignableFromWrapper(Integer.class, Integer.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
74 assertThat(Primitives.isAssignableFromWrapper(long.class, Long.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
75 assertThat(Primitives.isAssignableFromWrapper(Long.class, Long.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
76 assertThat(Primitives.isAssignableFromWrapper(double.class, Double.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
77 assertThat(Primitives.isAssignableFromWrapper(Double.class, Double.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
78 assertThat(Primitives.isAssignableFromWrapper(float.class, Float.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
79 assertThat(Primitives.isAssignableFromWrapper(Float.class, Float.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
80 assertThat(Primitives.isAssignableFromWrapper(char.class, Character.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
81 assertThat(Primitives.isAssignableFromWrapper(Character.class, Character.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference()
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DKeepAliveEnforcerTest.java47 assertThat(enforcer.pingAcceptable()).isTrue(); in permitLimitless()
51 assertThat(enforcer.pingAcceptable()).isTrue(); in permitLimitless()
55 assertThat(enforcer.pingAcceptable()).isTrue(); in permitLimitless()
59 assertThat(enforcer.pingAcceptable()).isTrue(); in permitLimitless()
68 assertThat(enforcer.pingAcceptable()).isTrue(); in strikeOutBecauseNoOutstandingCalls()
77 assertThat(enforcer.pingAcceptable()).isTrue(); in startsIdle()
87 assertThat(enforcer.pingAcceptable()).isTrue(); in strikeOutBecauseRateTooHighWhileActive()
97 assertThat(enforcer.pingAcceptable()).isTrue(); in strikeOutBecauseRateTooHighWhileIdle()
107 assertThat(enforcer.pingAcceptable()).isTrue(); in permitInRateWhileActive()
117 assertThat(enforcer.pingAcceptable()).isTrue(); in permitInRateWhileIdle()
[all …]
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DInvocationInfoTest.java28 assertThat(info.isValidException(new CharacterCodingException())).isTrue(); in should_know_valid_throwables()
33 …lder().method("integerReturningMethod").toInvocation()).isValidReturnType(Integer.class)).isTrue(); in should_know_valid_return_types()
34 …nBuilder().method("integerReturningMethod").toInvocation()).isValidReturnType(int.class)).isTrue(); in should_know_valid_return_types()
35 …nBuilder().method("intReturningMethod").toInvocation()).isValidReturnType(Integer.class)).isTrue(); in should_know_valid_return_types()
36 …ationBuilder().method("intReturningMethod").toInvocation()).isValidReturnType(int.class)).isTrue(); in should_know_valid_return_types()
42 …(new InvocationBuilder().method("intReturningMethod").toInvocation()).returnsPrimitive()).isTrue(); in should_know_when_invocation_returns_primitive()
48 …new InvocationInfo(new InvocationBuilder().method("voidMethod").toInvocation()).isVoid()).isTrue(); in should_know_when_invocation_returns_void()
66 …nvocationInfo(new InvocationBuilder().method(iAmAbstract()).toInvocation()).isAbstract()).isTrue(); in should_know_abstract_method()
73 …nfo(new InvocationBuilder().method("voidMethod").toInvocation()).isDeclaredOnInterface()).isTrue(); in should_know_method_is_declared_on_interface()
82 assertThat(voidMethod.isVoid()).isTrue(); in isVoid_invocationOnVoidMethod_returnTrue()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestFmwkPlus.java45 boolean actual = args.length == 0 ? relation.isTrue(arg0) : relation in assertRelation()
46 .isTrue(arg0, args); in assertRelation()
97 public abstract boolean isTrue(T a, U... b); in isTrue() method in TestFmwkPlus.TestRelation
132 public boolean isTrue(T a, U... b) { in isTrue() method in TestFmwkPlus.Invert
133 return !other.isTrue(a, b); in isTrue()
152 public boolean isTrue(T a, U... b) { in isTrue() method in TestFmwkPlus.And
154 if (!other.isTrue(a, b)) { in isTrue()
177 public boolean isTrue(T a, U... b) { in isTrue() method in TestFmwkPlus.Or
179 if (other.isTrue(a, b)) { in isTrue()
195 public boolean isTrue(Collection a, Object... bs) {
[all …]
/external/javapoet/src/test/java/com/squareup/javapoet/
DFileWritingTest.java84 assertThat(Files.exists(testPath)).isTrue(); in pathDefaultPackage()
92 assertThat(testFile.exists()).isTrue(); in fileDefaultPackage()
100 assertThat(Files.exists(testPath)).isTrue(); in filerDefaultPackage()
112 assertThat(Files.exists(fooPath)).isTrue(); in pathNestedClasses()
113 assertThat(Files.exists(barPath)).isTrue(); in pathNestedClasses()
114 assertThat(Files.exists(bazPath)).isTrue(); in pathNestedClasses()
129 assertThat(fooFile.exists()).isTrue(); in fileNestedClasses()
130 assertThat(barFile.exists()).isTrue(); in fileNestedClasses()
131 assertThat(bazFile.exists()).isTrue(); in fileNestedClasses()
143 assertThat(Files.exists(fooPath)).isTrue(); in filerNestedClasses()
[all …]
/external/robolectric-shadows/shadows/androidx/fragment/src/test/java/org/robolectric/shadows/androidx/fragment/
DFragmentControllerTest.java58 assertThat(controller.get().isAdded()).isTrue(); in attachedAfterCreate()
71 assertThat(controller.get().isAdded()).isTrue(); in attachedAfterCreate_customActivity()
84 assertThat(controller.get().isAdded()).isTrue(); in attachedAfterCreate_customizedViewId()
108 assertThat(controller.get().isAdded()).isTrue(); in isResumed()
109 assertThat(controller.get().isResumed()).isTrue(); in isResumed()
122 assertThat(controller.get().isAdded()).isTrue(); in isPaused()
138 assertThat(controller.get().isAdded()).isTrue(); in isStopped()
197 assertThat(controller.get().isVisible()).isTrue(); in visible()
207 assertThat(fragment.isVisible()).isTrue(); in setupFragmentWithFragment_fragmentHasCorrectLifecycle()
218 assertThat(fragment.isVisible()).isTrue(); in setupFragmentWithFragmentAndActivity_fragmentHasCorrectLifecycle()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboCursorTest.java101 assertThat(cursor.moveToNext()).isTrue(); in get_shouldReturnColumnValue()
109 assertThat(cursor.isNull(indexOf(NULL_COLUMN))).isTrue(); in get_shouldReturnColumnValue()
118 assertThat(cursor.moveToNext()).isTrue(); in get_shouldConvert()
136 assertThat(cursor.moveToNext()).isTrue(); in moveToNext_advancesToNextRow()
137 assertThat(cursor.moveToNext()).isTrue(); in moveToNext_advancesToNextRow()
149 assertThat(cursor.moveToPosition(1)).isTrue(); in moveToPosition_movesToAppropriateRow()
154 assertThat(cursor.moveToPosition(0)).isTrue(); in moveToPosition_movesToAppropriateRow()
176 assertThat(cursor.getCloseWasCalled()).isTrue(); in close_isRemembered()
195 assertThat(cursor.isBeforeFirst()).isTrue(); in isBeforeFirst_shouldReturnTrueForPosition()
206 assertThat(cursor.isAfterLast()).isTrue(); in isAfterLast_shouldReturnTrueForPosition()
[all …]

12345678910>>...19