Home
last modified time | relevance | path

Searched refs:testMethods (Results 1 – 25 of 85) sorted by relevance

1234

/aosp_15_r20/art/test/989-method-trace-throw/src/art/
H A DTest989.java25 static Set<Method> testMethods = new HashSet<>(); field in Test989
36 testMethods.add(Test989.class.getDeclaredMethod("doNothing"));
37 testMethods.add(Test989.class.getDeclaredMethod("doNothingNative"));
38 testMethods.add(Test989.class.getDeclaredMethod("throwA"));
39 testMethods.add(Test989.class.getDeclaredMethod("throwANative"));
40 testMethods.add(Test989.class.getDeclaredMethod("throwNativeException"));
41 testMethods.add(Test989.class.getDeclaredMethod("returnFloat"));
42 testMethods.add(Test989.class.getDeclaredMethod("returnFloatNative"));
43 testMethods.add(Test989.class.getDeclaredMethod("returnDouble"));
44 testMethods.add(Test989.class.getDeclaredMethod("returnDoubleNative"));
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
H A DNativeCryptoArgTest.java85 testMethods(filter, NullPointerException.class); in ecMethods()
88 testMethods(filter, IllegalArgumentException.class); in ecMethods()
91 testMethods(filter, IOException.class); in ecMethods()
102 testMethods(filter, NullPointerException.class); in macMethods()
109 testMethods(filter, NullPointerException.class); in macMethods()
133 testMethods(filter, NullPointerException.class); in sslMethods()
144 testMethods(filter, NullPointerException.class); in sslMethods()
147 testMethods(filter, null); in sslMethods()
177 testMethods(filter, NullPointerException.class); in evpMethods()
180 testMethods(filter, IllegalArgumentException.class); in evpMethods()
[all …]
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/
H A DNativeCryptoArgTest.java81 testMethods(filter, NullPointerException.class); in ecMethods()
84 testMethods(filter, IllegalArgumentException.class); in ecMethods()
87 testMethods(filter, IOException.class); in ecMethods()
98 testMethods(filter, NullPointerException.class); in macMethods()
105 testMethods(filter, NullPointerException.class); in macMethods()
129 testMethods(filter, NullPointerException.class); in sslMethods()
140 testMethods(filter, NullPointerException.class); in sslMethods()
143 testMethods(filter, null); in sslMethods()
178 testMethods(filter, NullPointerException.class); in evpMethods()
181 testMethods(filter, IllegalArgumentException.class); in evpMethods()
[all …]
/aosp_15_r20/external/junit/src/main/java/org/junit/internal/runners/
H A DJUnit4ClassRunner.java29 private final List<Method> testMethods; field in JUnit4ClassRunner
34 testMethods = getTestMethods(); in JUnit4ClassRunner()
58 for (Method method : testMethods) { in runMethods()
66 List<Method> testMethods = this.testMethods; in getDescription() local
67 for (Method method : testMethods) { in getDescription()
125 for (Iterator<Method> iter = testMethods.iterator(); iter.hasNext(); ) { in filter()
131 if (testMethods.isEmpty()) { in filter()
137 Collections.sort(testMethods, new Comparator<Method>() { in sort()
/aosp_15_r20/external/json-schema-validator/src/test/java/com/networknt/schema/
H A DMaximumValidatorPerfTest.java35 List<Method> testMethods = getTestMethods(testMethodsToBeExecuted); in testTime() local
37 executeTests(testMethods, 200000); in testTime()
54 List<Method> testMethods = new ArrayList<Method>(); in getTestMethods() local
63 testMethods.addAll(listOfMethodNames); in getTestMethods()
65 return testMethods; in getTestMethods()
78 testMethods.add(m); in getTestMethods()
81 return testMethods; in getTestMethods()
/aosp_15_r20/libcore/ojluni/src/test/java/text/testlib/
H A DIntlTest.java65 testMethods.put(name, method); in IntlTest()
98 Method m = testMethods.get(arg); in run()
111 testsToRun.addAll(testMethods.values()); in run()
259 for (String methodName : testMethods.keySet()) { in usage()
273 private final Map<String, Method> testMethods = new LinkedHashMap<>(); field in IntlTest
/aosp_15_r20/packages/modules/Connectivity/staticlibs/testutils/host/java/com/android/testutils/
DConnectivityTestTargetPreparer.kt125 val testMethods = mutableListOf<Pair<String, String>>() in <lambda>() constant
127 testMethods.add(CONNECTIVITY_CHECK_CLASS to "testCheckWifiSetup") in <lambda>()
130 testMethods.add(CARRIER_CONFIG_SETUP_CLASS to "testSetCarrierConfig") in <lambda>()
131 testMethods.add(CONNECTIVITY_CHECK_CLASS to "testCheckTelephonySetup") in <lambda>()
134 testMethods.forEach { in <lambda>()
/aosp_15_r20/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
H A DFlickerServiceDecorator.kt76 val testMethods = innerMethods.toMutableList() in <lambda>() constant
133 testMethods.addAll(flickerServiceMethodsFor[method]!!) in <lambda>()
138 return testMethods in <lambda>()
181 val testMethods = testClass.getAnnotatedMethods(Test::class.java) in <lambda>() constant
182 if (testMethods.size > 1) { in <lambda>()
/aosp_15_r20/external/junit/src/main/java/org/junit/experimental/theories/
H A DTheories.java161 … List<FrameworkMethod> testMethods = new ArrayList<FrameworkMethod>(super.computeTestMethods()); in computeTestMethods() local
163 testMethods.removeAll(theoryMethods); in computeTestMethods()
164 testMethods.addAll(theoryMethods); in computeTestMethods()
165 return testMethods; in computeTestMethods()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
H A DSensorCtsVerifierTestActivity.java110 ArrayList<Method> testMethods = new ArrayList<>(); in findTestMethods() local
116 testMethods.add(method); in findTestMethods()
119 return testMethods; in findTestMethods()
/aosp_15_r20/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java69 List<TestMethod> testMethods = new ArrayList<TestMethod>(); in getTests() local
72 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
75 return testMethods; in getTests()
/aosp_15_r20/external/testng/src/main/java/org/testng/
H A DSuiteRunner.java463 Collection<ITestNGMethod> testMethods = result.get(groupName); in getMethodsByGroups() local
464 if (null == testMethods) { in getMethodsByGroups()
465 testMethods = Lists.newArrayList(); in getMethodsByGroups()
466 result.put(groupName, testMethods); in getMethodsByGroups()
468 testMethods.add(m); in getMethodsByGroups()
/aosp_15_r20/external/testng/src/main/java/org/testng/internal/
H A DMethodSelectorDescriptor.java49 public void setTestMethods(List<ITestNGMethod> testMethods) { in setTestMethods() argument
50 m_methodSelector.setTestMethods(testMethods); in setTestMethods()
H A DRunInfo.java68 public void setTestMethods(List<ITestNGMethod> testMethods) { in setTestMethods() argument
70 mds.setTestMethods(testMethods); in setTestMethods()
H A DTestMethodWorker.java47 IMethodInstance[] testMethods, in TestMethodWorker() argument
56 m_methodInstances = testMethods; in TestMethodWorker()
/aosp_15_r20/external/testng/src/test/java/test/invokedmethodlistener/
H A DInvokedMethodNameListener.java12 final Set<String> testMethods = new HashSet<>(); field in InvokedMethodNameListener
26 testMethods.add(methodName); in afterInvocation()
H A DInvokedMethodListenerTest.java92 Assert.assertEquals(l.testMethods.size(), 1); in issue629_InvokedMethodDoesNotRecognizeConfigurationMethod()
93 Assert.assertTrue(l.testMethods.contains("a")); in issue629_InvokedMethodDoesNotRecognizeConfigurationMethod()
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/io/
H A DByteSinkTester.java42 private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class); field in ByteSinkTester
68 for (final Method method : testMethods) { in suiteForBytes()
H A DCharSinkTester.java38 private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class); field in CharSinkTester
53 for (final Method method : testMethods) { in suiteForString()
H A DCharSourceTester.java45 private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class); field in CharSourceTester
73 for (Method method : testMethods) { in suiteForString()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/io/
H A DByteSinkTester.java42 private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class); field in ByteSinkTester
68 for (final Method method : testMethods) { in suiteForBytes()
H A DCharSinkTester.java37 private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class); field in CharSinkTester
52 for (final Method method : testMethods) { in suiteForString()
H A DByteSourceTester.java50 private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class); field in ByteSourceTester
78 for (Method method : testMethods) { in suiteForBytes()
/aosp_15_r20/external/testng/src/main/java/org/testng/reporters/
H A DSuiteHTMLReporter.java286 private String dumpMethods(ITestNGMethod[] testMethods) { in dumpMethods() argument
288 if(null == testMethods || testMethods.length == 0) { in dumpMethods()
292 for (ITestNGMethod m : testMethods) { in dumpMethods()
/aosp_15_r20/libcore/ojluni/src/test/java/util/Arrays/
H A DCopyMethods.java384 Method[] testMethods = CopyMethods.class.getDeclaredMethods();
386 for (int i = 0; i < testMethods.length; i++) {
387 Method m = testMethods[i];

1234