HomeSort by relevance Sort by last modified time
    Searched refs:expectedType (Results 1 - 25 of 254) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/guice/core/src/com/google/inject/internal/
ConstructionContext.java 63 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));
ProviderInternalFactory.java 49 Class<?> expectedType = dependency.getKey().getTypeLiteral().getRawType();
53 errors, context.getInjectorOptions(), expectedType);
ConstructorInjector.java 62 Class<?> expectedType,
71 errors, context.getInjectorOptions(), expectedType);
  /external/icu/icu4c/source/test/intltest/
dcfmtest.h 40 const UnicodeString &expectedType,
regiontst.cpp 397 URegionType expectedType;
442 if ( type != data.expectedType) {
443 dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.expectedType,type);
452 URegionType expectedType;
486 if ( data.expectedType != type) {
487 dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.expectedType,type);
    [all...]
  /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]);
  /packages/services/Car/service/src/com/android/car/
CarInfoService.java 155 Class expectedType = sKeyValueTypeMap.get(key);
156 if (expectedType == null || !expectedType.equals(type)) {
158 expectedType + " while used in method for " + type);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
RegionTest.java 397 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]);
402 if ( !expectedType.equals(r.getType())) {
403 errln("Unexpected region type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.getType());
427 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]);
432 if ( !expectedType.equals(r.getType())) {
433 errln("Unexpected region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.getType());
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
RegionTest.java 393 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]);
398 if ( !expectedType.equals(r.getType())) {
399 errln("Unexpected region type for Region.getInstance(\"" + inputID + "\"); Expected: " + expectedType + " Got: " + r.getType());
423 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]);
428 if ( !expectedType.equals(r.getType())) {
429 errln("Unexpected region type for Region.getInstance(" + inputID + "); Expected: " + expectedType + " Got: " + r.getType());
  /frameworks/base/core/java/android/transition/
TransitionInflater.java 199 private Object createCustom(AttributeSet attrs, Class expectedType, String tag) {
211 .asSubclass(expectedType);
221 throw new InflateException("Could not instantiate " + expectedType + " class " +
224 throw new InflateException("Could not instantiate " + expectedType + " class " +
227 throw new InflateException("Could not instantiate " + expectedType + " class " +
230 throw new InflateException("Could not instantiate " + expectedType + " class " +
233 throw new InflateException("Could not instantiate " + expectedType + " class " +
  /prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.3/
auto-common-0.3.jar 
  /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);
  /prebuilts/tools/common/fest/
fest-reflect-1.2.jar 
  /frameworks/base/media/java/android/media/
Metadata.java 543 private void checkType(final int key, final int expectedType) {
549 if (type != expectedType) {
550 throw new IllegalStateException("Wrong type " + expectedType + " but got " + type);
  /external/dagger2/lib/
auto-common-1.0-20151022.071545-39.jar 
  /prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.4/
auto-common-0.4.jar 
  /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) {
  /external/mockito/src/org/mockito/exceptions/
Reporter.java 476 public void wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) {
479 methodName + "() should return " + expectedType,
    [all...]
  /frameworks/av/include/camera/
CameraMetadata.h 230 status_t checkType(uint32_t tag, uint8_t expectedType);
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
TextViewBindingAdapterTest.java 58 int expectedType = InputType.TYPE_CLASS_NUMBER;
60 expectedType |= InputType.TYPE_NUMBER_FLAG_SIGNED;
63 expectedType |= InputType.TYPE_NUMBER_FLAG_DECIMAL;
65 return expectedType;
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPackageXmlParserTest.java 173 private void assertTestType(String expectedType, String xml) throws ParseException {
177 assertEquals(expectedType, def.getTestType());
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliCodeFragmentFactoryTest.java 250 private void assertVariableType(PsiElement context, String variableName, String expectedType) {
262 Assert.assertEquals(expectedType, reference.getType().getCanonicalText());

Completed in 491 milliseconds

1 2 3 4 5 6 7 8 91011