Home
last modified time | relevance | path

Searched refs:notNullValue (Results 1 – 25 of 33) 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()
DPreferenceActivityTest.java6 import static org.hamcrest.CoreMatchers.notNullValue;
36 assertThat( activity.getListView(), notNullValue() ); in shouldGetListView()
DListActivityTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
27 assertThat(listActivity.getListAdapter(), is(notNullValue())); in shouldSupportSettingAndGettingListAdapter()
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()
DSQLiteOpenHelperTest.java14 import static org.hamcrest.CoreMatchers.notNullValue;
93 assertThat(database, notNullValue()); in assertDatabaseOpened()
DTelephonyManagerTest.java15 import static org.hamcrest.CoreMatchers.notNullValue;
38 assertThat(shadowManager.getListener(), notNullValue()); in testListen()
DCursorAdapterTest.java4 import static org.hamcrest.CoreMatchers.notNullValue;
65 assertThat(adapter.getCursor(), notNullValue()); in testChangeCursor()
DPreferenceTest.java6 import static org.hamcrest.CoreMatchers.notNullValue;
226 assertThat( preference.getIntent(), notNullValue() ); in shouldReturnIntent()
233 assertThat( preference.getDependency(), notNullValue() ); in shouldRememberDependency()
DListViewTest.java7 import static org.hamcrest.CoreMatchers.notNullValue;
110 assertThat(listView.findViewById(0), notNullValue()); in addHeaderView_ShouldRecordHeaders()
111 assertThat(listView.findViewById(1), notNullValue()); in addHeaderView_ShouldRecordHeaders()
112 assertThat(listView.findViewById(2), notNullValue()); in addHeaderView_ShouldRecordHeaders()
113 assertThat(listView.findViewById(3), notNullValue()); in addHeaderView_ShouldRecordHeaders()
/external/hamcrest/src/org/hamcrest/core/
DIsNull.java35 public static <T> Matcher<T> notNullValue() { in notNullValue() method in IsNull
51 public static <T> Matcher<T> notNullValue(@SuppressWarnings("unused") Class<T> type) { in notNullValue() method in IsNull
52 return notNullValue(); in notNullValue()
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java147 public static <T> org.hamcrest.Matcher<T> notNullValue() { in notNullValue() method in CoreMatchers
148 return org.hamcrest.core.IsNull.notNullValue(); in notNullValue()
154 public static <T> org.hamcrest.Matcher<T> notNullValue(java.lang.Class<T> type) { in notNullValue() method in CoreMatchers
155 return org.hamcrest.core.IsNull.notNullValue(type); in notNullValue()
/external/junit/src/org/junit/
DAssume.java5 import static org.hamcrest.CoreMatchers.notNullValue;
47 assumeThat(asList(objects), Each.each(notNullValue())); in assumeNotNull()
/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()

12