Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8464)

Unified Diff: components/cronet/android/test/proguard.cfg

Issue 2626523003: Cronet: a framework for providing alternative Cronet implementations (Closed)
Patch Set: Fixed JavaDoc links Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/test/proguard.cfg
diff --git a/components/cronet/android/test/proguard.cfg b/components/cronet/android/test/proguard.cfg
index 22b0db07f95b327dcdcf3850cee91d03f690653b..1d7d9ed76ffcfcab63150c00aceaca8774bbc143 100644
--- a/components/cronet/android/test/proguard.cfg
+++ b/components/cronet/android/test/proguard.cfg
@@ -11,6 +11,10 @@
-dontwarn android.support.test.runner.MonitoringInstrumentation
+# Do not obfuscate this class for testing since some of the tests check the class
+# name in order to check that an instantiated engine is the Java one.
+-keep class org.chromium.net.impl.JavaCronetEngine
pauljensen 2017/01/20 17:13:36 Instead of checking the name, why not just do "ins
kapishnikov 2017/01/20 21:48:39 This is a good point. Currently smoke tests only r
+
# These classes should be explicitly kept to avoid failure if
# class/merging/horizontal proguard optimization is enabled.
# NOTE: make sure that only test classes are added to this list.

Powered by Google App Engine
This is Rietveld 408576698