1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# Keep everything for tests
# This flag has been moved to the makefiles and is set for tests by default.
#-dontshrink
# But we may want to obfuscate if the main app gets obfuscated.
# This flag has been moved to the makefiles.
#-dontobfuscate
#-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
|