You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/04/15 11:17:00 UTC

[jira] Updated: (HARMONY-352) tests/api/java/util/regex/PatternSyntaxExceptionTest is excluded

     [ http://issues.apache.org/jira/browse/HARMONY-352?page=all ]

Mark Hindess updated HARMONY-352:
---------------------------------

    Attachment: fix.patternsyntaxexceptiontest.diff

This is a fix for the behaviour the test is checking for.  The expected behaviour now matches the RI.

It also fixes the ordering of arguments to assertEquals to include the expected value first so we get less confusing error messages.

It changes the assertTrue statements to assertEquals. (to get better error messages).

Finally, it fixes the index in the exception thrown for one of the tests in order to match the RI behaviour.


> tests/api/java/util/regex/PatternSyntaxExceptionTest is excluded
> ----------------------------------------------------------------
>
>          Key: HARMONY-352
>          URL: http://issues.apache.org/jira/browse/HARMONY-352
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: fix.patternsyntaxexceptiontest.diff
>
> tests/api/java/util/regex/PatternSyntaxExceptionTest is currently excluded because it was testing for incorrect behaviour.  This should be fixed.

-- 
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