blob: 4481a1bab8c8f0f5086c1dcb047eeae90748ab39 [file] [log] [blame]
Ying Wang3b2bdf12010-02-01 09:51:23 -08001# Keep everything for tests
Ying Wang7311a342013-08-21 18:32:49 -07002-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
Ying Wang3b2bdf12010-02-01 09:51:23 -08007
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