OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:instanceOf
(Results
1 - 25
of
99
) sorted by null
1
2
3
4
/external/robolectric/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/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/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/chromium_org/chrome/renderer/resources/extensions/
sync_file_system_custom_bindings.js
16
// Functions which take in an [
instanceOf
=FileEntry].
39
// Functions which take in an [
instanceOf
=DOMFileSystem].
49
// Functions which return an [
instanceOf
=DOMFileSystem].
63
// which has [
instanceOf
=FileEntry].
/external/junit/src/org/junit/rules/
ExpectedException.java
3
import static org.hamcrest.CoreMatchers.
instanceOf
;
81
expect(
instanceOf
(type));
/external/deqp/modules/egl/
teglRenderCase.cpp
67
inline bool
instanceOf
(Base& obj)
74
const bool isWindow =
instanceOf
<tcu::egl::WindowSurface>(surface);
75
const bool isPixmap =
instanceOf
<tcu::egl::PixmapSurface>(surface);
76
const bool isPbuffer =
instanceOf
<tcu::egl::PbufferSurface>(surface);
/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) {
/external/guava/guava-tests/test/com/google/common/base/
PredicatesTest.java
68
return obj
instanceof
IsOdd;
548
* Tests for Predicates.
instanceOf
(x).
554
@GwtIncompatible("Predicates.
instanceOf
")
556
Predicate<Object> isInteger = Predicates.
instanceOf
(Integer.class);
564
@GwtIncompatible("Predicates.
instanceOf
")
566
Predicate<Object> isNumber = Predicates.
instanceOf
(Number.class);
574
@GwtIncompatible("Predicates.
instanceOf
")
576
Predicate<Object> isComparable = Predicates.
instanceOf
(Comparable.class);
584
@GwtIncompatible("Predicates.
instanceOf
")
588
Predicates.
instanceOf
(Integer.class)
[
all
...]
/external/hamcrest/src/org/hamcrest/
CoreMatchers.java
28
* This is a shortcut to the frequently used is(
instanceOf
(SomeClass.class)).
30
* eg. assertThat(cheese, is(
instanceOf
(Cheddar.class)))
65
public static org.hamcrest.Matcher<java.lang.Object>
instanceOf
(java.lang.Class<?> type) {
66
return org.hamcrest.core.IsInstanceOf.
instanceOf
(type);
Completed in 611 milliseconds
1
2
3
4