Searched refs:testComponent (Results 1 – 6 of 6) sorted by relevance
52 private ComponentName testComponent; field in ShadowDevicePolicyManagerTest63 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 …]
122 JavaFileObject testComponent = in attemptToInjectWildcardGenerics() local136 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() local153 Compilation compilation = daggerCompiler().compile(testComponent); in invalidComponentDependencies()160 JavaFileObject testComponent = in invalidComponentModules() local169 Compilation compilation = daggerCompiler().compile(testComponent); in invalidComponentModules()188 JavaFileObject testComponent = in moduleInDependencies() local197 Compilation compilation = daggerCompiler().compile(testModule, testComponent); in moduleInDependencies()
54 JavaFileObject testComponent = in bindsInstanceInComponent() local66 Compilation compilation = daggerCompiler().compile(testComponent); in bindsInstanceInComponent()
27 fun testComponent() { in testComponent() method in ordered.tests.FirstMockedMainTest
31 fun testComponent() { in testComponent() method
20 fun testComponent() { in testComponent() method in ordered.tests.FirstRobolectricTest