diff options
| author | 2018-05-29 17:28:22 +0900 | |
|---|---|---|
| committer | 2018-05-30 10:23:59 +0900 | |
| commit | 9f52c2da2401fb67ae2a6c71246a84da2040f7d2 (patch) | |
| tree | fc285b9de0372fc548661c31665d3c7a10006b45 | |
| parent | f98f8a4c6c70ed459d04874796c5c0744100c8e8 (diff) | |
Disable hidden API checks on unit tests
Tests still fail with NoSuchMethodError / NoSuchFieldError but it would
be expected without this option.
Test: tests build, although they fail as much as previously
Merged-In: I0e4517312cac9b37537eee55eafd811aff531ea8
Merged-In: I012a1ce8483f5fdddf60cfd33ea4303d72455fca
Change-Id: I25e225212fb3b3bb90ddfb66d9bd92b3efd1a4cd
| -rw-r--r-- | core/tests/coretests/AndroidTest.xml | 1 | ||||
| -rw-r--r-- | tests/net/AndroidTest.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/tests/coretests/AndroidTest.xml b/core/tests/coretests/AndroidTest.xml index 23d70b8dedd4..4b70cda87055 100644 --- a/core/tests/coretests/AndroidTest.xml +++ b/core/tests/coretests/AndroidTest.xml @@ -23,5 +23,6 @@ <test class="com.android.tradefed.testtype.AndroidJUnitTest" > <option name="package" value="com.android.frameworks.coretests" /> <option name="runner" value="android.support.test.runner.AndroidJUnitRunner" /> + <option name="hidden-api-checks" value="false"/> </test> </configuration> diff --git a/tests/net/AndroidTest.xml b/tests/net/AndroidTest.xml index f8ecc6b80cce..6e020a3daa2b 100644 --- a/tests/net/AndroidTest.xml +++ b/tests/net/AndroidTest.xml @@ -23,5 +23,6 @@ <test class="com.android.tradefed.testtype.AndroidJUnitTest" > <option name="package" value="com.android.frameworks.tests.net" /> <option name="runner" value="android.support.test.runner.AndroidJUnitRunner" /> + <option name="hidden-api-checks" value="false"/> </test> </configuration> |