HomeSort by relevance Sort by last modified time
    Searched refs:instanceOf (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
SQLiteTestHelper.java 5 import static org.hamcrest.CoreMatchers.instanceOf;
11 assertThat(colValues.get(0), instanceOf(Float.class));
12 assertThat(colValues.get(1), instanceOf(byte[].class));
13 assertThat(colValues.get(2), instanceOf(String.class));
14 assertThat(colValues.get(3), instanceOf(Integer.class));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
LinkMovementMethodTest.java 8 import static org.hamcrest.CoreMatchers.instanceOf;
16 assertThat(LinkMovementMethod.getInstance(), instanceOf(LinkMovementMethod.class));
NfcAdapterTest.java 8 import static org.hamcrest.CoreMatchers.instanceOf;
15 assertThat(NfcAdapter.getDefaultAdapter(null), instanceOf(NfcAdapter.class));
AbsSeekBarTest.java 11 import static org.hamcrest.CoreMatchers.instanceOf;
21 assertThat(shadow, instanceOf(ShadowProgressBar.class));
FrameLayoutTest.java 11 import static org.hamcrest.CoreMatchers.instanceOf;
31 assertThat(layoutParams, instanceOf(ViewGroup.MarginLayoutParams.class));
LinearLayoutTest.java 9 import static org.hamcrest.CoreMatchers.instanceOf;
19 assertThat(layoutParams, instanceOf(LinearLayout.LayoutParams.class));
PreferenceCategoryTest.java 3 import static org.hamcrest.CoreMatchers.instanceOf;
30 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class));
TabActivityTest.java 11 import static org.hamcrest.CoreMatchers.instanceOf;
31 assertThat(activity.getTabWidget(), instanceOf(TabWidget.class));
ResourcesTest.java 5 import static org.hamcrest.CoreMatchers.instanceOf;
71 assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( BitmapDrawable.class ) );
80 assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( AnimationDrawable.class ) );
96 assertThat( resources.getDrawable( TestR.color.test_color_1 ), instanceOf( ColorDrawable.class ) );
105 assertThat( resources.getDrawable( TestR.drawable.test_drawable_1 ), instanceOf( BitmapDrawable.class ) );
113 assertThat( resources.getDrawable( R.drawable.nine_patch_drawable ), instanceOf( NinePatchDrawable.class ) );
122 assertThat( resources.getDrawable( Integer.MAX_VALUE ), instanceOf( BitmapDrawable.class ) );
PreferenceActivityTest.java 4 import static org.hamcrest.CoreMatchers.instanceOf;
41 assertThat(shadow, instanceOf(ShadowListActivity.class));
PreferenceScreenTest.java 12 import static org.hamcrest.CoreMatchers.instanceOf;
31 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class));
SslErrorHandlerTest.java 13 import static org.hamcrest.CoreMatchers.instanceOf;
31 assertThat(shadow, instanceOf(ShadowHandler.class));
ListPreferenceTest.java 13 import static org.hamcrest.CoreMatchers.instanceOf;
33 assertThat(shadow, instanceOf(ShadowDialogPreference.class));
RatingBarTest.java 3 import static org.hamcrest.CoreMatchers.instanceOf;
62 assertThat(shadow, instanceOf(ShadowAbsSeekBar.class));
ProgressDialogTest.java 17 import static org.hamcrest.CoreMatchers.instanceOf;
40 assertThat(shadow, instanceOf(ShadowAlertDialog.class));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
PreferenceLoaderTest.java 24 import static org.hamcrest.CoreMatchers.instanceOf;
71 assertThat(screen.getPreference(0), instanceOf(PreferenceCategory.class));
72 assertThat(((PreferenceCategory)screen.getPreference(0)).getPreference(0), instanceOf(Preference.class));
74 assertThat(screen.getPreference(1), instanceOf(CheckBoxPreference.class));
75 assertThat(screen.getPreference(2), instanceOf(EditTextPreference.class));
76 assertThat(screen.getPreference(3), instanceOf(ListPreference.class));
77 assertThat(screen.getPreference(4), instanceOf(Preference.class));
78 assertThat(screen.getPreference(5), instanceOf(RingtonePreference.class));
DrawableResourceLoaderTest.java 17 import static org.hamcrest.CoreMatchers.instanceOf;
103 assertThat( drawable, instanceOf( LayerDrawable.class ) );
109 assertThat( drawable, instanceOf( StateListDrawable.class ) );
  /external/hamcrest/src/org/hamcrest/core/
Is.java 3 import static org.hamcrest.core.IsInstanceOf.instanceOf;
57 * This is a shortcut to the frequently used is(instanceOf(SomeClass.class)).
59 * eg. assertThat(cheese, is(instanceOf(Cheddar.class)))
64 return is(instanceOf(type));
IsInstanceOf.java 40 public static Matcher<Object> instanceOf(Class<?> type) {
  /external/junit/src/org/junit/rules/
ExpectedException.java 3 import static org.hamcrest.CoreMatchers.instanceOf;
81 expect(instanceOf(type));
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
AlertDialogCursorTest.java 48 import static org.hamcrest.Matchers.instanceOf;
166 is(instanceOf(SQLiteCursor.class)),
176 is(instanceOf(SQLiteCursor.class)),
226 is(instanceOf(SQLiteCursor.class)),
259 is(instanceOf(SQLiteCursor.class)),
275 is(instanceOf(SQLiteCursor.class)),
343 is(instanceOf(SQLiteCursor.class)),
369 is(instanceOf(SQLiteCursor.class)),
385 is(instanceOf(SQLiteCursor.class)),
  /external/proguard/src/proguard/evaluation/value/
ReferenceValue.java 55 public abstract int instanceOf(String otherType, Clazz otherReferencedClass);
  /external/v8/test/unittests/compiler/
js-typed-lowering-unittest.cc     [all...]
  /art/compiler/optimizing/
reference_type_propagation.cc 301 // InstanceOf instruction together with the true branch of `ifInstruction` will
304 // (1) patterns equivalent to `if (obj instanceof X)`
305 // (a) InstanceOf -> Equal to 1 -> If
306 // (b) InstanceOf -> NotEqual to 0 -> If
307 // (c) InstanceOf -> If
308 // (2) patterns equivalent to `if (!(obj instanceof X))`
309 // (a) InstanceOf -> Equal to 0 -> If
310 // (b) InstanceOf -> NotEqual to 1 -> If
311 // (c) InstanceOf -> BooleanNot -> If
313 /* out */ HInstanceOf** instanceOf,
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
Assert.java 347 // instanceOf
353 public static void instanceOf(Class<?> expectedClass, Object o) {

Completed in 3864 milliseconds

1 2 3 4 5 6 7 8 9