harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r421504 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java
Date Thu, 13 Jul 2006 05:30:48 GMT
Author: mloenko
Date: Wed Jul 12 22:30:47 2006
New Revision: 421504

URL: http://svn.apache.org/viewvc?rev=421504&view=rev
Log:
fixes for HARMONY-854
[classlib][beans] enabling of tests from StatementTest class (4)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java?rev=421504&r1=421503&r2=421504&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/StatementTest.java
Wed Jul 12 22:30:47 2006
@@ -731,7 +731,7 @@
         arguments = new Object[] { Boolean.FALSE };
         t = new Statement(mo, "methodB", arguments);
         t.execute();
-        MockObject.assertCalled("methodB4", arguments);
+        MockObject.assertCalled("methodB2", arguments);
     }
 
     /*
@@ -963,22 +963,10 @@
             receivedArguments.add(i);
         }
 
-        public void methodB(int i) {
-            reset();
-            calledMethod = "methodB2";
-            receivedArguments.add(new Integer(i));
-        }
-
         public void methodB(boolean b) {
             reset();
-            calledMethod = "methodB3";
+            calledMethod = "methodB2";
             receivedArguments.add(new Boolean(b));
-        }
-
-        public void methodB(Boolean b) {
-            reset();
-            calledMethod = "methodB4";
-            receivedArguments.add(b);
         }
 
         public static void staticMethod(Object o) {



Mime
View raw message