Age | Commit message (Collapse) | Author |
|
because apparently the tests may cause memory leaks.
If this CL stops the flakiness, we should consider the medium-term fix b/292520220.
Bug: 292296869
Test: atest --test-mapping libcore -- --module-arg 'CtsLibcoreTestCases:include-filter:org.apache.qetest'
The above command runs no test
Change-Id: Ic062fb556f7c75c979a16cbda1085ab4395ef27b
|
|
Adds @Test to test methods that are passing on Android.
The other tests need further to build / run / pass on Android.
{} blocks are added into a few files to fix the
SuspiciousIndentation Errorprone errors
Bug: 283931833
Test: atest CtsLibcoreTestCases:org.apache.qetest
Change-Id: Id68283b134bb5ca4fab2a9e3107b5a5bd16fc1dd
|
|
Upstream source:
https://github.com/apache/xalan-test
The apache XML version in AOSP is 2.7.1. However, it's 16 years old.
The xalan-j_2_7_3-rc10 version of test sources is used because
there wasn't a clear manual how to build the tests in 2.7.1,
and many bugs are fixed.
However, org.apache.xalan.trace package in xalan-java
has to be imported due to dependency from the tests.
The commands:
mkdir -p test/trace-src/org/apache/xalan/
cp -R $REPO/xalan-java/src/org/apache/xalan/trace/ test/trace-src/org/apache/xalan/
cp -R $REPO/xalan-test/java/ test/
cp -R $REPO/xalan-test/tests/ test/
cp -R $REPO/xalan-test/tools/ test/
find test/java/ -type f -name "*.class" -delete # remove the unnecessary .class files
Bug: 283931833
Test: N/A
Change-Id: I740301fd740923112d869dbdcdaf3171618427bc
|