OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectedType
(Results
1 - 25
of
96
) sorted by null
1
2
3
4
/external/hamcrest/library/src/org/hamcrest/
TypeSafeMatcher.java
13
private Class
expectedType
;
22
expectedType
= findExpectedType(getClass());
43
protected TypeSafeMatcher(Class<T>
expectedType
) {
44
this.
expectedType
=
expectedType
;
55
&&
expectedType
.isInstance(item)
/external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java
15
private Class<?>
expectedType
;
24
expectedType
= findExpectedType(getClass());
45
protected TypeSafeMatcher(Class<T>
expectedType
) {
46
this.
expectedType
=
expectedType
;
57
&&
expectedType
.isInstance(item)
/external/chromium_org/third_party/WebKit/Source/core/fetch/
ImageResourceClient.h
36
static ResourceClientType
expectedType
() { return ImageType; }
37
virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return
expectedType
(); }
ResourceClient.h
48
static ResourceClientType
expectedType
() { return BaseResourceType; }
49
virtual ResourceClientType resourceClientType() const { return
expectedType
(); }
StyleSheetResourceClient.h
39
static ResourceClientType
expectedType
() { return StyleSheetType; }
40
virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return
expectedType
(); }
ResourceClientWalker.h
54
ASSERT(T::
expectedType
() == ResourceClient::
expectedType
() || next->resourceClientType() == T::
expectedType
());
DocumentResource.h
61
static ResourceClientType
expectedType
() { return DocumentType; }
62
virtual ResourceClientType resourceClientType() const OVERRIDE { return
expectedType
(); }
FontResource.h
92
static ResourceClientType
expectedType
() { return FontType; }
93
virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return
expectedType
(); }
RawResource.h
75
static ResourceClientType
expectedType
() { return RawResourceType; }
76
virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return
expectedType
(); }
XSLStyleSheetResource.cpp
51
ASSERT(c->resourceClientType() == StyleSheetResourceClient::
expectedType
());
CSSStyleSheetResource.cpp
58
ASSERT(c->resourceClientType() == StyleSheetResourceClient::
expectedType
());
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
BoundedMatcher.java
33
private final Class<?>
expectedType
;
36
public BoundedMatcher(Class<? extends S>
expectedType
) {
37
this.
expectedType
= checkNotNull(
expectedType
);
41
public BoundedMatcher(Class<?>
expectedType
, Class<?> interfaceType1,
43
this.
expectedType
= checkNotNull(
expectedType
);
67
if (
expectedType
.isInstance(item)) {
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
char_test.cpp
52
int
expectedType
= pp::Token::LAST;
63
expectedType
= pp::Token::IDENTIFIER;
68
expectedType
= pp::Token::CONST_INT;
73
expectedType
= str[0];
90
EXPECT_EQ(
expectedType
, token.type);
/external/chromium_org/third_party/icu/source/test/intltest/
dcfmtest.h
40
const UnicodeString &
expectedType
,
/external/icu/icu4c/source/test/intltest/
dcfmtest.h
40
const UnicodeString &
expectedType
,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
TypedUriMatcherImplTest.java
91
private void assertUriTypeMatch(UriType
expectedType
, String uri) {
92
assertEquals(
expectedType
, mTypedUriMatcherImpl.match(Uri.parse(uri)));
/libcore/luni/src/test/java/libcore/java/lang/reflect/
GenericExceptionsTest.java
91
private <T> T getOnlyValue(Object[] array, Class<T>
expectedType
) {
92
assertEquals("Expected a " +
expectedType
.getName() + " but was " + Arrays.toString(array),
94
assertTrue("Expected a " +
expectedType
.getName() + " but was " + array[0],
95
expectedType
.isInstance(array[0]));
96
return
expectedType
.cast(array[0]);
/frameworks/base/core/java/android/transition/
TransitionInflater.java
195
private Object createCustom(AttributeSet attrs, Class
expectedType
, String tag) {
207
.asSubclass(
expectedType
);
217
throw new InflateException("Could not instantiate " +
expectedType
+ " class " +
220
throw new InflateException("Could not instantiate " +
expectedType
+ " class " +
223
throw new InflateException("Could not instantiate " +
expectedType
+ " class " +
226
throw new InflateException("Could not instantiate " +
expectedType
+ " class " +
229
throw new InflateException("Could not instantiate " +
expectedType
+ " class " +
/frameworks/testing/support/src/android/support/test/internal/runner/junit4/
AndroidJUnit4ClassRunner.java
91
Class<?>
expectedType
) {
97
if (!
expectedType
.isAssignableFrom(instrField.getType())) {
101
getTestClass().getName(),
expectedType
.getName())));
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
SimpleVerifier.java
165
Type
expectedType
= ((BasicValue) expected).getType();
167
switch (
expectedType
.getSort()) {
172
return type ==
expectedType
;
180
return isAssignableFrom(
expectedType
, type);
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPackageXmlParserTest.java
148
private void assertTestType(String
expectedType
, String xml) throws ParseException {
152
assertEquals(
expectedType
, def.getTestType());
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
ExceptionMessages.cpp
99
String ExceptionMessages::argumentNullOrIncorrectType(int argumentIndex, const String&
expectedType
)
101
return "The " + ordinalNumber(argumentIndex) + " argument provided is either null, or an invalid " +
expectedType
+ " object.";
/external/chromium_org/third_party/WebKit/Source/core/inspector/
TraceEventDispatcher.cpp
150
const TraceEvent::TraceValueUnion& TraceEventDispatcher::TraceEvent::parameter(const char* name, unsigned char
expectedType
) const
155
if (index == kNotFound || m_argumentTypes[index] !=
expectedType
) {
/frameworks/base/media/java/android/media/
Metadata.java
535
private void checkType(final int key, final int
expectedType
) {
541
if (type !=
expectedType
) {
542
throw new IllegalStateException("Wrong type " +
expectedType
+ " but got " + type);
/cts/tests/signature-tests/src/android/signature/cts/tests/
JDiffClassDescriptionTest.java
41
private FailureType
expectedType
;
44
public ExpectFailure(FailureType
expectedType
) {
45
this.
expectedType
=
expectedType
;
50
if (type ==
expectedType
) {
Completed in 1156 milliseconds
1
2
3
4