You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2007/08/14 17:04:16 UTC
svn commit: r565794 -
/geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
Author: gawor
Date: Tue Aug 14 08:04:16 2007
New Revision: 565794
URL: http://svn.apache.org/viewvc?view=rev&rev=565794
Log:
fix tests so they pass on ibm jdk
Modified:
geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
Modified: geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java?view=diff&rev=565794&r1=565793&r2=565794
==============================================================================
--- geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java (original)
+++ geronimo/server/trunk/modules/geronimo-common/src/test/java/org/apache/geronimo/common/propertyeditor/PropertyEditorsTest.java Tue Aug 14 08:04:16 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);
}
}