Home
last modified time | relevance | path

Searched refs:SwitchTargetSdkVersionRule (Results 1 – 11 of 11) sorted by relevance

/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java58 public abstract class SwitchTargetSdkVersionRule implements TestRule { class
88 private SwitchTargetSdkVersionRule() { in SwitchTargetSdkVersionRule() method in SwitchTargetSdkVersionRule
116 private static class SwitchVMRuntimeUsingReflection extends SwitchTargetSdkVersionRule {
153 private static class VMRuntimeNotSupported extends SwitchTargetSdkVersionRule {
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DRetentionPolicyTest.java26 import libcore.junit.util.SwitchTargetSdkVersionRule;
50 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
93 @SwitchTargetSdkVersionRule.TargetSdkVersion(23)
105 @SwitchTargetSdkVersionRule.TargetSdkVersion(24)
/libcore/test-rules/src/test/java/libcore/junit/util/
DSwitchTargetSdkVersionRuleTest.java22 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
36 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
DEnableDeprecatedBouncyCastleAlgorithmsRuleTest.java19 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
42 .outerRule(SwitchTargetSdkVersionRule.getInstance())
/libcore/luni/src/test/java/libcore/java/io/
DObjectStreamClassTest.java25 import libcore.junit.util.SwitchTargetSdkVersionRule;
26 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
42 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java25 import libcore.junit.util.SwitchTargetSdkVersionRule;
26 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
34 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
DThrowableTest.java24 import libcore.junit.util.SwitchTargetSdkVersionRule;
25 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
33 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
DOldRuntimeTest.java29 import libcore.junit.util.SwitchTargetSdkVersionRule;
30 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
40 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamClassTest.java36 import libcore.junit.util.SwitchTargetSdkVersionRule;
37 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
44 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java36 import libcore.junit.util.SwitchTargetSdkVersionRule;
48 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();
171 @SwitchTargetSdkVersionRule.TargetSdkVersion(30)
183 @SwitchTargetSdkVersionRule.TargetSdkVersion(29)
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java26 import libcore.junit.util.SwitchTargetSdkVersionRule;
27 import libcore.junit.util.SwitchTargetSdkVersionRule.TargetSdkVersion;
38 public TestRule switchTargetSdkVersionRule = SwitchTargetSdkVersionRule.getInstance();