/aosp12/art/test/510-checker-try-catch/src/ |
H A D | Main.java | 172 testMethod("testUseAfterCatch_int"); in main() 173 testMethod("testUseAfterCatch_long"); in main() 174 testMethod("testUseAfterCatch_float"); in main() 175 testMethod("testUseAfterCatch_double"); in main() 176 testMethod("testCatchPhi_const"); in main() 177 testMethod("testCatchPhi_int"); in main() 178 testMethod("testCatchPhi_long"); in main() 179 testMethod("testCatchPhi_float"); in main() 180 testMethod("testCatchPhi_double"); in main() 181 testMethod("testCatchPhi_singleSlot"); in main() [all …]
|
/aosp12/art/test/910-methods/src/art/ |
H A D | Test910.java | 29 testMethod("java.lang.Object", "toString"); in doTest() 30 testMethod("java.lang.String", "charAt", int.class); in doTest() 31 testMethod("java.lang.Math", "sqrt", double.class); in doTest() 32 testMethod("java.util.List", "add", Object.class); in doTest() 34 testMethod(getProxyClass(), "run"); in doTest() 38 testMethod(findSyntheticMethod(), NestedSynthetic.class, false); in doTest() 41 private static void testMethod(String className, String methodName, Class<?>... types) in testMethod() method in Test910 44 testMethod(base, methodName, types); in testMethod() 47 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() method in Test910 50 testMethod(m, base, true); in testMethod() [all …]
|
/aosp12/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestPredicates.java | 54 public boolean apply(TestMethod testMethod) { in apply() argument 55 return testMethod.getAnnotation(annotationClass) != null || in apply() 56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
|
H A D | AssignableFrom.java | 29 public boolean apply(TestMethod testMethod) { in apply() argument 30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
|
H A D | TestSuiteBuilder.java | 257 private void addTest(TestMethod testMethod) throws Exception { in addTest() argument 258 addSuiteIfNecessary(testMethod.getEnclosingClassname()); in addTest() 259 suiteForCurrentClass.addTest(testMethod.createTest()); in addTest()
|
H A D | TestGrouping.java | 71 for (Method testMethod : getTestMethods(testCase)) { in getTests() 72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
|
/aosp12/art/test/558-switch/src/ |
H A D | Main.java | 18 public static boolean testMethod(int statusCode) { in testMethod() method in Main 31 if (!testMethod(301)) { in main()
|
/aosp12/art/test/490-checker-inline/src/ |
H A D | Main.java | 44 public static void testMethod() { in testMethod() method in Main 50 testMethod(); in main()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/ |
H A D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 165 for (Method testMethod : loadedClass.getMethods()) { in isTestClass() 166 if (testMethod.isAnnotationPresent(org.junit.Test.class)) { in isTestClass() 191 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod() 192 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/ |
H A D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 161 for (Method testMethod : loadedClass.getMethods()) { in isTestClass() 162 if (testMethod.isAnnotationPresent(Test.class)) { in isTestClass() 188 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod() 189 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
|
/aosp12/art/test/647-sinking-catch/src/ |
H A D | Main.java | 22 public static void testMethod(String method) throws Exception { in testMethod() method in Main 36 testMethod("foo"); in main()
|
/aosp12/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | TestPredicatesTest.java | 47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local 48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
|
H A D | TestSuiteBuilderTest.java | 174 public boolean apply(TestMethod testMethod) { in testsWhoseNameContains() 175 return testMethod.getName().contains(string); in testsWhoseNameContains()
|
/aosp12/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 293 Method testMethod = null; in startTest() local 295 testMethod = test.getClass().getMethod(testName); in startTest() 297 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest() 298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
|
/aosp12/frameworks/base/core/tests/utillib/src/android/test/ |
H A D | BandwidthTestCase.java | 75 final Method testMethod = method; in runTest() local 80 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/aosp12/art/test/530-checker-lse2/src/ |
H A D | Main.java | 111 private float testMethod() { in testMethod() method in Main 210 r = t.testMethod(); in main()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaRecorderStateUnitTestTemplate.java | 55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument 56 mMethodUnderTest = testMethod; in runTestOnMethod()
|
H A D | MediaPlayerStateUnitTestTemplate.java | 79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument 80 mMethodUnderTest = testMethod; in runTestOnMethod()
|
/aosp12/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 782 Method testMethod = null; in startTest() local 784 testMethod = test.getClass().getMethod(testName); in startTest() 786 if (testMethod.isAnnotationPresent(RepetitiveTest.class)) { in startTest() 787 int numIterations = testMethod.getAnnotation( in startTest()
|
/aosp12/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestCase.java | 190 final Method testMethod = method; in runTest() local 195 runMethod(testMethod, tolerance, repetitive); in runTest()
|
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
H A D | AbstractExtendedMockitoTestCase.java | 431 Method testMethod = AbstractExtendedMockitoTestCase.this.getClass() in apply() local 433 ExpectWtf expectWtfAnnotation = testMethod.getAnnotation(ExpectWtf.class); in apply()
|
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
H A D | IpClientIntegrationTestCommon.java | 495 final Method testMethod = IpClientIntegrationTestCommon.class.getMethod( 497 mIsSignatureRequiredTest = testMethod.getAnnotation(SignatureRequiredTest.class) != null;
|