You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Loenko (JIRA)" <ji...@apache.org> on 2006/05/26 09:54:30 UTC

[jira] Closed: (HARMONY-488) tests.api.java.lang.StringTest is not independent

     [ http://issues.apache.org/jira/browse/HARMONY-488?page=all ]
     
Mikhail Loenko closed HARMONY-488:
----------------------------------

    Resolution: Invalid

see comment from the reporter

> tests.api.java.lang.StringTest is not independent
> -------------------------------------------------
>
>          Key: HARMONY-488
>          URL: http://issues.apache.org/jira/browse/HARMONY-488
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Minor

>
> tests.api.java.lang.StringTest passes all tests if run with the other luni tests, but has failures if run independently with junit or with:
>   ant -f modules/luni/make/build.xml -Dtest.case=tests.api.java.lang.StringTest test
> The failures are:
> 1) test_concatLjava_lang_String(tests.api.java.lang.StringTest)junit.framework.AssertionFailedError: should not be identical
>         at tests.api.java.lang.StringTest.test_concatLjava_lang_String(StringTest.java:274)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 2) test_getBytes(tests.api.java.lang.StringTest)junit.framework.AssertionFailedError: Wrong byte conversion 8859_1: 256
>         at tests.api.java.lang.StringTest.test_getBytes(StringTest.java:345)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 3) test_getBytesLjava_lang_String(tests.api.java.lang.StringTest)junit.framework.AssertionFailedError: invalid conversion: $(
>         t tests.api.java.lang.StringTest.test_getBytesLjava_lang_String(StringTest.java:462)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira