Lines Matching full:keep
10 # Keep all junit3 classes and tests
11 -keep class !cr_allowunused,junit.** { *; }
12 -keep class !cr_allowunused,** extends junit.** { *; }
14 # Keep all junit4 and hamcrest classes and tests
15 -keep class !cr_allowunused,org.hamcrest.** { *; }
16 -keep class !cr_allowunused,org.junit.** { *; }
17 -keep class !cr_allowunused,* extends org.hamcrest.** { *; }
18 -keep class !cr_allowunused,* extends org.junit.** { *; }
19 -keep @**.RunWith class * { *; }
21 # Keep classes implementing ParameterProvider -- these will be instantiated
23 -keep class !cr_allowunused,** implements org.chromium.base.test.params.ParameterProvider {
27 # Keep all classes that are in test packages. There is no benefit in testing
30 -keep class !cr_allowunused,**.test.** { *; }
32 # Keep all interfaces that are mocked by Mockito. Since Mockito generates these
37 -keep class <2> {
44 -keep class <2> {
51 -keep class <2> {
58 -keep,allowobfuscation @interface org.chromium.build.annotations.MockedInTests
59 -keep @org.chromium.build.annotations.MockedInTests class ** {
63 # Keep all enum members since they might be reflectively called by JUnit4 runner
66 # Keep any annotation used by tests for instrumentation runner to list out