Searched defs:expectedType (Results 1 - 25 of 47) sorted by relevance

12

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
H A DTypeSafeDiagnosingMatcher.java19 private final Class<?> expectedType; field in class:TypeSafeDiagnosingMatcher
30 * @param expectedType The expectedType of the actual value.
32 protected TypeSafeDiagnosingMatcher(Class<?> expectedType) { argument
33 this.expectedType = expectedType;
42 this.expectedType = typeFinder.findExpectedType(getClass());
56 && expectedType.isInstance(item)
63 if (item == null || !expectedType.isInstance(item)) {
H A DTypeSafeMatcher.java16 final private Class<?> expectedType; field in class:TypeSafeMatcher
28 * @param expectedType The expectedType of the actual value.
30 protected TypeSafeMatcher(Class<?> expectedType) { argument
31 this.expectedType = expectedType;
40 this.expectedType = typeFinder.findExpectedType(getClass());
66 && expectedType.isInstance(item)
75 } else if (! expectedType.isInstance(item)) {
/external/junit/src/main/java/org/junit/internal/matchers/
H A DTypeSafeMatcher.java18 private Class<?> expectedType; field in class:TypeSafeMatcher
27 expectedType = findExpectedType(getClass());
48 protected TypeSafeMatcher(Class<T> expectedType) { argument
49 this.expectedType = expectedType;
60 && expectedType.isInstance(item)
/external/skia/tests/
H A DSkDOMTest.cpp17 SkDOM::Type expectedType) {
21 REPORTER_ASSERT(r, dom.getType(node) == expectedType);
15 check_node(skiatest::Reporter* r, const SkDOM& dom, const SkDOM::Node* node, const char* expectedName, SkDOM::Type expectedType) argument
H A DGeometryTest.cpp210 const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType) {
212 REPORTER_ASSERT(reporter, actualType == expectedType);
209 check_cubic_type(skiatest::Reporter* reporter, const std::array<SkPoint, 4>& bezierPoints, SkCubicType expectedType) argument
/external/guice/core/src/com/google/inject/internal/
H A DConstructionContext.java63 Class<?> expectedType) throws ErrorsException {
65 throw errors.circularProxiesDisabled(expectedType).toException();
67 if (!expectedType.isInterface()) {
68 throw errors.cannotSatisfyCircularDependency(expectedType).toException();
81 ClassLoader classLoader = BytecodeGen.getClassLoader(expectedType);
82 return expectedType.cast(Proxy.newProxyInstance(classLoader,
83 new Class[] { expectedType, CircularDependencyProxy.class }, invocationHandler));
62 createProxy(Errors errors, InjectorOptions injectorOptions, Class<?> expectedType) argument
H A DConstructorInjector.java62 Class<?> expectedType,
71 errors, context.getInjectorOptions(), expectedType);
61 construct(final Errors errors, final InternalContext context, Class<?> expectedType, ProvisionListenerStackCallback<T> provisionCallback) argument
H A DErrors.java449 public Errors cannotSatisfyCircularDependency(Class<?> expectedType) { argument
452 expectedType);
455 public Errors circularProxiesDisabled(Class<?> expectedType) { argument
458 expectedType);
/external/smali/smalidea/src/test/java/org/jf/smalidea/
H A DSmaliCodeFragmentFactoryTest.java250 private void assertVariableType(PsiElement context, String variableName, String expectedType) { argument
262 Assert.assertEquals(expectedType, reference.getType().getCanonicalText());
/external/icu/icu4c/source/test/intltest/
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.cpp317 const UnicodeString &expectedType,
347 expectedType.extract(0, 1, expectedTypeC, 2, US_INV);
355 lineNum, InvariantStringPiece(expectedType).data());
315 execParseTest(int32_t lineNum, const UnicodeString &inputText, const UnicodeString &expectedType, const UnicodeString &expectedDecimal, UErrorCode &status) argument
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DMessageHeader.java171 public boolean validateHeader(int expectedType, int expectedFlags) { argument
172 return getType() == expectedType && validateHeader(expectedFlags);
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
H A DLambdaMainMethodSourceCode.java291 // the impl-method (`expectedType`).
293 DexType erasedType, DexType enforcedType, DexType expectedType) {
295 register = adjustType(register, enforcedType, expectedType);
292 prepareParameterValue(int register, DexType erasedType, DexType enforcedType, DexType expectedType) argument
/external/proguard/src/proguard/optimize/evaluation/
H A DSimpleEnumUseChecker.java611 String expectedType)
618 return expectedType.equals(poppedType);
609 isPoppingExpectedType(int offset, int stackEntryIndex, String expectedType) argument
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
H A DCode.java262 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { argument
263 if (!local.type.equals(expectedType)) {
265 "requested " + expectedType + " but was " + local.type);
/external/dagger2/lib/
H A Dauto-common-1.0-20151022.071545-39.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/common/ ...
H A Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp628 Texture::Type expectedType = Texture::TYPE_LAST; local
631 case GL_TEXTURE_1D: expectedType = Texture::TYPE_1D; break;
632 case GL_TEXTURE_2D: expectedType = Texture::TYPE_2D; break;
633 case GL_TEXTURE_CUBE_MAP: expectedType = Texture::TYPE_CUBE_MAP; break;
634 case GL_TEXTURE_2D_ARRAY: expectedType = Texture::TYPE_2D_ARRAY; break;
635 case GL_TEXTURE_3D: expectedType = Texture::TYPE_3D; break;
636 case GL_TEXTURE_CUBE_MAP_ARRAY: expectedType = Texture::TYPE_CUBE_MAP_ARRAY; break;
640 RC_IF_ERROR(texObj->getType() != expectedType, GL_INVALID_OPERATION, RC_RET_VOID);
/external/mockito/src/main/java/org/mockito/internal/exceptions/
H A DReporter.java475 public static MockitoException wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) { argument
478 methodName + "() should return " + expectedType,
490 public static MockitoException wrongTypeReturnedByDefaultAnswer(Object mock, String expectedType, String actualType, String methodName) { argument
494 methodName + "() should return " + expectedType,
754 public static MockitoException wrongTypeOfArgumentToReturn(InvocationOnMock invocation, String expectedType, Class<?> actualType, int argumentIndex) { argument
757 "method should return the type '" + expectedType + "'",
/external/clang/lib/CodeGen/
H A DCGDecl.cpp371 llvm::Type *expectedType = addr->getType(); local
403 llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(var, expectedType);
/external/guice/extensions/struts2/lib/
H A Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/jasper/ org/apache/jasper/resources/ ...
/external/robolectric/v3/
H A Drobolectric-processor-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/robolectric/ org/robolectric/annotation/ ...
/external/owasp/sanitizer/lib/junit/
H A Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/guice/extensions/persist/lib/
H A Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/AssertionFailure.class AssertionFailure. ...
/external/junit-params/lib/
H A Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org.assertj/ META- ...

Completed in 767 milliseconds

12