Mark | 53e71c3 | 2023-01-13 07:00:25 +0000 | [diff] [blame] | 1 | # Exclude some test prefixes, otherwise the classes reference below can't find |
| 2 | # them after jarjared. |
| 3 | android\.compat\..+ |
| 4 | androidx\.test\..+ |
| 5 | com\.android\.frameworks\.tests\..+ |
| 6 | com\.android\.testutils\..+ |
| 7 | com\.android\.dx\.mockito\..+ |
| 8 | com\.android\.internal\.compat\..+ |
| 9 | com\.android\.internal\.org\.bouncycastle\..+ |
| 10 | kotlin\.test\..+ |
| 11 | kotlin\.reflect\..+ |
| 12 | org\.junit\..+ |
| 13 | org\.mockito\..+ |
| 14 | |
| 15 | # Auto-jarjar-gen can't handle kotlin object expression, exclude the tests which use |
| 16 | # object expressions. |
| 17 | # |
| 18 | # For example: Illegal class access: |
| 19 | # 'android.net.connectivity.com.android.net.module.util.TrackRecordTest' attempting to access |
| 20 | # 'com.android.networkstack.tethering.util.TRTInterpreter' (declaration of |
| 21 | # 'android.net.connectivity.com.android.net.module.util.TrackRecordTest' ... |
| 22 | # |
| 23 | # In coverage test, TRTInterpreter don't be jarjar'ed to |
| 24 | # android.net.connectivity* by frameworks-net-tests-jarjar-rules instead it is |
| 25 | # jarjar'ed by follow up TetheringTestsJarJarRules. |
| 26 | # TODO(b/269259216): remove this after fixing Auto-jarjar-gen. |
| 27 | com\.android\.net\.module\.util\.TrackRecord.* |