1 # Keep everything for tests 2 -dontshrink -dontobfuscate 3 4 #-keep class * extends junit.framework.TestCase { 5 # public void test*(); 6 #} 7 8 #-keepclasseswithmembers class * { 9 # public static void run(); 10 # public static junit.framework.Test suite(); 11 #} 12 13 # some AllTests don't include run(). 14 #-keepclasseswithmembers class * { 15 # public static junit.framework.Test suite(); 16 #} 17 18 #-keep class * extends junit.framework.TestSuite 19 #-keep class * extends android.app.Instrumentation 20 #-keep class * extends android.test.TestSuiteProvider 21 22