1 package org.robolectric.annotation; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.ElementType; 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.RetentionPolicy; 7 import java.lang.annotation.Target; 8 9 /** Annotation for Conscrypt modes in Robolectric. */ 10 @Documented 11 @Retention(RetentionPolicy.RUNTIME) 12 @Target({ElementType.PACKAGE, ElementType.TYPE, ElementType.METHOD}) 13 public @interface ConscryptMode { 14 15 /** 16 * Specifies the different supported Conscrypt modes. If ConscryptMode is ON, it will install 17 * Conscrypt. If it is OFF, it won't do that but either way BouncyCastle is still installed. 18 */ 19 enum Mode { 20 ON, 21 22 OFF, 23 } 24 value()25 Mode value(); 26 } 27