Home
last modified time | relevance | path

Searched refs:expectedType (Results 1 – 25 of 35) sorted by relevance

12

/external/hamcrest/library/src/org/hamcrest/
DTypeSafeMatcher.java13 private Class expectedType; field in TypeSafeMatcher
22 expectedType = findExpectedType(getClass()); in TypeSafeMatcher()
43 protected TypeSafeMatcher(Class<T> expectedType) { in TypeSafeMatcher() argument
44 this.expectedType = expectedType; in TypeSafeMatcher()
55 && expectedType.isInstance(item) in matches()
/external/junit/src/org/junit/internal/matchers/
DTypeSafeMatcher.java15 private Class<?> expectedType; field in TypeSafeMatcher
24 expectedType = findExpectedType(getClass()); in TypeSafeMatcher()
45 protected TypeSafeMatcher(Class<T> expectedType) { in TypeSafeMatcher() argument
46 this.expectedType = expectedType; in TypeSafeMatcher()
57 && expectedType.isInstance(item) in matches()
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
Dchar_test.cpp52 int expectedType = pp::Token::LAST; in TEST_P() local
63 expectedType = pp::Token::IDENTIFIER; in TEST_P()
68 expectedType = pp::Token::CONST_INT; in TEST_P()
73 expectedType = str[0]; in TEST_P()
90 EXPECT_EQ(expectedType, token.type); in TEST_P()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DResourceClientWalker.h54 …ASSERT(T::expectedType() == ResourceClient::expectedType() || next->resourceClientType() == T::exp… in next()
DResourceClient.h49 static ResourceClientType expectedType() { return BaseResourceType; } in expectedType() function
50 virtual ResourceClientType resourceClientType() const { return expectedType(); } in resourceClientType()
DImageResourceClient.h36 static ResourceClientType expectedType() { return ImageType; } in expectedType() function
37 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); } in resourceClientType()
DStyleSheetResourceClient.h39 static ResourceClientType expectedType() { return StyleSheetType; } in expectedType() function
40 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); } in resourceClientType()
DScriptResource.h39 static ResourceClientType expectedType() { return ScriptType; } in expectedType() function
40 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); } in resourceClientType()
DDocumentResource.h62 static ResourceClientType expectedType() { return DocumentType; } in expectedType() function
63 virtual ResourceClientType resourceClientType() const OVERRIDE { return expectedType(); } in resourceClientType()
DRawResource.h75 static ResourceClientType expectedType() { return RawResourceType; } in expectedType() function
76 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); } in resourceClientType()
DFontResource.h103 static ResourceClientType expectedType() { return FontType; } in expectedType() function
104 virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); } in resourceClientType()
DXSLStyleSheetResource.cpp50 ASSERT(c->resourceClientType() == StyleSheetResourceClient::expectedType()); in didAddClient()
DScriptResource.cpp54 ASSERT(client->resourceClientType() == ScriptResourceClient::expectedType()); in didAddClient()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DSimpleVerifier.java165 Type expectedType = ((BasicValue) expected).getType(); in isSubTypeOf() local
167 switch (expectedType.getSort()) { in isSubTypeOf()
172 return type == expectedType; in isSubTypeOf()
180 return isAssignableFrom(expectedType, type); in isSubTypeOf()
/external/icu/icu4c/source/test/intltest/
Dregiontst.cpp399 URegionType expectedType; in TestGetInstanceString() member
444 if ( type != data.expectedType) { in TestGetInstanceString()
445 …n type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceString()
454 URegionType expectedType; in TestGetInstanceInt() member
488 if ( data.expectedType != type) { in TestGetInstanceInt()
489 …egion type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceInt()
Ddcfmtest.h40 const UnicodeString &expectedType,
Ddcfmtest.cpp315 const UnicodeString &expectedType, in execParseTest() argument
345 expectedType.extract(0, 1, expectedTypeC, 2, US_INV); in execParseTest()
353 lineNum, InvariantStringPiece(expectedType).data()); in execParseTest()
/external/chromium_org/third_party/icu/source/test/intltest/
Dregiontst.cpp399 URegionType expectedType; in TestGetInstanceString() member
444 if ( type != data.expectedType) { in TestGetInstanceString()
445 …n type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceString()
454 URegionType expectedType; in TestGetInstanceInt() member
488 if ( data.expectedType != type) { in TestGetInstanceInt()
489 …egion type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type); in TestGetInstanceInt()
Ddcfmtest.h40 const UnicodeString &expectedType,
Ddcfmtest.cpp311 const UnicodeString &expectedType, in execParseTest() argument
341 expectedType.extract(0, 1, expectedTypeC, 2, US_INV); in execParseTest()
349 lineNum, InvariantStringPiece(expectedType).data()); in execParseTest()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DExceptionMessages.cpp99 String ExceptionMessages::argumentNullOrIncorrectType(int argumentIndex, const String& expectedType) in argumentNullOrIncorrectType() argument
101 …r(argumentIndex) + " argument provided is either null, or an invalid " + expectedType + " object."; in argumentNullOrIncorrectType()
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DMessageHeader.java162 public boolean validateHeader(int expectedType, int expectedFlags) { in validateHeader() argument
163 return getType() == expectedType && validateHeader(expectedFlags); in validateHeader()
/external/mockito/src/org/mockito/exceptions/
DReporter.java476 public void wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) { in wrongTypeOfReturnValue() argument
479 methodName + "() should return " + expectedType, in wrongTypeOfReturnValue()
729 …public void wrongTypeOfArgumentToReturn(InvocationOnMock invocation, String expectedType, Class ac… in wrongTypeOfArgumentToReturn() argument
732 "method should return the type '" + expectedType + "'", in wrongTypeOfArgumentToReturn()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DTraceEventDispatcher.cpp152 …on& TraceEventDispatcher::TraceEvent::parameter(const char* name, unsigned char expectedType) const in parameter()
157 if (index == kNotFound || m_argumentTypes[index] != expectedType) { in parameter()
/external/chromium_org/third_party/tlslite/tlslite/
Dtlsrecordlayer.py665 def _getMsg(self, expectedType, secondaryType=None, constructorType=None): argument
667 if not isinstance(expectedType, tuple):
668 expectedType = (expectedType,)
687 if recordHeader.type not in expectedType:

12