Update of /cvsroot/ejtools/libraries/adwt/src/test/test/adwt/editor
In directory sc8-pr-cvs1:/tmp/cvs-serv24196/adwt/src/test/test/adwt/editor
Modified Files:
EditorsTest.java
Log Message:
Adjust Eclipse build files
Adjust some Javadoc
Review the models for TreeView and ListView : much more lightweight
Convert resources files to UTF-8 to avoid loosing accents
Index: EditorsTest.java
===================================================================
RCS file: /cvsroot/ejtools/libraries/adwt/src/test/test/adwt/editor/EditorsTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EditorsTest.java 21 Feb 2003 22:41:28 -0000 1.1
--- EditorsTest.java 15 Sep 2003 22:37:15 -0000 1.2
***************
*** 8,11 ****
--- 8,12 ----
import java.beans.PropertyEditor;
+ import java.beans.PropertyEditorManager;
import java.net.URL;
import java.net.URLClassLoader;
***************
*** 15,25 ****
import javax.management.ObjectName;
- import junit.framework.TestCase;
-
import org.ejtools.beans.CustomPropertyEditorManager;
/**
! * @author letiemble
! * @created 21 février 2003
* @version $Revision$
*/
--- 16,25 ----
import javax.management.ObjectName;
import org.ejtools.beans.CustomPropertyEditorManager;
+ import junit.framework.TestCase;
+
/**
! * @author Laurent Etiemble
* @version $Revision$
*/
***************
*** 27,31 ****
{
! /**Constructor for the CustomPropertyEditorManagerTest object */
public EditorsTest()
{
--- 27,31 ----
{
! /** Constructor for the CustomPropertyEditorManagerTest object */
public EditorsTest()
{
***************
*** 35,39 ****
/**
! *Constructor for the CustomPropertyEditorManagerTest object
*
* @param name Description of the Parameter
--- 35,39 ----
/**
! * Constructor for the CustomPropertyEditorManagerTest object
*
* @param name Description of the Parameter
***************
*** 48,53 ****
public void testAppend()
{
! PropertyEditor editor = CustomPropertyEditorManager.findEditor(String.class);
! String[] paths = CustomPropertyEditorManager.getEditorSearchPath();
boolean found = false;
for (int i = 0; i < paths.length; i++)
--- 48,53 ----
public void testAppend()
{
! CustomPropertyEditorManager.findEditor(String.class);
! String[] paths = PropertyEditorManager.getEditorSearchPath();
boolean found = false;
for (int i = 0; i < paths.length; i++)
***************
*** 59,63 ****
}
}
! assertTrue("EJTools package must be registered for search : found " + CustomPropertyEditorManager.getEditorSearchPath(), found);
}
--- 59,63 ----
}
}
! assertTrue("EJTools package must be registered for search : found " + PropertyEditorManager.getEditorSearchPath(), found);
}
|