Home
last modified time | relevance | path

Searched defs:testMethod (Results 1 – 25 of 254) sorted by relevance

1234567891011

/aosp_15_r20/cts/hostsidetests/appsearch/src/android/appsearch/cts/
H A DAppSearchHostTestBase.java47 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgA()
50 runDeviceTests(getDevice(), TARGET_PKG_A, TEST_CLASS_A, testMethod, userId, in runDeviceTestAsUserInPkgA() local
54 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runDeviceTestAsUserInPkgA()
68 protected void runStorageAugmenterDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runStorageAugmenterDeviceTestAsUserInPkgA()
72 testMethod, userId, DEFAULT_INSTRUMENTATION_TIMEOUT_MS)).isTrue(); in runStorageAugmenterDeviceTestAsUserInPkgA() local
75 protected void runContactsIndexerDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runContactsIndexerDeviceTestAsUserInPkgA()
89 protected void runEnterpriseContactsDeviceTestAsUserInPkgA(@Nonnull String testMethod, in runEnterpriseContactsDeviceTestAsUserInPkgA()
103 protected void runDeviceTestAsUserInPkgB(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgB()
106 runDeviceTests(getDevice(), TARGET_PKG_B, TEST_CLASS_B, testMethod, userId, in runDeviceTestAsUserInPkgB() local
/aosp_15_r20/packages/services/Car/tests/CarTestLibUnitTest/src/android/car/test/
DPermissionsCheckerRuleTest.java64 Description testMethod = newTestMethod(); in testNoAnnotation() local
75 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_onePermission() local
86 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_onePermissionTestThrows() local
100 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To", "Kill")); in testEnsureHasPermission_multiplePermissions() local
111 Description testMethod = newTestMethod(new EnsureHasPermissionAnnotation("To Kill")); in testEnsureHasPermission_permissionsAdoptedBefore() local
124 Description testMethod = Description.createTestDescription(SuperClass.class, "testIAm", in testEnsureHasPermission_annotatedClass() local
142 Description testMethod = Description.createTestDescription(SubClass.class, "testIAm", in testEnsureHasPermission_annotatedClassAndParent() local
/aosp_15_r20/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java164 String testMethod = metric.getKey(); in parseResult() local
205 String testMethod; // "testSingleCapture" field in CameraPerformanceTest.CtsMetric
222 String testMethod, in CtsMetric()
237 public boolean matches(String testMethod, String kpiName) { in matches()
285 public abstract Map<String, String> parse(String result, String testMethod); in parse()
287 protected Map<String, String> filter(List<CtsMetric> metrics, String testMethod) { in filter()
347 public Map<String, String> parse(String result, String testMethod) { in parse()
353 void parseToCtsMetrics(String result, String testMethod) { in parseToCtsMetrics()
443 public Map<String, String> parse(String result, String testMethod) { in parse()
/aosp_15_r20/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRuleTestCase.java148 Description testMethod = newTestMethod(); in testPassesWhenDeviceLevelIsInRange() local
165 Description testMethod = newTestMethod(); in testSkipsWhenDeviceLevelIsOutsideRange() local
199 Description testMethod) { in assertGetRequiredRange()
782 Description testMethod = newTestMethod(newAnnotationForLessThanT(REASON)); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local
800 Description testMethod = newTestMethod(newAnnotationForLessThanT(REASON)); in testThrewWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local
818 Description testMethod = newTestMethod(newAnnotationForLessThanT(REASON)); in testRanWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithLessThanT() local
863 Description testMethod = newTestMethod(); in testRanWhenRuleIsAtLeastXAndDeviceIsY() local
877 Description testMethod = newTestMethod(newAnnotationForAtLeast(annotationLevel, REASON)); in testRanWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithZ() local
891 Description testMethod = newTestMethod(); in testSkippedWhenRuleIsAtLeastXAndDeviceIsY() local
909 Description testMethod = newTestMethod(newAnnotationForAtLeast(annotationLevel, REASON)); in testSkippedWhenRuleIsAtLeastXDeviceIsYAndTestAnnotatedWithZ() local
/aosp_15_r20/external/cronet/base/test/android/junit/src/org/chromium/base/test/util/
H A DSkipCheckTest.java71 Method testMethod = in getAnnotationsForMethodNone() local
80 Method testMethod = UnannotatedBaseClass.class.getMethod("annotatedMethod", (Class[]) null); in getAnnotationsForMethodOnMethod() local
88 Method testMethod = AnnotatedBaseClass.class.getMethod("unannotatedMethod", (Class[]) null); in getAnnotationsForMethodOnClass() local
96 Method testMethod = in getAnnotationsForMethodOnSuperclass() local
105 Method testMethod = AnnotatedBaseClass.class.getMethod("annotatedMethod", (Class[]) null); in getAnnotationsOverlapping() local
/aosp_15_r20/external/libchrome/base/test/android/junit/src/org/chromium/base/test/util/
H A DSkipCheckTest.java88 Method testMethod = UnannotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodNone() local
97 Method testMethod = UnannotatedBaseClass.class.getMethod("annotatedMethod", in getAnnotationsForMethodOnMethod() local
106 Method testMethod = AnnotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodOnClass() local
115 Method testMethod = ExtendsAnnotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodOnSuperclass() local
124 Method testMethod = AnnotatedBaseClass.class.getMethod("annotatedMethod", in getAnnotationsOverlapping() local
/aosp_15_r20/external/testng/src/test/java/test/annotationtransformer/
H A DDataProviderTransformer.java16 Constructor testConstructor, Method testMethod) in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
27 Constructor testConstructor, Method testMethod) in transform()
32 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
H A DConfigurationTransformer.java16 Constructor testConstructor, Method testMethod) in transform()
22 Constructor testConstructor, Method testMethod) in transform()
30 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
34 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
H A DFactoryTransformer.java16 Constructor testConstructor, Method testMethod) in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
26 Constructor testConstructor, Method testMethod) in transform()
31 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
/aosp_15_r20/external/testng/src/main/java/org/testng/internal/annotations/
H A DJDK15AnnotationFinder.java138 Constructor<?> testConstructor, Method testMethod) { in transform()
143 m_transformer.transform((ITestAnnotation) a, testClass, testConstructor, testMethod); in transform() local
161 transformer2.transform((IDataProviderAnnotation) a, testMethod); in transform() local
168 transformer2.transform((IFactoryAnnotation) a, testMethod); in transform() local
210 Constructor<?> testConstructor, Method testMethod, Pair<Annotation, ?> p) { in findAnnotation()
/aosp_15_r20/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
H A DOptionalMethodTest.java36 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.DefaultClass
42 public abstract String testMethod(String arg); in testMethod() method in OptionalMethodTest.PublicParent
47 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.PrivateImpl
54 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.PrivateClass
/aosp_15_r20/external/testng/src/main/java/org/testng/internal/
H A DInvoker.java727 void collectResults(ITestNGMethod testMethod, Collection<ITestResult> results) { in collectResults()
974 private ParameterBag createParameters(ITestNGMethod testMethod, in createParameters()
1012 public List<ITestResult> invokeTestMethods(ITestNGMethod testMethod, in invokeTestMethods()
1193 private ITestResult registerSkippedTestResult(ITestNGMethod testMethod, Object instance, in registerSkippedTestResult()
1262 private ParameterBag handleParameters(ITestNGMethod testMethod, in handleParameters()
1304 private List<ITestResult> invokePooledTestMethods(ITestNGMethod testMethod, in invokePooledTestMethods()
1340 void handleInvocationResults(ITestNGMethod testMethod, in handleInvocationResults()
1426 private List<ITestResult> runWorkers(ITestNGMethod testMethod, in runWorkers()
1476 private String checkDependencies(ITestNGMethod testMethod, in checkDependencies()
1544 private boolean haveBeenRunSuccessfully(ITestNGMethod testMethod, ITestNGMethod[] methods) { in haveBeenRunSuccessfully()
[all …]
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/
H A DReachabilityStateStatsTests.java115 final String testMethod = "testHorizontalReachability"; in testHorizontalReachability() local
117 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod); in testHorizontalReachability() local
151 final String testMethod = "testVerticalReachability"; in testVerticalReachability() local
153 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod); in testVerticalReachability() local
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
H A DPerformanceHintManagerStatsTests.java138 final String testMethod = "testCreateHintSession"; in testCreateHintSessionStatsdApp() local
187 final String testMethod = "testCreateHintSession"; in testCreateHintSessionStatsdGame() local
257 final String testMethod = "testAdpfTidCleanup"; in testAdpfHintSessionTidCleanupIsPushed() local
327 final String testMethod = "testAdpfSessionSnapshotTwoAppsOn"; in testAdpfSessionSnapshotTwoAppsOnThenRestore() local
370 final String testMethod = "testAdpfSessionSnapshotTwoAppsOnKillOne"; in testAdpfSessionSnapshotTwoAppsOnKillOneThenRestore() local
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/
H A DMediaProjectionAtomsTests.java114 final String testMethod = "testCallbackOnStop"; in testMediaProjectionStateChanged_stoppedCapture() local
159 final String testMethod = "testCallbackOnStop"; in testMediaProjectionTargetChanged_stoppedCapture() local
205 final String testMethod = "testMediaProjectionPermissionDialogCancel"; in testMediaProjectionStateChanged_setupCancelled() local
207 DeviceUtils.runDeviceTestsOnStatsdApp(getDevice(), testClass, testMethod); in testMediaProjectionStateChanged_setupCancelled() local
/aosp_15_r20/external/aws-sdk-java-v2/test/ruleset-testing-core/src/main/java/software/amazon/awssdk/core/rules/testing/
H A DEndpointProviderTestCase.java23 private Supplier<Endpoint> testMethod; field in EndpointProviderTestCase
26 public EndpointProviderTestCase(Supplier<Endpoint> testMethod, Expect expect) { in EndpointProviderTestCase()
35 public void setTestMethod(Supplier<Endpoint> testMethod) { in setTestMethod()
/aosp_15_r20/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
H A DBaseBlobStoreHostTest.java63 protected void runDeviceTest(String testPkg, String testClass, String testMethod) in runDeviceTest()
68 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser()
73 protected void runDeviceTest(String testPkg, String testClass, String testMethod, in runDeviceTest()
78 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
H A DSensorCtsVerifierTestActivity.java76 Method testMethod = testMethodIt.next(); in executeTests() local
122 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest()
164 public TestNode(Method testMethod) { in TestNode()
/aosp_15_r20/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
H A DCddCoverage.java42 public void addCoverage(String cddRequirementId, TestMethod testMethod) { in addCoverage()
82 public void addTestMethod(TestMethod testMethod) { in addTestMethod()
96 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod()
/aosp_15_r20/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/junit/
H A DUtils.java59 static String inputsDirectoryResourcePath(Class<?> testClass, Method testMethod) { in inputsDirectoryResourcePath()
73 Class<?> testClass, Method testMethod, Path baseDir) { in inputsDirectorySourcePath()
103 static Path generatedCorpusPath(Class<?> testClass, Method testMethod) { in generatedCorpusPath()
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/
H A DThermalPowerManagerStatsTests.java100 final String testMethod = "testGetThermalHeadroom"; in testThermalHeadroomCalledIsPushed() local
129 final String testMethod = "testGetCurrentThermalStatus"; in testThermalStatusCalledIsPushed() local
155 final String testMethod = "testGetThermalHeadroomThresholds"; in testThermalHeadroomThresholdsCalledIsPushed() local
/aosp_15_r20/cts/hostsidetests/angle/src/android/angle/cts/
H A DCtsAngleDeveloperOptionHostTest.java167 final String testMethod = getTestMethod(getDevice()); in testUseDefaultDriver() local
221 final String testMethod = getTestMethod(getDevice()); in testSettingsLengthMismatch() local
244 final String testMethod = getTestMethod(getDevice()); in testUseInvalidDriverSetting() local
/aosp_15_r20/external/junit-params/src/main/java/junitparams/internal/
H A DTestMethod.java51 TestMethod testMethod = new TestMethod(frameworkMethod, testClass); in listFrom() local
70 private boolean hasTheSameNameAsFrameworkMethod(TestMethod testMethod) { in hasTheSameNameAsFrameworkMethod()
74 private boolean hasTheSameParameterTypesAsFrameworkMethod(TestMethod testMethod) { in hasTheSameParameterTypesAsFrameworkMethod()
/aosp_15_r20/art/test/910-methods/src/art/
H A DTest910.java44 private static void testMethod(String className, String methodName, Class<?>... types) in testMethod() method in Test910
50 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() method in Test910
56 private static void testMethod(Method m, Class<?> base, boolean printAll) { in testMethod() method in Test910
/aosp_15_r20/external/junit/src/main/java/org/junit/internal/runners/statements/
H A DInvokeMethod.java7 private final FrameworkMethod testMethod; field in InvokeMethod
10 public InvokeMethod(FrameworkMethod testMethod, Object target) { in InvokeMethod()

1234567891011