1 # Keep everything for tests 2 -dontshrink 3 4 # But we may want to obfuscate if the main app gets obfuscated. 5 # This flag has been moved to the makefiles. 6 #-dontobfuscate 7 8 #-keep class * extends junit.framework.TestCase { 9 # public void test*(); 10 #} 11 12 #-keepclasseswithmembers class * { 13 # public static void run(); 14 # public static junit.framework.Test suite(); 15 #} 16 17 # some AllTests don't include run(). 18 #-keepclasseswithmembers class * { 19 # public static junit.framework.Test suite(); 20 #} 21 22 #-keep class * extends junit.framework.TestSuite 23 #-keep class * extends android.app.Instrumentation 24 #-keep class * extends android.test.TestSuiteProvider 25 26