Home
last modified time | relevance | path

Searched refs:notNullValue (Results 1 – 25 of 36) sorted by relevance

12

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSpannableStringTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
55 assertThat(spans, notNullValue()); in testRemoveSpan()
68 assertThat(spans, notNullValue()); in testGetSpans()
73 assertThat(spans, notNullValue()); in testGetSpans()
78 assertThat(spans, notNullValue()); in testGetSpans()
83 assertThat(spans, notNullValue()); in testGetSpans()
88 assertThat(spans, notNullValue()); in testGetSpans()
DCameraParametersTest.java16 import static org.hamcrest.CoreMatchers.notNullValue;
85 assertThat(supportedFormats, notNullValue()); in testGetSupportedPreviewFormats()
93 assertThat(supportedFormats, notNullValue()); in testGetSupportedPictureFormats()
101 assertThat(supportedSizes, notNullValue()); in testGetSupportedPictureSizes()
110 assertThat(supportedSizes, notNullValue()); in testGetSupportedPreviewSizes()
119 assertThat(supportedRanges, notNullValue()); in testGetSupportedPreviewFpsRange()
130 assertThat(supportedRates, notNullValue()); in testGetSupportedPreviewFrameRates()
DCookieSyncManagerTest.java3 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() ); in testCreateInstance()
28 assertThat( CookieSyncManager.getInstance(), notNullValue() ); in testGetInstance()
DContentProviderTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(provider.getContext(), is(notNullValue())); in hasAContext()
68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
DCountDownTimerTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
64 assertThat(timer, notNullValue()); in testStart()
71 assertThat(timer, notNullValue()); in testCancel()
DResourcesTest.java7 import static org.hamcrest.CoreMatchers.notNullValue;
50 assertThat(configuration, notNullValue()); in testConfiguration()
51 assertThat(configuration.locale, notNullValue()); in testConfiguration()
61 assertThat(resources.newTheme(), notNullValue()); in testNewTheme()
DListPreferenceTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
49 assertThat(listPreference.getEntries(), notNullValue()); in shouldSetEntriesByResourceId()
65 assertThat(listPreference.getEntryValues(), notNullValue()); in shouldSetEntryValuesByResourceId()
DAlarmManagerTest.java46 assertThat(scheduledAlarm, notNullValue()); in shouldSupportSet()
56 assertThat(scheduledAlarm, notNullValue()); in shouldSupportSetRepeating()
106 assertThat(shadowAlarmManager.peekNextScheduledAlarm(), notNullValue()); in shouldSupportPeekScheduledAlarm()
147 assertThat(scheduledAlarm, notNullValue()); in assertRepeatingScheduledAlarm()
148 assertThat(scheduledAlarm.operation, notNullValue()); in assertRepeatingScheduledAlarm()
DActivityTest.java112 assertThat(startedIntent, notNullValue()); in shouldSupportStartActivityForResult()
125 assertThat(intentForResult, notNullValue()); in shouldSupportGetStartedActitivitesForResult()
127 assertThat(intentForResult.intent, notNullValue()); in shouldSupportGetStartedActitivitesForResult()
141 assertThat(intentForResult, notNullValue()); in shouldSupportPeekStartedActitivitesForResult()
143 assertThat(intentForResult.intent, notNullValue()); in shouldSupportPeekStartedActitivitesForResult()
293 assertThat(ShadowDialog.getLatestDialog(), CoreMatchers.<Object>notNullValue()); in shouldCallOnCreateDialogFromShowDialog()
462 assertThat( shadow.getManagedCursors(), notNullValue() ); in startAndStopManagingCursorTracksCursors()
468 assertThat( shadow.getManagedCursors(), notNullValue() ); in startAndStopManagingCursorTracksCursors()
474 assertThat( shadow.getManagedCursors(), notNullValue() ); in startAndStopManagingCursorTracksCursors()
DAnimationUtilsTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue()); in testLoadAnimation()
DListFragmentTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
28 assertThat(listFragment.getListAdapter(), is(notNullValue())); in shouldSupportSettingAndGettingListAdapter()
DListActivityTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
27 assertThat(listActivity.getListAdapter(), is(notNullValue())); in shouldSupportSettingAndGettingListAdapter()
DPreferenceActivityTest.java6 import static org.hamcrest.CoreMatchers.notNullValue;
36 assertThat( activity.getListView(), notNullValue() ); in shouldGetListView()
DContentProviderOperationBuilderTest.java5 import static org.hamcrest.CoreMatchers.notNullValue;
68 assertThat(operation, notNullValue()); in build()
DCameraTest.java20 import static org.hamcrest.CoreMatchers.notNullValue;
44 assertThat(camera, notNullValue()); in testOpen()
65 assertThat(parameters, notNullValue()); in testGetParameters()
66 assertThat(parameters.getSupportedPreviewFormats(), notNullValue()); in testGetParameters()
DMediaRecorderTest.java72 assertThat(shadowMediaRecorder.getCamera(), notNullValue()); in testCamera()
95 assertThat(shadowMediaRecorder.getErrorListener(), notNullValue()); in testOnErrorListener()
104 assertThat(shadowMediaRecorder.getInfoListener(), notNullValue()); in testOnInfoListener()
132 assertThat(shadowMediaRecorder.getPreviewDisplay(), notNullValue()); in testPreviewDisplay()
DTelephonyManagerTest.java15 import static org.hamcrest.CoreMatchers.notNullValue;
38 assertThat(shadowManager.getListener(), notNullValue()); in testListen()
DSQLiteOpenHelperTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
93 assertThat(database, notNullValue()); in assertDatabaseOpened()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsNullTest.java7 import static org.hamcrest.core.IsNull.notNullValue;
14 private final Matcher<Object> notNullMatcher = notNullValue();
37 requiresStringMatcher(notNullValue(String.class)); in supportsStaticTyping()
DAllOfTest.java10 import static org.hamcrest.core.IsNull.notNullValue;
46 is(notNullValue()), in supportsMixedTypes()
DCombinableTest.java9 import static org.hamcrest.core.IsNull.notNullValue;
66 …Matcher<String> matcher = CombinableMatcher.both(equalTo("yellow")).and(notNullValue(String.class)… in picksUpTypeFromLeftHandSideOfExpression()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsNull.java41 public static Matcher<Object> notNullValue() { in notNullValue() method in IsNull
70 public static <T> Matcher<T> notNullValue(Class<T> type) { in notNullValue() method in IsNull
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManagerTest.java44 assertThat(info, notNullValue()); in getApplicationInfo__ThisApplication()
58 assertThat(info, notNullValue()); in getApplicationInfo__OtherApplication()
69 assertThat(activities, notNullValue()); // empty list, not null in queryIntentActivities__EmptyResult()
84 assertThat(activities, notNullValue()); in queryIntentActivities__Match()
/external/junit/src/main/java/org/junit/
DAssume.java6 import static org.hamcrest.CoreMatchers.notNullValue;
73 assumeThat(asList(objects), everyItem(notNullValue())); in assumeNotNull()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java319 public static org.hamcrest.Matcher<java.lang.Object> notNullValue() { in notNullValue() method in CoreMatchers
320 return org.hamcrest.core.IsNull.notNullValue(); in notNullValue()
334 public static <T> org.hamcrest.Matcher<T> notNullValue(java.lang.Class<T> type) { in notNullValue() method in CoreMatchers
335 return org.hamcrest.core.IsNull.notNullValue(type); in notNullValue()

12