harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1061) [classlib][beans] tests from ExpressionTest fail on RI
Date Thu, 03 Aug 2006 17:23:13 GMT
[classlib][beans] tests from ExpressionTest fail on RI

                 Key: HARMONY-1061
                 URL: http://issues.apache.org/jira/browse/HARMONY-1061
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: winXP
            Reporter: Alexei Zakharov
         Attachments: ExpressionTest3.patch

Currently all tests from org.apache.harmony.beans.tests.java.beans.ExpressionTest pass on
our implementation of beans. But I have realized that 9 of these tests still fail on RI. This
happened because one of my previous patches for java.beans.Expression class (HARMONY-924)
contained errors. The fix for the toString() method introduced by this patch was invalid indeed.
I really sorry for that. The attached patch should resolve the situation. With this patch
only one test fails on RI.

toString() compatibility issues. I have updated the tests to let it follow the real RI format
of toString(). I have also made some corrections to harmony code to reflect these changes
in tests.

Commented out since they actually test the order of elements returned by Class.getMethods()
/ Class.getDeclaredMethods() (see HARMONY-953). Such order differs from VM to VM and this
checking IMO should not be placed in tests for java.beans package.

I commented out one of ambiguous overloaded methods of MockObject since the result of the
previous version of the test depended (again the same problem) on the order of elements returned
by Class.getMethods()

Currently fails on RI because RI violates the spec for Statement#execute() method. I didn't
touch anything in this test, so it fails (as it did before). 

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


View raw message