Home
last modified time | relevance | path

Searched refs:testMethod (Results 1 – 22 of 22) sorted by relevance

/aosp12/art/test/510-checker-try-catch/src/
H A DMain.java172 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 DTest910.java29 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 DTestPredicates.java54 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 DAssignableFrom.java29 public boolean apply(TestMethod testMethod) { in apply() argument
30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
H A DTestSuiteBuilder.java257 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 DTestGrouping.java71 for (Method testMethod : getTestMethods(testCase)) { in getTests()
72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
/aosp12/art/test/558-switch/src/
H A DMain.java18 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 DMain.java44 public static void testMethod() { in testMethod() method in Main
50 testMethod(); in main()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/
H A DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java165 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 DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java161 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 DMain.java22 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 DTestPredicatesTest.java47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation() local
48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
H A DTestSuiteBuilderTest.java174 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 DUiAutomatorTestRunner.java293 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 DBandwidthTestCase.java75 final Method testMethod = method; in runTest() local
80 runMethod(testMethod, tolerance, repetitive); in runTest()
/aosp12/art/test/530-checker-lse2/src/
H A DMain.java111 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 DMediaRecorderStateUnitTestTemplate.java55 public void runTestOnMethod(MediaRecorderMethodUnderTest testMethod) { in runTestOnMethod() argument
56 mMethodUnderTest = testMethod; in runTestOnMethod()
H A DMediaPlayerStateUnitTestTemplate.java79 public void runTestOnMethod(MediaPlayerMethodUnderTest testMethod) { in runTestOnMethod() argument
80 mMethodUnderTest = testMethod; in runTestOnMethod()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java782 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 DInstrumentationTestCase.java190 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 DAbstractExtendedMockitoTestCase.java431 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 DIpClientIntegrationTestCommon.java495 final Method testMethod = IpClientIntegrationTestCommon.class.getMethod(
497 mIsSignatureRequiredTest = testMethod.getAnnotation(SignatureRequiredTest.class) != null;