Ying Wang | 3b2bdf1 | 2010-02-01 09:51:23 -0800 | [diff] [blame] | 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 | |