Home
last modified time | relevance | path

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

12

/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/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/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.java48 Class<? extends SensorCtsVerifierTestActivity> testClass) { in SensorCtsVerifierTestActivity() argument
49 super(testClass); in SensorCtsVerifierTestActivity()
/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/tools/utils/
DCollectAllTests.java348 private static String getKnownFailure(final Class<?> testClass, in getKnownFailure() argument
350 return getAnnotation(testClass, testName, KNOWN_FAILURE); in getKnownFailure()
353 private static boolean isKnownFailure(final Class<?> testClass, in isKnownFailure() argument
355 return getAnnotation(testClass, testName, KNOWN_FAILURE) != null; in isKnownFailure()
358 private static boolean isSuppressed(final Class<?> testClass, in isSuppressed() argument
360 return getAnnotation(testClass, testName, SUPPRESSED_TEST) != null; in isSuppressed()
363 private static String getAnnotation(final Class<?> testClass, in getAnnotation() argument
366 Method testMethod = testClass.getMethod(testName, (Class[])null); in getAnnotation()
398 Class<?> testClass) { in addToTests() argument
401 boolean isJunit3Test = isJunit3Test(testClass); in addToTests()
[all …]
DVogarUtils.java89 public static String buildFullTestName(String testClass, String testMethodName) { in buildFullTestName() argument
90 return String.format("%s#%s", testClass, testMethodName); in buildFullTestName()
/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/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/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.java156 private static Map<String, Field> buildFieldMap(Class<?> testClass) { in buildFieldMap() argument
159 if (testClass.getSuperclass() != null) { in buildFieldMap()
160 fieldMap.putAll(buildFieldMap(testClass.getSuperclass())); in buildFieldMap()
164 for (Class<?> interfaceClass : testClass.getInterfaces()) { in buildFieldMap()
169 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap()
/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/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/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.java95 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument
97 this.mTestClass = testClass; in TestMethod()
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/
DJvmtiRunTestBasedTest.java74 Class<?> testClass = Class.forName("art.Test" + nr); in testRunTest() local
75 final Method runMethod = testClass.getDeclaredMethod("run"); in testRunTest()
/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/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()

12