Home
last modified time | relevance | path

Searched refs:EnableFlags (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/example/
DExampleSetFlagsRuleTest.java23 import android.platform.test.annotations.EnableFlags;
55 @EnableFlags(Flags.FLAG_FLAG_NAME3)
69 @EnableFlags(Flags.FLAG_FLAG_NAME3)
77 @EnableFlags({Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4})
DExampleFlagsParameterizedTest.java26 import android.platform.test.annotations.EnableFlags;
79 @EnableFlags(Flags.FLAG_FLAG_NAME3)
93 @EnableFlags(Flags.FLAG_FLAG_NAME3)
101 @EnableFlags({Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4})
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DSetFlagsRuleTestCommon.java24 import android.platform.test.annotations.EnableFlags;
45 @EnableFlags(Flags.FLAG_FLAG_NAME4)
50 @EnableFlags({Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4})
127 @EnableFlags(Flags.FLAG_FLAG_NAME3) in classAnnotationsAreHandled()
141 @EnableFlags(Flags.FLAG_FLAG_NAME3) in allowMultipleAnnotations()
157 @EnableFlags(Flags.FLAG_FLAG_NAME3) in allowMultipleOverlapingAnnotations()
255 @EnableFlags({Flags.FLAG_FLAG_NAME3, Flags.FLAG_FLAG_NAME4}) in conflictingClassAnnotationsFails()
283 @EnableFlags(Flags.FLAG_FLAG_NAME3) in canDuplicateFlagAcrossMethodAndClassAnnotations()
299 @EnableFlags(Flags.FLAG_FLAG_NAME3) in canSetFlagsWithClass()
329 @EnableFlags(Flags.FLAG_FLAG_NAME3) in canSetFlagsWithClassAndMethod()
DCheckFlagsRuleTest.java22 import android.platform.test.annotations.EnableFlags;
69 @EnableFlags("flag0") in usingEnableFlagsOnClassForDifferentFlagPasses()
109 @EnableFlags("flag1") in usingEnableFlagsOnClassForSameFlagFails()
DSetFlagsRuleClassRuleTest.java22 import android.platform.test.annotations.EnableFlags;
98 @EnableFlags(Flags.FLAG_FLAG_NAME3) in classAnnotatedFlagsDoNotNeedToBeWatched()
225 @EnableFlags(Flags.FLAG_FLAG_NAME3) in classAnnotatedFlagsCanBeReadBeforeTest()
243 @EnableFlags(Flags.FLAG_FLAG_NAME3) in nonClassAnnotedFlagsCanBeReadBeforeTest()
DAnnotationTestRuleHelper.java20 import android.platform.test.annotations.EnableFlags;
257 private static EnableFlags createEnableFlags(String[] value) { in createEnableFlags()
/platform_testing/libraries/annotations/src/android/platform/test/annotations/
DEnableFlags.java48 public @interface EnableFlags { annotation
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DAnnotationsRetriever.java23 import android.platform.test.annotations.EnableFlags;
326 private static final FlagsAnnotation<EnableFlags> sEnableFlags =
327 new FlagsAnnotation<>(EnableFlags.class) {
329 protected String[] getFlags(EnableFlags annotation) {