Searched refs:expectedType (Results 1 - 25 of 54) sorted by relevance

123

/external/hamcrest/library/src/org/hamcrest/
H A DTypeSafeMatcher.java13 private Class expectedType; field in class:TypeSafeMatcher
22 expectedType = findExpectedType(getClass());
43 protected TypeSafeMatcher(Class<T> expectedType) { argument
44 this.expectedType = expectedType;
55 && expectedType.isInstance(item)
/external/junit/src/org/junit/internal/matchers/
H A DTypeSafeMatcher.java15 private Class<?> expectedType; field in class:TypeSafeMatcher
24 expectedType = findExpectedType(getClass());
45 protected TypeSafeMatcher(Class<T> expectedType) { argument
46 this.expectedType = expectedType;
57 && expectedType.isInstance(item)
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DImageResourceClient.h36 static ResourceClientType expectedType() { return ImageType; } function in class:blink::ImageResourceClient
37 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
H A DResourceClient.h49 static ResourceClientType expectedType() { return BaseResourceType; } function in class:blink::ResourceClient
50 virtual ResourceClientType resourceClientType() const { return expectedType(); }
H A DStyleSheetResourceClient.h39 static ResourceClientType expectedType() { return StyleSheetType; } function in class:blink::StyleSheetResourceClient
40 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
H A DResourceClientWalker.h54 ASSERT(T::expectedType() == ResourceClient::expectedType() || next->resourceClientType() == T::expectedType());
H A DScriptResource.h39 static ResourceClientType expectedType() { return ScriptType; } function in class:blink::ScriptResourceClient
40 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
H A DDocumentResource.h62 static ResourceClientType expectedType() { return DocumentType; } function in class:blink::DocumentResourceClient
63 virtual ResourceClientType resourceClientType() const OVERRIDE { return expectedType(); }
H A DXSLStyleSheetResource.cpp50 ASSERT(c->resourceClientType() == StyleSheetResourceClient::expectedType());
H A DFontResource.h103 static ResourceClientType expectedType() { return FontType; } function in class:blink::FontResourceClient
104 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
H A DRawResource.h75 static ResourceClientType expectedType() { return RawResourceType; } function in class:blink::RawResourceClient
76 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
H A DScriptResource.cpp54 ASSERT(client->resourceClientType() == ScriptResourceClient::expectedType());
H A DCSSStyleSheetResource.cpp70 ASSERT(c->resourceClientType() == StyleSheetResourceClient::expectedType());
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dchar_test.cpp52 int expectedType = pp::Token::LAST; local
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/
H A Ddcfmtest.h40 const UnicodeString &expectedType,
H A Dregiontst.cpp399 URegionType expectedType; member in struct:TestData
444 if ( type != data.expectedType) {
445 dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type);
454 URegionType expectedType; member in struct:TestData
488 if ( data.expectedType != type) {
489 dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type);
H A Ddcfmtest.cpp311 const UnicodeString &expectedType,
341 expectedType.extract(0, 1, expectedTypeC, 2, US_INV);
349 lineNum, InvariantStringPiece(expectedType).data());
309 execParseTest(int32_t lineNum, const UnicodeString &inputText, const UnicodeString &expectedType, const UnicodeString &expectedDecimal, UErrorCode &status) argument
/external/icu/icu4c/source/test/intltest/
H A Ddcfmtest.h40 const UnicodeString &expectedType,
H A Dregiontst.cpp399 URegionType expectedType; member in struct:TestData
444 if ( type != data.expectedType) {
445 dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type);
454 URegionType expectedType; member in struct:TestData
488 if ( data.expectedType != type) {
489 dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type);
H A Ddcfmtest.cpp315 const UnicodeString &expectedType,
345 expectedType.extract(0, 1, expectedTypeC, 2, US_INV);
353 lineNum, InvariantStringPiece(expectedType).data());
313 execParseTest(int32_t lineNum, const UnicodeString &inputText, const UnicodeString &expectedType, const UnicodeString &expectedDecimal, UErrorCode &status) argument
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
H A DSimpleVerifier.java165 Type expectedType = ((BasicValue) expected).getType();
167 switch (expectedType.getSort()) {
172 return type == expectedType;
180 return isAssignableFrom(expectedType, type);
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DMessageHeader.java162 public boolean validateHeader(int expectedType, int expectedFlags) { argument
163 return getType() == expectedType && validateHeader(expectedFlags);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DExceptionMessages.cpp99 String ExceptionMessages::argumentNullOrIncorrectType(int argumentIndex, const String& expectedType) argument
101 return "The " + ordinalNumber(argumentIndex) + " argument provided is either null, or an invalid " + expectedType + " object.";
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DTraceEventDispatcher.cpp152 const TraceEvent::TraceValueUnion& TraceEventDispatcher::TraceEvent::parameter(const char* name, unsigned char expectedType) const
157 if (index == kNotFound || m_argumentTypes[index] != expectedType) {
/external/mockito/src/org/mockito/exceptions/
H A DReporter.java476 public void wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) { argument
479 methodName + "() should return " + expectedType,
729 public void wrongTypeOfArgumentToReturn(InvocationOnMock invocation, String expectedType, Class actualType, int argumentIndex) { argument
732 "method should return the type '" + expectedType + "'",

Completed in 601 milliseconds

123