/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowApplicationTest.java | 79 .isInstanceOf(android.app.ActivityManager.class); in shouldProvideServices() 81 .isInstanceOf(android.os.PowerManager.class); in shouldProvideServices() 83 .isInstanceOf(android.app.AlarmManager.class); in shouldProvideServices() 85 .isInstanceOf(android.app.NotificationManager.class); in shouldProvideServices() 87 .isInstanceOf(android.app.KeyguardManager.class); in shouldProvideServices() 89 .isInstanceOf(android.location.LocationManager.class); in shouldProvideServices() 91 .isInstanceOf(android.app.SearchManager.class); in shouldProvideServices() 93 .isInstanceOf(SystemSensorManager.class); in shouldProvideServices() 95 .isInstanceOf(android.os.storage.StorageManager.class); in shouldProvideServices() 96 assertThat(context.getSystemService(Context.VIBRATOR_SERVICE)).isInstanceOf(Vibrator.class); in shouldProvideServices() [all …]
|
D | ShadowLayoutInflaterTest.java | 58 assertThat(view).isInstanceOf(LinearLayout.class); in testCreatesCorrectClasses() 107 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById() 110 assertThat(mainView.<View>findViewById(R.id.title)).isInstanceOf(View.class); in testFindsChildrenById() 116 assertThat(view.<ImageView>findViewById(R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks() 119 assertThat(view.<ImageView>findViewById(android.R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks() 125 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude() 143 assertThat(mediaView.<TextView>findViewById(R.id.inner_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedMergeWhenIncludeSpecifiesNoId() 149 assertThat(mediaView.<TextView>findViewById(R.id.snippet_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedNonMergeWhenIncludeSpecifiesNoId() 156 .isInstanceOf(LinearLayout.class); in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge() 158 .isInstanceOf(TextView.class); in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | PreferenceIntegrationTest.java | 29 assertThat(screen.getPreference(0)).isInstanceOf(PreferenceCategory.class); in inflate_shouldCreateCorrectClasses() 32 assertThat(category.getPreference(0)).isInstanceOf(Preference.class); in inflate_shouldCreateCorrectClasses() 35 assertThat(innerScreen).isInstanceOf(PreferenceScreen.class); in inflate_shouldCreateCorrectClasses() 39 assertThat(innerScreen.getPreference(0)).isInstanceOf(Preference.class); in inflate_shouldCreateCorrectClasses() 41 assertThat(screen.getPreference(2)).isInstanceOf(CheckBoxPreference.class); in inflate_shouldCreateCorrectClasses() 42 assertThat(screen.getPreference(3)).isInstanceOf(EditTextPreference.class); in inflate_shouldCreateCorrectClasses() 43 assertThat(screen.getPreference(4)).isInstanceOf(ListPreference.class); in inflate_shouldCreateCorrectClasses() 44 assertThat(screen.getPreference(5)).isInstanceOf(Preference.class); in inflate_shouldCreateCorrectClasses() 45 assertThat(screen.getPreference(6)).isInstanceOf(RingtonePreference.class); in inflate_shouldCreateCorrectClasses() 46 assertThat(screen.getPreference(7)).isInstanceOf(Preference.class); in inflate_shouldCreateCorrectClasses()
|
D | DrawableResourceLoaderTest.java | 56 assertThat(resources.getDrawable(R.drawable.l7_white)).isInstanceOf(BitmapDrawable.class); in testDrawableTypes() 57 assertThat(resources.getDrawable(R.drawable.l0_red)).isInstanceOf(BitmapDrawable.class); in testDrawableTypes() 58 …assertThat(resources.getDrawable(R.drawable.nine_patch_drawable)).isInstanceOf(NinePatchDrawable.c… in testDrawableTypes() 59 assertThat(resources.getDrawable(R.drawable.rainbow)).isInstanceOf(LayerDrawable.class); in testDrawableTypes() 64 …assertThat(resources.getDrawable(R.drawable.an_image_or_vector)).isInstanceOf(BitmapDrawable.class… in testVectorDrawableType_preVectors() 69 …assertThat(resources.getDrawable(R.drawable.an_image_or_vector)).isInstanceOf(VectorDrawable.class… in testVectorDrawableType() 98 assertThat(animator).isInstanceOf((Class<? extends Animator>) Animator.class); in shouldCreateAnimators() 103 …assertThat(resources.getDrawable(R.color.grey42)).isInstanceOf((Class<? extends android.graphics.d… in shouldCreateAnimsAndColors()
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationWithAfterTest.java | 71 }).isInstanceOf(TooManyActualInvocations.class); in should_verify_with_after_and_fail() 98 }).isInstanceOf(TooManyActualInvocations.class); in should_verify_with_time_x_and_fail() 124 …}).isInstanceOf(AssertionError.class).hasMessageContaining("Wanted *at least* 3 times"); //TODO sp… in should_verify_with_at_least_and_fail() 151 …}).isInstanceOf(AssertionError.class).hasMessageContaining("Wanted at most 1 time but was 2"); //T… in should_verify_with_at_most_and_fail() 174 …}).isInstanceOf(MoreThanAllowedActualInvocations.class).hasMessageContaining("Wanted at most 0 tim… in should_verify_with_never_and_fail() 199 …}).isInstanceOf(AssertionError.class).hasMessageContaining("No interactions wanted here"); //TODO … in should_verify_with_only_and_fail() 215 }).isInstanceOf(MoreThanAllowedActualInvocations.class); in should_fail_early_when_at_most_is_used() 233 }).isInstanceOf(MoreThanAllowedActualInvocations.class); in should_fail_early_when_never_is_used() 253 }).isInstanceOf(NoInteractionsWanted.class); in should_fail_early_when_only_is_used() 273 }).isInstanceOf(NoInteractionsWanted.class); in should_fail_early_when_time_x_is_used()
|
D | VerificationWithTimeoutTest.java | 72 }).isInstanceOf(AssertionError.class).hasMessageContaining("Wanted but not invoked"); in should_verify_with_timeout_and_fail() 91 }).isInstanceOf(AssertionError.class).hasMessageContaining("Wanted but not invoked"); in should_verify_with_timeout_and_fail_early() 119 }).isInstanceOf(TooLittleActualInvocations.class); in should_verify_with_times_x_and_fail() 153 }).isInstanceOf(TooLittleActualInvocations.class); in should_verify_with_at_least_and_fail() 179 }).isInstanceOf(AssertionError.class); in should_verify_with_only_and_fail() 197 …}).isInstanceOf(AssertionError.class).hasMessageContaining("Wanted but not invoked"); //TODO speci… in should_verify_with_only_and_fail_early()
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessPerStubbingTest.java | 56 }).isInstanceOf(PotentialStubbingProblem.class); in potential_stubbing_problem() 103 }).isInstanceOf(IllegalArgumentException.class); in doThrow_syntax() 110 }).isInstanceOf(IllegalStateException.class); in doThrow_syntax() 128 }).isInstanceOf(IllegalArgumentException.class); in doThrow_vararg_syntax() 135 }).isInstanceOf(IllegalStateException.class); in doThrow_vararg_syntax() 153 }).isInstanceOf(IllegalArgumentException.class); in doThrow_instance_vararg_syntax() 160 }).isInstanceOf(IllegalStateException.class); in doThrow_instance_vararg_syntax() 227 }).isInstanceOf(UnnecessaryStubbingException.class) in unnecessary_stubbing() 260 }).isInstanceOf(NoInteractionsWanted.class) in verify_no_more_invocations()
|
D | StrictnessPerMockTest.java | 67 }).isInstanceOf(PotentialStubbingProblem.class); in potential_stubbing_problem() 82 }).isInstanceOf(UnnecessaryStubbingException.class) in unnecessary_stubbing() 106 }).isInstanceOf(NoInteractionsWanted.class) in verify_no_more_invocations()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/ |
D | ExportComponentImplTest.java | 37 assertThat(exportComponentWithInProcess.getSpanExporter()).isInstanceOf(SpanExporterImpl.class); in implementationOfSpanExporter() 43 .isInstanceOf(InProcessRunningSpanStoreImpl.class); in implementationOfActiveSpans() 45 .isInstanceOf(RunningSpanStoreImpl.getNoopRunningSpanStoreImpl().getClass()); in implementationOfActiveSpans() 51 .isInstanceOf(InProcessSampledSpanStoreImpl.class); in implementationOfSampledSpanStore() 53 .isInstanceOf(SampledSpanStoreImpl.getNoopSampledSpanStoreImpl().getClass()); in implementationOfSampledSpanStore()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/ |
D | ParallelUniverseCreateApplicationTest.java | 42 .isInstanceOf(Application.class); in shouldReturnDefaultAndroidApplicationWhenManifestDeclaresNoAppName() 49 .isInstanceOf(TestApplication.class); in shouldReturnSpecifiedApplicationWhenManifestDeclaresAppName() 56 assertThat(application).isInstanceOf(TestApplication.class); in shouldAssignThePackageNameFromTheManifest() 93 assertThat(application).isInstanceOf(TestFakeApp.class); in shouldLoadConfigApplicationIfSpecified() 100 assertThat(application).isInstanceOf(TestFakeAppInner.class); in shouldLoadConfigInnerClassApplication() 106 assertThat(application).isInstanceOf(TestFakeApp.class); in shouldLoadTestApplicationIfClassIsPresent() 110 assertThat(ParallelUniverse.createApplication(null, null)).isInstanceOf(Application.class); in whenNoAppManifestPresent_shouldCreateGenericApplication()
|
/external/opencensus-java/contrib/zpages/src/test/java/io/opencensus/contrib/zpages/ |
D | ZPageHandlersTest.java | 31 assertThat(ZPageHandlers.getTracezZPageHandler()).isInstanceOf(TracezZPageHandler.class); in implementationOfTracez() 37 .isInstanceOf(TraceConfigzZPageHandler.class); in implementationOfTraceConfigz() 42 assertThat(ZPageHandlers.getRpczZpageHandler()).isInstanceOf(RpczZPageHandler.class); in implementationOfRpcz() 47 assertThat(ZPageHandlers.getStatszZPageHandler()).isInstanceOf(StatszZPageHandler.class); in implementationOfStatsz()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/ |
D | TaggerImplTest.java | 63 assertThat(tagger.empty()).isInstanceOf(TagContextImpl.class); in empty() 70 assertThat(tagger.empty()).isInstanceOf(TagContextImpl.class); in empty_TaggingDisabled() 76 assertThat(builder).isInstanceOf(TagContextBuilderImpl.class); in emptyBuilder() 92 assertThat(builder).isInstanceOf(TagContextBuilderImpl.class); in emptyBuilder_TaggingReenabled() 100 assertThat(result).isInstanceOf(TagContextBuilderImpl.class); in currentBuilder() 107 assertThat(currentBuilder).isInstanceOf(TagContextBuilderImpl.class); in currentBuilder_DefaultIsEmpty() 141 assertThat(builder).isInstanceOf(TagContextBuilderImpl.class); in currentBuilder_TaggingReenabled() 159 assertThat(newTagContext).isInstanceOf(TagContextImpl.class); in toBuilder_ConvertUnknownTagContextToTagContextImpl() 192 assertThat(builder).isInstanceOf(TagContextBuilderImpl.class); in toBuilder_TaggingReenabled() 200 assertThat(currentTagContext).isInstanceOf(TagContextImpl.class); in getCurrentTagContext_DefaultIsEmptyTagContextImpl() [all …]
|
/external/opencensus-java/impl_lite/src/test/java/io/opencensus/impllite/trace/ |
D | TraceComponentImplLiteTest.java | 35 assertThat(Tracing.getTracer()).isInstanceOf(TracerImpl.class); in implementationOfTracer() 40 assertThat(Tracing.getPropagationComponent()).isInstanceOf(PropagationComponentImpl.class); in implementationOfBinaryPropagationHandler() 45 assertThat(Tracing.getClock()).isInstanceOf(MillisClock.class); in implementationOfClock() 50 assertThat(Tracing.getExportComponent()).isInstanceOf(ExportComponentImpl.class); in implementationOfTraceExporter()
|
/external/opencensus-java/impl/src/test/java/io/opencensus/impl/trace/ |
D | TracingTest.java | 36 assertThat(Tracing.getTracer()).isInstanceOf(TracerImpl.class); in implementationOfTracer() 41 assertThat(Tracing.getPropagationComponent()).isInstanceOf(PropagationComponent.class); in implementationOfBinaryPropagationHandler() 46 assertThat(Tracing.getClock()).isInstanceOf(MillisClock.class); in implementationOfClock() 51 assertThat(Tracing.getExportComponent()).isInstanceOf(ExportComponentImpl.class); in implementationOfTraceExporter()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | TraceComponentImplBaseTest.java | 39 assertThat(traceComponentImplBase.getTracer()).isInstanceOf(TracerImpl.class); in implementationOfTracer() 45 .isInstanceOf(PropagationComponentImpl.class); in implementationOfBinaryPropagationHandler() 50 assertThat(traceComponentImplBase.getClock()).isInstanceOf(MillisClock.class); in implementationOfClock() 55 assertThat(traceComponentImplBase.getExportComponent()).isInstanceOf(ExportComponentImpl.class); in implementationOfTraceExporter()
|
/external/mockito/src/test/java/org/mockito/internal/configuration/ |
D | GlobalConfigurationTest.java | 23 …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/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | StatsTestUtil.java | 109 assertThat(actual).isInstanceOf(SumDataDouble.class); in assertAggregationDataEquals() 117 assertThat(actual).isInstanceOf(SumDataLong.class); in assertAggregationDataEquals() 125 assertThat(actual).isInstanceOf(CountData.class); in assertAggregationDataEquals() 133 assertThat(actual).isInstanceOf(DistributionData.class); in assertAggregationDataEquals() 141 assertThat(actual).isInstanceOf(LastValueDataDouble.class); in assertAggregationDataEquals() 151 assertThat(actual).isInstanceOf(LastValueDataLong.class); in assertAggregationDataEquals() 160 assertThat(actual).isInstanceOf(MeanData.class); in assertAggregationDataEquals()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AbstractServerImplBuilderTest.java | 52 assertThat(factories.get(0)).isInstanceOf(CensusStatsModule.ServerTracerFactory.class); in getTracerFactories_default() 53 assertThat(factories.get(1)).isInstanceOf(CensusTracingModule.ServerTracerFactory.class); in getTracerFactories_default() 63 assertThat(factories.get(0)).isInstanceOf(CensusTracingModule.ServerTracerFactory.class); in getTracerFactories_disableStats() 73 assertThat(factories.get(0)).isInstanceOf(CensusStatsModule.ServerTracerFactory.class); in getTracerFactories_disableTracing()
|
D | AutoConfiguredLoadBalancerFactoryTest.java | 61 assertThat(lb).isInstanceOf(AutoConfiguredLoadBalancer.class); in newLoadBalancer_isAuto() 69 assertThat(lb.getDelegateFactory()).isInstanceOf(PickFirstBalancerFactory.class); in defaultIsPickFirst() 197 assertThat(factory).isInstanceOf(PickFirstBalancerFactory.class); in decideLoadBalancerFactory_noBalancerAddresses_noServiceConfig_pickFirst() 211 assertThat(factory).isInstanceOf(GrpclbLoadBalancerFactory.class); in decideLoadBalancerFactory_oneBalancer_noServiceConfig_grpclb() 226 assertThat(factory).isInstanceOf(GrpclbLoadBalancerFactory.class); in decideLoadBalancerFactory_grpclbOverridesServiceConfig() 241 assertThat(factory).isInstanceOf(RoundRobinLoadBalancerFactory.class); in decideLoadBalancerFactory_serviceConfigOverridesDefault()
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/badexecutor/ |
D | BadExecutorTest.java | 46 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/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | ValueTest.java | 63 assertThat(value).isInstanceOf(ValueDouble.class); in createAndGet_ValueDouble() 70 assertThat(value).isInstanceOf(ValueLong.class); in createAndGet_ValueLong() 77 assertThat(value).isInstanceOf(ValueDistribution.class); in createAndGet_ValueDistribution() 84 assertThat(value).isInstanceOf(ValueSummary.class); in createAndGet_ValueSummary()
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | SetOfProducedProducerTest.java | 72 .isInstanceOf(NullPointerException.class); in delegateSetNpe() 85 .isInstanceOf(NullPointerException.class); in oneOfDelegateSetNpe() 97 .isInstanceOf(NullPointerException.class); in delegateElementNpe() 109 .isInstanceOf(NullPointerException.class); in oneOfDelegateElementNpe()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | PropagationComponentImplTest.java | 33 assertThat(propagationComponent.getBinaryFormat()).isInstanceOf(BinaryFormatImpl.class); in implementationOfBinary() 38 assertThat(propagationComponent.getB3Format()).isInstanceOf(B3Format.class); in implementationOfB3Format()
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/ |
D | MetricsComponentTest.java | 32 .isInstanceOf(ExportComponent.newNoopExportComponent().getClass()); in defaultExportComponent() 38 .isInstanceOf(MetricRegistry.newNoopMetricRegistry().getClass()); in defaultMetricRegistry()
|
/external/opencensus-java/impl_lite/src/test/java/io/opencensus/impllite/stats/ |
D | StatsTest.java | 34 assertThat(Stats.getStatsRecorder()).isInstanceOf(StatsRecorderImpl.class); in getStatsRecorder() 39 assertThat(Stats.getViewManager()).isInstanceOf(ViewManagerImpl.class); in getViewManager()
|