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

Side by Side Diff: testing/android/proguard_for_test.flags

Issue 2935503002: List Java Instru Test Information From JUnit Runner (Closed)
Patch Set: address nyquist comments Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/cronet/android/test/proguard.cfg ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is for proguard flags which are applied to the combined test and 5 # This file is for proguard flags which are applied to the combined test and
6 # tested code. Do not put any flags in this file which might affect the 6 # tested code. Do not put any flags in this file which might affect the
7 # correctness of the .apk we are testing, since it will apply to that .apk as 7 # correctness of the .apk we are testing, since it will apply to that .apk as
8 # well. 8 # well.
9 9
10 # Keep all junit3 tests 10 # Keep all junit3 tests
(...skipping 12 matching lines...) Expand all
23 *; 23 *;
24 } 24 }
25 25
26 # Keep any enum's value and valueOf method since they are reflectively called 26 # Keep any enum's value and valueOf method since they are reflectively called
27 # from JUnit4 runner 27 # from JUnit4 runner
28 -keepclassmembers enum * { 28 -keepclassmembers enum * {
29 public static **[] values(); 29 public static **[] values();
30 public static ** valueOf(java.lang.String); 30 public static ** valueOf(java.lang.String);
31 } 31 }
32 32
33 # Keey any annotation used by tests for instrumentation runner to list out
34 # test annotation information
35 -keep @interface android.support.test.**
36 -keep @interface org.chromium.base.test.**
37 -keep @interface org.junit.**
38 -keep @interface android.test.**
39
40 -keepattributes *Annotation*
41
33 # We have some "library class WebView depends on program class SslCertificate" 42 # We have some "library class WebView depends on program class SslCertificate"
34 # warnings, and they don't affect us. 43 # warnings, and they don't affect us.
35 -dontwarn android.webkit.WebView* 44 -dontwarn android.webkit.WebView*
OLDNEW
« no previous file with comments | « components/cronet/android/test/proguard.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698