You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2006/07/04 20:28:32 UTC

[jira] Commented: (HARMONY-722) [classlib][beans] some tests from StatementTest fails

    [ http://issues.apache.org/jira/browse/HARMONY-722?page=comments#action_12419164 ] 

Alexei Zakharov commented on HARMONY-722:
-----------------------------------------

Everything looks fine, thanks Tim

> [classlib][beans] some tests from StatementTest fails
> -----------------------------------------------------
>
>          Key: HARMONY-722
>          URL: http://issues.apache.org/jira/browse/HARMONY-722
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>  Environment: winXP
>     Reporter: Alexei Zakharov
>     Assignee: Tim Ellison
>  Attachments: StatementTest.patch
>
> Currently 20 of 50 tests from org.apache.harmony.beans.tests.java.beans.StatementTest class fail. I have created a patch to enable another 9 tests. Please see details below. 
> -testExceptionThrownOnMethodCall 
> The test Bean was implemented incorrectly. This test fails on RI also. The bean was corrected.
> -testConstructor_Normal
> -testConstructor_NullTarget
> -testConstructor_ArrayTarget
> -testConstructor_NullMethodName
> -testConstructor_NewMethodName
> -testConstructor_EmptyMethodName
> -testConstructor_NullArguments
> -testConstructor_NullArgument
> Fail on RI also. Specific implementation of Statement.toString() method was being checked. I replaced it with checking of our implementation. Our toString() was fixed to correspond with RI beforehand. I have started the new mail thread in the list concerning do we need to care about toString compatibility in the future.
> -testGetArguments
> -testGetMethodName
> -testGetTarget
> -testToString
> I commented 'em out since they are empty.
>  
> testExecute_NullMethodName
> Invalid test, I commented it out. It fails on RI also. Method name should not be null.

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