geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r565795 - /geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
Date Tue, 14 Aug 2007 15:05:59 GMT
Author: gawor
Date: Tue Aug 14 08:05:58 2007
New Revision: 565795

URL: http://svn.apache.org/viewvc?view=rev&rev=565795
Log:
fix tests so they pass on ibm jdk

Modified:
    geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java

Modified: geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java?view=diff&rev=565795&r1=565794&r2=565795
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
(original)
+++ geronimo/server/branches/2.0/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
Tue Aug 14 08:05:58 2007
@@ -17,7 +17,6 @@
 
 package org.apache.geronimo.common.propertyeditor;
 
-import java.beans.PropertyEditorManager;
 import java.util.List;
 
 import junit.framework.TestCase;
@@ -30,7 +29,7 @@
 public class PropertyEditorsTest
     extends TestCase
 {
-    private String[] editorSearchPath;
+    private List editorSearchPath;
 
     public void testDefaultEditorSearchPath()
     {
@@ -50,10 +49,10 @@
     }
 
     protected void setUp() throws Exception {
-        editorSearchPath = PropertyEditorManager.getEditorSearchPath();
+        editorSearchPath = PropertyEditors.getEditorSearchPath();
     }
 
     protected void tearDown() throws Exception {
-        PropertyEditorManager.setEditorSearchPath(editorSearchPath);
+        PropertyEditors.setEditorSearchPath(editorSearchPath);
     }
 }



Mime
View raw message