summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-07-04 11:36:23 +0100
committerNeil Fuller <nfuller@google.com>2019-07-08 15:53:50 +0100
commit6fe0e9eaed80b7d3fc60b981d3a767768a8d282b (patch)
tree512ea396a97e0faddfc4261fe811419fb6563f6b /annotations/generate_annotated_java_files.py
parent4384bb116d86d46cf9099c18965cabc030590db2 (diff)
Minimal fix for ControlTest (attempt 2)
Make minimal changes to ControlTest to get it passing; ControlTest is not loaded by the System ClassLoader on Android so needs to be changed. Now fixed, the test can be removed from the knownfailures.txt list. This commit fixes up ControlTest.test_needsReload_LStringLLocaleLStringLClassLoaderResourceBundleJ with minimal changes. The original intent of the test wasn't obvious in some places and those lines have been removed. Previously the change broke on the ART build bots but also exited early due to a hardcoded "return". This return has been removed and replaced with a fail(). Tested for the ART build bots with an approximation of their vogar commandline: vogar --toolchain d8 --language CUR --expectations art/tools/libcore_failures.txt \ --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jar \ --classpath out/target/common/obj/JAVA_LIBRARIES/jsr166-tests_intermediates/classes.jar \ --classpath out/target/common/obj/JAVA_LIBRARIES/mockito-target_intermediates/classes.jar \ org.apache.harmony.tests.java.util.ControlTest Test: atest CtsLibcoreTestCases Test: See vogar details above Bug: 13747957 Bug: 28686280 Change-Id: Ib6c24a6d977a4197350a3db1299c76fa4ac5fbdf
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions