harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-488) tests.api.java.lang.StringTest is not independent
Date Tue, 23 May 2006 10:50:30 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-488?page=comments#action_12412908 ] 

Mark Hindess commented on HARMONY-488:
--------------------------------------

Oops.  Please close this JIRA.  This StringTest is excluded - the "passes all tests" I was
seeing was the other StringTest.

As penance, I ran all the (non-excluded!) tests with junit forkmode=perTest and they all pass
so there really are no issues like this in this test or any other.


> 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


Mime
View raw message