Fix NoSuchMethodError for unit tests

With all the code movement, some tests were found to break. Update the
proguard config so the appropriate methods can be referenced.

bug 3460695

Change-Id: I2fc9786cc54182ba8571d87947241dcd7b2e9995
This commit is contained in:
Todd Kennedy 2011-02-16 15:07:43 -08:00
parent ca6b75a1e6
commit da3c80b338

View File

@ -20,6 +20,11 @@
*** apply();
}
-keepclasseswithmembers class com.android.emailcommon.utility.Utility$CloseTraceCursorWrapper {
*** getTraceIfAvailable(android.database.Cursor);
*** log(android.database.Cursor);
}
-keep class * extends org.apache.james.mime4j.util.TempStorage
# Keep names that are used only by unit tests or by animators
@ -28,6 +33,10 @@
*** *Anim(...);
}
-keepclasseswithmembers class com.android.email.activity.setup.AccountSetupAccountType {
*** checkAccountInstanceLimit(com.android.email.mail.Store$StoreInfo);
}
-keepclasseswithmembers class com.android.email.GroupMessagingListener {
*** removeListener(com.android.email.MessagingListener);
}
@ -165,6 +174,12 @@
*** getShortcutSafeUri();
}
-keepclasseswithmembers class com.android.exchange.CalendarSyncEnabler {
<init>(android.content.Context);
*** enableEasCalendarSyncInternal();
*** showNotification(java.lang.String);
}
-keepclasseswithmembers class com.android.exchange.adapter.Parser {
*** resetInput(java.io.InputStream);
}