blob: 1f840bc21eb747b304273cde59367a39611a3fa1 [file] [log] [blame]
Ying Wang3b2bdf12010-02-01 09:51:23 -08001# Keep everything for tests
Mark Renouf99332f12014-09-09 20:08:46 -04002# This flag has been moved to the makefiles and is set for tests by default.
3#-dontshrink
Ying Wang7311a342013-08-21 18:32:49 -07004
5# But we may want to obfuscate if the main app gets obfuscated.
6# This flag has been moved to the makefiles.
7#-dontobfuscate
Ying Wang3b2bdf12010-02-01 09:51:23 -08008
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