Dear George,
I have tried to run the test cases with Harmony code (2006-02-13). Here
is what I have found:
1. In the ant script: compile-tests task reports warning: unmappable
character for encoding GB18030 when I execute the script on my WinXP-SP2
(Simplified-Chinese version)
== Suggest: add attribute encoding=iso-8859-1 for javac task
2. Two tests fail in tests.api.java.net.URLTest:
test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String
test_getAuthority
== Due to a bug (JIRA 60) has been fixed, suggest to update test cases
accordingly
3. I'm investigating other testing failures/errors, and will post
further comments soon. :-)
Richard Liang
China Software Development Lab, IBM
George Harley (JIRA) wrote:
[ http://issues.apache.org/jira/browse/HARMONY-57?page=all ]
George Harley updated HARMONY-57:
-
Attachment: Harmony-Unit-Tests.zip
The contribution zip.
Contribution of unit test code for a number of components
-
Key: HARMONY-57
URL: http://issues.apache.org/jira/browse/HARMONY-57
Project: Harmony
Type: Test
Components: Contributions
Environment: All
Reporter: George Harley
Attachments: Harmony-Unit-Tests.zip
Zip file containing JUnit tests for the following Harmony components :
* archive
* luni
* nio_char
* text
The contents of this zip have been laid out with the current classlib directory structure of the Apache Harmony SVN repository in mind. A version of enhanced/classlib/trunk/make/build-java.xml is included containing new Ant targets to compile and run the tests.
Some of the tests depend on the availablity of additional resources (text files, jars, etc). These resources are included in the zip along with configuration instructions.
A small number of the 3000+ test cases are known to fail when run against a built Harmony. The identities of these tests, plus some additional information on them have been listed in the file ZIP_EXTRACT_DIR/Harmony/Harmony_Tests/src/test/resources/config/jcltest-excludes.xml . This file can be used during the running of the tests to purposely exclude the set of known failures. Information on how this is accomplished is also included.