Home
last modified time | relevance | path

Searched refs:isInstanceOf (Results 1 – 23 of 23) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/configuration/
DGlobalConfigurationTest.java23 …assertThat(new GlobalConfiguration().getAnnotationEngine()).isInstanceOf(CustomAnnotationEngine.cl… in returns_mockito_configuration_annotation_engine_if_non_default()
24 …assertThat(new GlobalConfiguration().tryGetPluginAnnotationEngine()).isInstanceOf(CustomAnnotation… in returns_mockito_configuration_annotation_engine_if_non_default()
41 …assertThat(new GlobalConfiguration().getAnnotationEngine()).isInstanceOf(Plugins.getAnnotationEngi… in returns_mockito_annotation_engine_of_Plugins_if_no_MockitoConfiguration()
42 …assertThat(new GlobalConfiguration().tryGetPluginAnnotationEngine()).isInstanceOf(Plugins.getAnnot… in returns_mockito_annotation_engine_of_Plugins_if_no_MockitoConfiguration()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/badexecutor/
DBadExecutorTest.java46 assertThat(e.getCause()).isInstanceOf(RejectedExecutionException.class); in rejectNoArgMethod()
56 assertThat(e.getCause()).isInstanceOf(RejectedExecutionException.class); in rejectSingleArgMethod()
66 assertThat(e.getCause()).isInstanceOf(RejectedExecutionException.class); in rejectSingleArgFromComponentDepMethod()
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DSetOfProducedProducerTest.java72 .isInstanceOf(NullPointerException.class); in delegateSetNpe()
85 .isInstanceOf(NullPointerException.class); in oneOfDelegateSetNpe()
97 .isInstanceOf(NullPointerException.class); in delegateElementNpe()
109 .isInstanceOf(NullPointerException.class); in oneOfDelegateElementNpe()
DSetProducerTest.java54 assertThat(e.getCause()).isInstanceOf(NullPointerException.class); in delegateSetNpe()
68 assertThat(e.getCause()).isInstanceOf(NullPointerException.class); in delegateElementNpe()
DProducersTest.java68 .isInstanceOf(CancellationException.class); in createFutureProduced_cancelDoesNotPropagateForwards()
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMockingMultipleInterfacesTest.java32 assertThat(mock).isInstanceOf(IFoo.class); in should_allow_multiple_interfaces()
33 assertThat(mock).isInstanceOf(IBar.class); in should_allow_multiple_interfaces()
DMocksSerializationTest.java342 .isInstanceOf(List.class) in should_be_serialize_and_have_extra_interfaces()
343 .isInstanceOf(IMethods.class); in should_be_serialize_and_have_extra_interfaces()
345 .isInstanceOf(List.class) in should_be_serialize_and_have_extra_interfaces()
346 .isInstanceOf(IMethods.class); in should_be_serialize_and_have_extra_interfaces()
DMocksSerializationForAnnotationTest.java312 .isInstanceOf(List.class) in should_be_serialize_and_have_extra_interfaces()
313 .isInstanceOf(IMethods.class); in should_be_serialize_and_have_extra_interfaces()
/external/mockito/src/test/java/org/mockitousage/matchers/
DInvalidUseOfMatchersTest.java113 assertThat(run.getFailures().get(0).getException()).isInstanceOf(NullPointerException.class) in should_mention_matcher_when_misuse_detected()
115 …assertThat(run.getFailures().get(1).getException()).isInstanceOf(InvalidUseOfMatchersException.cla… in should_mention_matcher_when_misuse_detected()
/external/mockito/src/test/java/org/mockitousage/annotation/
DMockInjectionUsingConstructorTest.java98 assertThat(e.getCause()).isInstanceOf(IllegalStateException.class); in should_report_failure_only_when_object_initialization_throws_exception()
200 assertThat(testClass.f).isInstanceOf(StaticInnerClass.class); in injectMocksMustSucceedWithStaticInnerClass()
DMockInjectionUsingSetterOrPropertyTest.java139 Assertions.assertThat(e.getCause()).isInstanceOf(RuntimeException.class); in should_report_nicely()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerificationListenerCallBackTest.java97 assertThat(listener.cause).isInstanceOf(MockitoAssertionError.class); in should_notify_when_verification_throws_type_error()
115 assertThat(listener.cause).isInstanceOf(RuntimeException.class); in should_notify_when_verification_throws_runtime_exception()
/external/junit-params/src/test/java/junitparams/
DObjectStringificationTest.java72 assertThat(object).isInstanceOf(A.class); in shouldCreateParameterObjectsOnce()
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRule.java70 return Assertions.assertThat(throwable).isInstanceOf(expected);
/external/hamcrest/
DCHANGES.txt118 * Relaxed isInstanceOf() matcher generic type so it can be used on any kind of
119 object. e.g. assertThat(someUnknownObject, isInstanceOf(String.class));
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInstanceOf.java68 public boolean isInstanceOf() { in isInstanceOf() method in InstanceOf
DInstruction.java490 public boolean isInstanceOf() { in isInstanceOf() method in Instruction
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DThrowsExceptionTest.java21 … assertThat(throwable).isInstanceOf(IllegalStateException.class).hasMessage("my dear throwable"); in should_raise_wanted_throwable()
/external/mockito/src/test/java/org/mockito/internal/matchers/
DInstanceOfTest.java59 assertThat(new InstanceOf.VarArgAware(Number[].class)).isInstanceOf(VarargMatcher.class); in can_be_vararg_aware()
/external/mockito/src/test/java/org/mockitousage/junitrule/
DStrictJUnitRuleTest.java79 Assertions.assertThat(t).isInstanceOf(PotentialStubbingProblem.class); in fails_fast_when_stubbing_invoked_with_different_argument()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DAbstractByteBuddyMockMakerTest.java82 assertThat(mock).isInstanceOf(SomeInterface.class); in should_use_ancillary_Types()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java174 } else if (current.isInstanceOf()) { in rewrite()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DCodeRewriter.java1204 || instruction.isInstanceOf()