harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r472934 - in /incubator/harmony/enhanced/classlib/trunk/modules/beans: build.xml src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java
Date Thu, 09 Nov 2006 15:00:15 GMT
Author: ayza
Date: Thu Nov  9 07:00:14 2006
New Revision: 472934

URL: http://svn.apache.org/viewvc?view=rev&rev=472934
Log:
uncommenting testInitialize_circularRedundancy test and adding the whole PersistenceDelegateTest
class back to the exclude list

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/build.xml?view=diff&rev=472934&r1=472933&r2=472934
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/build.xml Thu Nov  9 07:00:14
2006
@@ -248,6 +248,7 @@
                     <exclude name="org/apache/harmony/beans/tests/java/beans/EventSetDescriptorTest.java"
/>
                     <exclude name="org/apache/harmony/beans/tests/java/beans/IndexedPropertyDescriptorTest.java"
/>
                     <exclude name="org/apache/harmony/beans/tests/java/beans/IntrospectorTest.java"
/>
+                    <exclude name="org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java"
/>
                     <exclude name="org/apache/harmony/beans/tests/java/beans/PropertyChangeSupportTest.java"
/>
                     <exclude name="org/apache/harmony/beans/tests/java/beans/PropertyEditorManagerTest.java"
/>
                     <exclude name="org/apache/harmony/beans/tests/java/beans/VetoableChangeListenerProxyTest.java"
/>

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java?view=diff&rev=472934&r1=472933&r2=472934
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PersistenceDelegateTest.java
Thu Nov  9 07:00:14 2006
@@ -177,13 +177,13 @@
      * Circular redundancy check. Should not hang. 
      * Regression test for HARMONY-2073
      */
-//    public void testInitialize_circularRedundancy() {
-//        Encoder enc = new Encoder();
-//        DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
-//        
-//        enc.setPersistenceDelegate(MockFooStop.class, pd);
-//        pd.initialize(MockFoo.class, new MockFoo(), new MockFoo(), enc);
-//    }
+    public void testInitialize_circularRedundancy() {
+        Encoder enc = new Encoder();
+        DummyPersistenceDelegate pd = new DummyPersistenceDelegate();
+        
+        enc.setPersistenceDelegate(MockFooStop.class, pd);
+        pd.initialize(MockFoo.class, new MockFoo(), new MockFoo(), enc);
+    }
 
     /*
      * Tests mutatesTo() under normal conditions.



Mime
View raw message