Home
last modified time | relevance | path

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

/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.java46 Class<? extends SensorCtsVerifierTestActivity> testClass) { in SensorCtsVerifierTestActivity() argument
47 super(testClass); in SensorCtsVerifierTestActivity()
DBaseSensorTestActivity.java104 protected BaseSensorTestActivity(Class testClass) { in BaseSensorTestActivity() argument
105 this(testClass, R.layout.sensor_test); in BaseSensorTestActivity()
116 protected BaseSensorTestActivity(Class testClass, int layoutId) { in BaseSensorTestActivity() argument
117 mTestClass = testClass; in BaseSensorTestActivity()
/cts/tools/utils/
DCollectAllTests.java340 private static String getKnownFailure(final Class<?> testClass, in getKnownFailure() argument
342 return getAnnotation(testClass, testName, KNOWN_FAILURE); in getKnownFailure()
345 private static boolean isKnownFailure(final Class<?> testClass, in isKnownFailure() argument
347 return getAnnotation(testClass, testName, KNOWN_FAILURE) != null; in isKnownFailure()
350 private static boolean isSuppressed(final Class<?> testClass, in isSuppressed() argument
352 return getAnnotation(testClass, testName, SUPPRESSED_TEST) != null; in isSuppressed()
355 private static String getAnnotation(final Class<?> testClass, in getAnnotation() argument
358 Method testMethod = testClass.getMethod(testName, (Class[])null); in getAnnotation()
390 Class<?> testClass) { in addToTests() argument
393 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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java122 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTest() local
123 assertTrue(testClass + " failed.", runDeviceTests(DEVICE_OWNER_PKG, testClass)); in executeDeviceOwnerTest()
DCustomDeviceOwnerTest.java79 String testClass = INTENT_RECEIVER_PKG + ".OwnerChangedBroadcastTest"; in testOwnerChangedBroadcast() local
83 assertTrue(runDeviceTests(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
89 assertTrue(runDeviceTests(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DJarHostTest.java277 Class<?> testClass = loadClass(className); in loadTest() local
278 if (testClass == null) { in loadTest()
281 if (TestCase.class.isAssignableFrom(testClass)) { in loadTest()
282 TestCase testCase = (TestCase)testClass.newInstance(); in loadTest()
285 } else if (Test.class.isAssignableFrom(testClass)) { in loadTest()
286 Test test = (Test)testClass.newInstance(); in loadTest()
332 Class<?> testClass = cl.loadClass(className); in loadClass() local
333 return testClass; in loadClass()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorTestCase.java78 public TestClassNode(Class<?> testClass) { in TestClassNode() argument
79 mTestClass = testClass; in TestClassNode()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java114 private void printMemory(Class<?> testClass) { in printMemory() argument
157 Log.d(TAG, "Now executing : " + testClass.getName()); in printMemory()
/cts/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java1200 private static Map<String, Field> buildFieldMap(Class testClass) { in buildFieldMap() argument
1203 if (testClass.getSuperclass() != null) { in buildFieldMap()
1204 fieldMap.putAll(buildFieldMap(testClass.getSuperclass())); in buildFieldMap()
1208 for (Class interfaceClass : testClass.getInterfaces()) { in buildFieldMap()
1213 for (Field field : testClass.getDeclaredFields()) { in buildFieldMap()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...