Home
last modified time | relevance | path

Searched refs:frameworkMethod (Results 1 – 2 of 2) sorted by relevance

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DFrameworkMethodWithParameter.java35 public FrameworkMethodWithParameter(FrameworkMethod frameworkMethod, Object injectedParam) { in FrameworkMethodWithParameter() argument
36 super(frameworkMethod.getMethod()); in FrameworkMethodWithParameter()
37 mWrappedFrameworkMethod = frameworkMethod; in FrameworkMethodWithParameter()
DBedsteadJUnit4.java661 FrameworkMethod frameworkMethod, Stream<FrameworkMethod> expandedMethods) { in generatePolicyArgumentTests() argument
665 frameworkMethod.getMethod().getAnnotation(PolicyAppliesTest.class); in generatePolicyArgumentTests()
667 frameworkMethod.getMethod().getAnnotation(PolicyDoesNotApplyTest.class); in generatePolicyArgumentTests()
669 frameworkMethod.getMethod().getAnnotation(CanSetPolicyTest.class); in generatePolicyArgumentTests()
671 frameworkMethod.getMethod().getAnnotation(CannotSetPolicyTest.class); in generatePolicyArgumentTests()
741 FrameworkMethod frameworkMethod, Set<?> validArguments) { in applyPolicyArgumentParameter() argument
744 expandedMethods.add(new FrameworkMethodWithParameter(frameworkMethod, arg)); in applyPolicyArgumentParameter()
749 private static Stream<FrameworkMethod> applyStringTestParameter(FrameworkMethod frameworkMethod, in applyStringTestParameter() argument
752 (i) -> new FrameworkMethodWithParameter(frameworkMethod, i) in applyStringTestParameter()
756 private static Stream<FrameworkMethod> applyIntTestParameter(FrameworkMethod frameworkMethod, in applyIntTestParameter() argument
[all …]