Home
last modified time | relevance | path

Searched refs:testComponent (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java52 private ComponentName testComponent; field in ShadowDevicePolicyManagerTest
63 testComponent = new ComponentName("com.example.app", "DeviceAdminReceiver"); in setUp()
72 String testPackage = testComponent.getPackageName(); in isDeviceOwnerAppShouldReturnFalseForNonDeviceOwnerApp()
83 String testPackage = testComponent.getPackageName(); in isDeviceOwnerShouldReturnFalseForProfileOwner()
84 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in isDeviceOwnerShouldReturnFalseForProfileOwner()
95 String testPackage = testComponent.getPackageName(); in isDeviceOwnerShouldReturnTrueForDeviceOwner()
96 shadowOf(devicePolicyManager).setDeviceOwner(testComponent); in isDeviceOwnerShouldReturnTrueForDeviceOwner()
107 String testPackage = testComponent.getPackageName(); in getDeviceOwnerShouldReturnDeviceOwnerPackageName()
108 shadowOf(devicePolicyManager).setDeviceOwner(testComponent); in getDeviceOwnerShouldReturnDeviceOwnerPackageName()
127 shadowOf(devicePolicyManager).setDeviceOwner(testComponent); in isDeviceManagedShouldReturnTrueWhenThereIsADeviceOwner()
[all …]
/external/dagger2/javatests/dagger/internal/codegen/
DComponentValidationTest.java122 JavaFileObject testComponent = in attemptToInjectWildcardGenerics() local
136 Compilation compilation = daggerCompiler().compile(testComponent); in attemptToInjectWildcardGenerics()
138 assertThat(compilation).hadErrorContaining("wildcard type").inFile(testComponent).onLine(9); in attemptToInjectWildcardGenerics()
139 assertThat(compilation).hadErrorContaining("wildcard type").inFile(testComponent).onLine(10); in attemptToInjectWildcardGenerics()
144 JavaFileObject testComponent = in invalidComponentDependencies() local
153 Compilation compilation = daggerCompiler().compile(testComponent); in invalidComponentDependencies()
160 JavaFileObject testComponent = in invalidComponentModules() local
169 Compilation compilation = daggerCompiler().compile(testComponent); in invalidComponentModules()
188 JavaFileObject testComponent = in moduleInDependencies() local
197 Compilation compilation = daggerCompiler().compile(testModule, testComponent); in moduleInDependencies()
DBindsInstanceValidationTest.java54 JavaFileObject testComponent = in bindsInstanceInComponent() local
66 Compilation compilation = daggerCompiler().compile(testComponent); in bindsInstanceInComponent()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/
DFirstMockedMainTest.kt27 fun testComponent() { in testComponent() method in ordered.tests.FirstMockedMainTest
DCustomizedRobolectricTest.kt31 fun testComponent() { in testComponent() method
DFirstRobolectricTest.kt20 fun testComponent() { in testComponent() method in ordered.tests.FirstRobolectricTest