2010-02-01 18:51:23 +01:00
|
|
|
# Keep everything for tests
|
2013-08-22 03:32:49 +02:00
|
|
|
-dontshrink
|
|
|
|
|
|
|
|
# But we may want to obfuscate if the main app gets obfuscated.
|
|
|
|
# This flag has been moved to the makefiles.
|
|
|
|
#-dontobfuscate
|
2010-02-01 18:51:23 +01:00
|
|
|
|
|
|
|
#-keep class * extends junit.framework.TestCase {
|
|
|
|
# public void test*();
|
|
|
|
#}
|
|
|
|
|
|
|
|
#-keepclasseswithmembers class * {
|
|
|
|
# public static void run();
|
|
|
|
# public static junit.framework.Test suite();
|
|
|
|
#}
|
|
|
|
|
|
|
|
# some AllTests don't include run().
|
|
|
|
#-keepclasseswithmembers class * {
|
|
|
|
# public static junit.framework.Test suite();
|
|
|
|
#}
|
|
|
|
|
|
|
|
#-keep class * extends junit.framework.TestSuite
|
|
|
|
#-keep class * extends android.app.Instrumentation
|
|
|
|
#-keep class * extends android.test.TestSuiteProvider
|
|
|
|
|