/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SpannableStringTest.java | 4 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()
|
D | CameraParametersTest.java | 16 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()
|
D | CookieSyncManagerTest.java | 3 import static org.hamcrest.CoreMatchers.notNullValue; 22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() ); in testCreateInstance() 28 assertThat( CookieSyncManager.getInstance(), notNullValue() ); in testGetInstance()
|
D | ContentProviderTest.java | 4 import static org.hamcrest.CoreMatchers.notNullValue; 64 assertThat(provider.getContext(), is(notNullValue())); in hasAContext() 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue())); in canGetAResolver()
|
D | CountDownTimerTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 64 assertThat(timer, notNullValue()); in testStart() 71 assertThat(timer, notNullValue()); in testCancel()
|
D | ResourcesTest.java | 7 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()
|
D | ListPreferenceTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 49 assertThat(listPreference.getEntries(), notNullValue()); in shouldSetEntriesByResourceId() 65 assertThat(listPreference.getEntryValues(), notNullValue()); in shouldSetEntryValuesByResourceId()
|
D | AlarmManagerTest.java | 46 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()
|
D | ActivityTest.java | 112 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()
|
D | AnimationUtilsTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue()); in testLoadAnimation()
|
D | ListFragmentTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 28 assertThat(listFragment.getListAdapter(), is(notNullValue())); in shouldSupportSettingAndGettingListAdapter()
|
D | ListActivityTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 27 assertThat(listActivity.getListAdapter(), is(notNullValue())); in shouldSupportSettingAndGettingListAdapter()
|
D | PreferenceActivityTest.java | 6 import static org.hamcrest.CoreMatchers.notNullValue; 36 assertThat( activity.getListView(), notNullValue() ); in shouldGetListView()
|
D | ContentProviderOperationBuilderTest.java | 5 import static org.hamcrest.CoreMatchers.notNullValue; 68 assertThat(operation, notNullValue()); in build()
|
D | CameraTest.java | 20 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()
|
D | MediaRecorderTest.java | 72 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()
|
D | TelephonyManagerTest.java | 15 import static org.hamcrest.CoreMatchers.notNullValue; 38 assertThat(shadowManager.getListener(), notNullValue()); in testListen()
|
D | SQLiteOpenHelperTest.java | 14 import static org.hamcrest.CoreMatchers.notNullValue; 93 assertThat(database, notNullValue()); in assertDatabaseOpened()
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
D | IsNullTest.java | 7 import static org.hamcrest.core.IsNull.notNullValue; 14 private final Matcher<Object> notNullMatcher = notNullValue(); 37 requiresStringMatcher(notNullValue(String.class)); in supportsStaticTyping()
|
D | AllOfTest.java | 10 import static org.hamcrest.core.IsNull.notNullValue; 46 is(notNullValue()), in supportsMixedTypes()
|
D | CombinableTest.java | 9 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/ |
D | IsNull.java | 41 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/ |
D | RobolectricPackageManagerTest.java | 44 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/ |
D | Assume.java | 6 import static org.hamcrest.CoreMatchers.notNullValue; 73 assumeThat(asList(objects), everyItem(notNullValue())); in assumeNotNull()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
D | CoreMatchers.java | 319 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()
|