Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceJUnit4ClassRunnerTest.kt67 .fireTestStarted(ArgumentMatchers.argThat { it.methodName.contains("FaaS") }) in <lambda>()
70 ArgumentMatchers.argThat { it.description.methodName.contains("FaaS") } in <lambda>()
73 .fireTestFinished(ArgumentMatchers.argThat { it.methodName.contains("FaaS") }) in <lambda>()
86 .fireTestStarted(ArgumentMatchers.argThat { it.methodName.contains("FaaS") }) in <lambda>()
89 ArgumentMatchers.argThat { it.description.methodName.contains("FaaS") } in <lambda>()
92 .fireTestFinished(ArgumentMatchers.argThat { it.methodName.contains("FaaS") }) in <lambda>()
DLegacyFlickerJUnit4ClassRunnerTest.kt141 argThat { description -> description.methodName.contains("flakyTest") } in <lambda>()
158 verify(notifier).fireTestStarted(argThat { it.methodName.contains("test") }) in <lambda>()
159 verify(notifier).fireTestFinished(argThat { it.methodName.contains("test") }) in <lambda>()
160 verify(notifier, atLeast(1)).fireTestStarted(argThat { it.methodName.contains("FaaS") }) in <lambda>()
161 verify(notifier, atLeast(1)).fireTestFinished(argThat { it.methodName.contains("FaaS") }) in <lambda>()
176 verify(notifier, atLeast(2)).fireTestStarted(argThat { it.methodName.contains("FaaS") }) in <lambda>()
178 .fireTestAssumptionFailed(argThat { it.description.methodName.contains("FaaS") }) in <lambda>()
179 verify(notifier, atLeast(2)).fireTestFinished(argThat { it.methodName.contains("FaaS") }) in <lambda>()
194 verify(notifier, atLeast(2)).fireTestStarted(argThat { it.methodName.contains("FaaS") }) in <lambda>()
196 .fireTestAssumptionFailed(argThat { it.description.methodName.contains("FaaS") }) in <lambda>()
[all …]
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicFactory.java201 String methodName = ruleConditionJSONObject.getString(METHOD_NAME); in extractRuleConditionList() local
203 if (methodName.startsWith("!")) { in extractRuleConditionList()
204 methodName = methodName.substring(1); // remove negation from method name string in extractRuleConditionList()
213 ruleConditions.add(new BusinessLogicRuleCondition(methodName, methodArgs, negated)); in extractRuleConditionList()
219 ruleConditions.add(new BusinessLogicRuleCondition(methodName, methodArgs, negated)); in extractRuleConditionList()
232 String methodName = ruleActionJSONObject.getString(METHOD_NAME); in extractRuleActionList() local
239 ruleActions.add(new BusinessLogicRuleAction(methodName, methodArgs)); in extractRuleActionList()
245 ruleActions.add(new BusinessLogicRuleAction(methodName, methodArgs)); in extractRuleActionList()
DBusinessLogic.java300 public BusinessLogicRuleCondition(String methodName, List<String> methodArgs, in BusinessLogicRuleCondition() argument
302 mMethodName = methodName; in BusinessLogicRuleCondition()
327 public BusinessLogicRuleAction(String methodName, List<String> methodArgs) { in BusinessLogicRuleAction() argument
328 mMethodName = methodName; in BusinessLogicRuleAction()
DBusinessLogicExecutor.java192 protected abstract ResolvedMethod getResolvedMethod(Class cls, String methodName, in getResolvedMethod() argument
/platform_testing/libraries/flag-helpers/junit/src/android/platform/test/flag/junit/
DDeviceFlagsValueProvider.java88 String methodName = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, simpleFlagName); in getBoolean() local
92 Method method = flagsClass.getMethod(methodName); in getBoolean()
116 methodName), in getBoolean()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java163 public void setTestClassName(String className, String methodName) { in setTestClassName() argument
165 addTestClassByName(className, methodName); in setTestClassName()
168 void addTestClassByName(final String className, final String methodName) { in addTestClassByName() argument
181 test = (Test) testClass.getConstructor(String.class).newInstance(methodName); in addTestClassByName()
193 throw new RuntimeException("No tests found in " + className + "#" + methodName); in addTestClassByName()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DLegacyFlickerServiceDecorator.kt116 stackTrace.any { it.methodName == "validateInstanceMethods" } || in shouldComputeTestMethods()
151 val methodName = filterComponents.drop(1).first() in getFiltersFromArguments() constant
153 result[className] = methodName.startsWith(FAAS_METRICS_PREFIX) in getFiltersFromArguments()
DFlickerServiceDecorator.kt149 stackTrace.any { it.methodName == "validateInstanceMethods" } || in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DArtifactSaverRule.kt55 var suffix = description?.methodName in getClassAndMethodName()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java221 final String methodName = description.getMethodName(); in testFinished() local
224 methodName == null ? TESTCASE_NAME_UNKNOWN : methodName); in testFinished()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/
DSecurityTestCase.java344 String methodName = stacktraces[stackDepth].getMethodName(); in buildMetricsReportLog() local
345 String classMethodName = String.format("%s#%s", className, methodName); in buildMetricsReportLog()
348 String streamName = methodName.replaceAll("(\\p{Upper})", "_$1").toLowerCase(); in buildMetricsReportLog()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java347 String methodName = description.getMethodName(); in formatDescription() local
348 return methodName == null ? className : String.join("#", className, methodName); in formatDescription()
/platform_testing/libraries/motion/src/platform/test/motion/
DMotionTestRule.kt69 testMethodName = description.methodName in <lambda>()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java551 private List<FrameworkMethod> getMethodNameMatcher(String methodName) { in getMethodNameMatcher() argument
556 f -> ((FrameworkMethod) f).getName().contains(methodName))); in getMethodNameMatcher()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DSetFlagsRule.java391 String methodName = getFlagMethodName(flag);
396 featureFlagsImpl.getClass().getMethod(methodName).invoke(featureFlagsImpl);
410 methodName, featureFlagsImpl.getClass().getName()),
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/
DFilmstripTest.kt48 .assertGoldenImage(testName.methodName) in assertFilmstripRendering()
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/
DInstrumentationResultProtoParserTest.java1103 String methodName, in getTestInfoProto() argument
1122 ResultsBundleEntry.newBuilder().setKey("test").setValueString(methodName).build()); in getTestInfoProto()