Home
last modified time | relevance | path

Searched refs:testClass (Results 1 – 25 of 31) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java58 protected GnssCtsTestActivity(Class<? extends GnssTestCase> testClass) { in GnssCtsTestActivity() argument
59 super(testClass); in GnssCtsTestActivity()
70 protected GnssCtsTestActivity(Class<? extends GnssTestCase> testClass, int layoutId) { in GnssCtsTestActivity() argument
71 super(testClass, layoutId); in GnssCtsTestActivity()
149 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument
151 if (hasSuiteMethod(testClass)) { in runnerForClass()
152 Test test = SuiteMethod.testFromSuiteMethod(testClass); in runnerForClass()
157 testClass.getName() + "#suite() did not return a TestSuite."); in runnerForClass()
160 testSuite = new TestSuite(testClass); in runnerForClass()
167 private boolean hasSuiteMethod(Class<?> testClass) { in hasSuiteMethod() argument
[all …]
DBaseGnssTestActivity.java94 protected BaseGnssTestActivity(Class<? extends AndroidTestCase> testClass) { in BaseGnssTestActivity() argument
95 this(testClass, R.layout.gnss_test); in BaseGnssTestActivity()
106 protected BaseGnssTestActivity(Class testClass, int layoutId) { in BaseGnssTestActivity() argument
107 mTestClass = testClass; in BaseGnssTestActivity()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
DTestInfo.java27 public final String testClass; field in TestInfo
30 public TestInfo(String testPackage, String testClass, String testMethod) { in TestInfo() argument
32 this.testClass = testClass; in TestInfo()
42 return testClass + "#" + testMethod; in getTestName()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java64 protected SensorCtsTestActivity(Class<? extends SensorTestCase> testClass) { in SensorCtsTestActivity() argument
65 super(testClass); in SensorCtsTestActivity()
142 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument
144 if (hasSuiteMethod(testClass)) { in runnerForClass()
145 Test test = SuiteMethod.testFromSuiteMethod(testClass); in runnerForClass()
150 testClass.getName() + "#suite() did not return a TestSuite."); in runnerForClass()
153 testSuite = new TestSuite(testClass); in runnerForClass()
160 private boolean hasSuiteMethod(Class<?> testClass) { in hasSuiteMethod() argument
162 testClass.getMethod("suite"); in hasSuiteMethod()
DSensorCtsVerifierTestActivity.java49 Class<? extends SensorCtsVerifierTestActivity> testClass) { in SensorCtsVerifierTestActivity() argument
50 super(testClass); in SensorCtsVerifierTestActivity()
62 Class<? extends SensorCtsVerifierTestActivity> testClass, boolean enableRetry) { in SensorCtsVerifierTestActivity() argument
63 super(testClass); in SensorCtsVerifierTestActivity()
DBaseSensorTestActivity.java110 protected BaseSensorTestActivity(Class testClass) { in BaseSensorTestActivity() argument
111 this(testClass, R.layout.sensor_test); in BaseSensorTestActivity()
122 protected BaseSensorTestActivity(Class testClass, int layoutId) { in BaseSensorTestActivity() argument
123 mTestClass = testClass; in BaseSensorTestActivity()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java42 public GtestRunner(Class testClass) { in GtestRunner() argument
50 mTargetClass = testClass; in GtestRunner()
51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner()
56 mDescription = Description.createSuiteDescription(testClass); in GtestRunner()
59 nInitialize(testClass.getName(), mDescription); in GtestRunner()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunnerBuilder.java33 public Runner runnerForClass(Class<?> testClass) { in runnerForClass() argument
34 if (isTestNgTestClass(testClass)) { in runnerForClass()
35 return new TestNgRunner(testClass); in runnerForClass()
DTestNgRunner.java54 TestNgRunner(Class<?> testClass) { in TestNgRunner() argument
55 mDescription = generateTestNgDescription(testClass); in TestNgRunner()
56 mClassName = testClass.getName(); in TestNgRunner()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunnerBuilder.java33 public Runner runnerForClass(Class<?> testClass) { in runnerForClass() argument
34 if (isTestNgTestClass(testClass)) { in runnerForClass()
35 return new TestNgRunner(testClass); in runnerForClass()
DTestNgRunner.java54 TestNgRunner(Class<?> testClass) { in TestNgRunner() argument
55 mDescription = generateTestNgDescription(testClass); in TestNgRunner()
56 mClassName = testClass.getName(); in TestNgRunner()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DCrossProfileAppsHostSideTest.java145 private void verifyCrossProfileAppsApi(int fromUserId, int targetUserId, String testClass) in verifyCrossProfileAppsApi() argument
147 runDeviceTest(fromUserId, targetUserId, testClass, /* testMethod= */ null); in verifyCrossProfileAppsApi()
151 int fromUserId, int targetUserId, String testClass, @Nullable String testMethod) in runDeviceTest() argument
155 testClass, in runDeviceTest()
DCustomDeviceOwnerTest.java64 String testClass = INTENT_RECEIVER_PKG + ".OwnerChangedBroadcastTest"; in testOwnerChangedBroadcast() local
68 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
78 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
DProfileOwnerTest.java102 String testClass = PROFILE_OWNER_PKG + "." + testClassName; in executeProfileOwnerTest() local
103 runDeviceTestsAsUser(PROFILE_OWNER_PKG, testClass, mPrimaryUserId); in executeProfileOwnerTest()
/cts/tests/signature/lib/common/src/android/signature/cts/
DAbstractApiChecker.java158 private static Map<String, Field> buildFieldMap(Class<?> testClass) { in buildFieldMap() argument
161 if (testClass.getSuperclass() != null) { in buildFieldMap()
162 fieldMap.putAll(buildFieldMap(testClass.getSuperclass())); in buildFieldMap()
166 for (Class<?> interfaceClass : testClass.getInterfaces()) { in buildFieldMap()
171 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestNameUtils.java52 public static void setCurrentTestClass(@Nullable String testClass) { in setCurrentTestClass() argument
53 sCurrentTestClass = testClass; in setCurrentTestClass()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DTestNameUtils.java52 public static void setCurrentTestClass(@Nullable String testClass) { in setCurrentTestClass() argument
53 sCurrentTestClass = testClass; in setCurrentTestClass()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTestCase.java78 public TestClassNode(Class<?> testClass) { in TestClassNode() argument
79 mTestClass = testClass; in TestClassNode()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessService.java63 Class testClass = Class.forName(testClassName); in handleMessage() local
65 (TestProcessClient.TestRunnable) testClass.newInstance(); in handleMessage()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelperTest.java44 String testClass = mClazz.getSimpleName(); in setUp() local
45 mPublicApis = new HashSet<>(getPublicApis(testPackage, testClass)); in setUp()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCddCoverage.java96 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument
98 this.mTestClass = testClass; in TestMethod()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java88 final Class<?> testClass = testMethod.getDeclaringClass(); in TestHelper() local
90 mTestInfo = new TestInfo(testContext.getPackageName(), testClass.getName(), in TestHelper()
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/
DJvmtiRunTestBasedTest.java127 Class<?> testClass = Class.forName("art.Test" + nr); in testRunTest() local
128 final Method runMethod = testClass.getDeclaredMethod("run"); in testRunTest()
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java115 private void printMemory(Class<?> testClass) { in printMemory() argument
158 Log.d(TAG, "Now executing : " + testClass.getName()); in printMemory()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java115 private void printMemory(Class<?> testClass) { in printMemory() argument
158 Log.d(TAG, "Now executing : " + testClass.getName()); in printMemory()

12