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