mvdb 2003/10/19 07:44:54
Modified: betwixt/src/test/org/apache/commons/betwixt/introspection
TestXMLIntrospector.java
BeanWithBeanInfoBeanBeanInfo.java
betwixt/src/test/org/apache/commons/betwixt/dotbetwixt
TestIntrospection.java MixedUpdatersBean.java
TestXmlToBean.java TestBeanToXml.java
betwixt/src/test/org/apache/commons/betwixt/xmlunit
TestXmlTestCase.java XmlTestCase.java
betwixt/src/test/org/apache/commons/betwixt
CustomerBean.java NoAdderBean.java
TestDynaBeanSupport.java TestBeanWriter.java
ListOfNames.java TestRSSRoundTrip.java
TestDescriptors.java DoubleLinkedParentBean.java
TestBeanReader.java
betwixt/src/test/org/apache/commons/betwixt/io
TestSAXBeanWriter.java
betwixt/src/test/org/apache/commons/betwixt/strategy
TestBadCharacterReplacingNMapper.java
Testi18nObjectStringConversion.java
TestObjectStringConverters.java
betwixt/src/test/org/apache/commons/betwixt/schema
PhysicalSchema.java Dbms.java
betwixt/src/test/org/apache/commons/betwixt/derived
TestDerived.java
betwixt/src/test/org/apache/commons/betwixt/nowrap
TestNoWrap.java
betwixt/src/test/org/apache/commons/betwixt/recursion
TestRecursion.java
betwixt/src/test/org/apache/commons/betwixt/io/read
TestBeanCreation.java
Log:
Removed unused imports.
Revision Changes Path
1.10 +12 -18
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/TestXMLIntrospector.java
Index: TestXMLIntrospector.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/TestXMLIntrospector.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- TestXMLIntrospector.java 9 Oct 2003 20:52:09 -0000 1.9
+++ TestXMLIntrospector.java 19 Oct 2003 14:44:53 -0000 1.10
@@ -61,31 +61,25 @@
package org.apache.commons.betwixt.introspection;
-import java.io.StringWriter;
-
+import java.beans.BeanInfo;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
-import java.beans.BeanInfo;
+import java.io.StringWriter;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-import org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry;
-import org.apache.commons.betwixt.registry.NoCacheRegistry;
-
-import org.apache.commons.betwixt.XMLBeanInfo;
-import org.apache.commons.betwixt.XMLIntrospector;
import org.apache.commons.betwixt.AbstractTestCase;
-import org.apache.commons.betwixt.ElementDescriptor;
import org.apache.commons.betwixt.AttributeDescriptor;
-
+import org.apache.commons.betwixt.ElementDescriptor;
+import org.apache.commons.betwixt.XMLBeanInfo;
+import org.apache.commons.betwixt.XMLIntrospector;
+import org.apache.commons.betwixt.io.BeanWriter;
+import org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry;
+import org.apache.commons.betwixt.registry.NoCacheRegistry;
import org.apache.commons.betwixt.strategy.ClassNormalizer;
import org.apache.commons.betwixt.strategy.ListedClassNormalizer;
-
-import org.apache.commons.betwixt.io.BeanWriter;
-
-import org.apache.commons.logging.impl.SimpleLog;
/** Test harness for the XMLIntrospector
1.4 +6 -6
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/BeanWithBeanInfoBeanBeanInfo.java
Index: BeanWithBeanInfoBeanBeanInfo.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/BeanWithBeanInfoBeanBeanInfo.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BeanWithBeanInfoBeanBeanInfo.java 9 Oct 2003 20:52:09 -0000 1.3
+++ BeanWithBeanInfoBeanBeanInfo.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -61,9 +61,9 @@
package org.apache.commons.betwixt.introspection;
-import java.beans.SimpleBeanInfo;
-import java.beans.PropertyDescriptor;
import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
/** <p>Bean info for exmaple bean used in introspection.</p>
1.4 +5 -9
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestIntrospection.java
Index: TestIntrospection.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestIntrospection.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestIntrospection.java 9 Oct 2003 20:52:08 -0000 1.3
+++ TestIntrospection.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -64,14 +64,10 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.apache.commons.logging.impl.SimpleLog;
-
-import org.apache.commons.betwixt.XMLIntrospector;
-import org.apache.commons.betwixt.XMLBeanInfo;
import org.apache.commons.betwixt.ElementDescriptor;
-
+import org.apache.commons.betwixt.XMLBeanInfo;
+import org.apache.commons.betwixt.XMLIntrospector;
import org.apache.commons.betwixt.xmlunit.XmlTestCase;
-import org.apache.commons.betwixt.digester.ElementRule;
/**
* Test customization of xml to bean mapping using .betwixt files.
1.4 +4 -4
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/MixedUpdatersBean.java
Index: MixedUpdatersBean.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/MixedUpdatersBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- MixedUpdatersBean.java 9 Oct 2003 20:52:08 -0000 1.3
+++ MixedUpdatersBean.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -61,8 +61,8 @@
package org.apache.commons.betwixt.dotbetwixt;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
/**
* This is a simple bean used to test customized updaters.
1.7 +6 -13
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestXmlToBean.java
Index: TestXmlToBean.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestXmlToBean.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestXmlToBean.java 9 Oct 2003 20:52:08 -0000 1.6
+++ TestXmlToBean.java 19 Oct 2003 14:44:53 -0000 1.7
@@ -61,24 +61,17 @@
package org.apache.commons.betwixt.dotbetwixt;
-import java.util.List;
-
-import java.io.StringWriter;
import java.io.StringReader;
+import java.io.StringWriter;
+import java.util.List;
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.apache.commons.betwixt.digester.ElementRule;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
-import org.apache.commons.betwixt.io.BeanWriter;
import org.apache.commons.betwixt.io.BeanReader;
-import org.apache.commons.betwixt.io.BeanRuleSet;
+import org.apache.commons.betwixt.io.BeanWriter;
import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
-
import org.apache.commons.betwixt.xmlunit.XmlTestCase;
-
-import org.apache.commons.logging.impl.SimpleLog;
/**
* Test customization of xml to bean mapping using .betwixt files.
1.15 +4 -4
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestBeanToXml.java
Index: TestBeanToXml.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/dotbetwixt/TestBeanToXml.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TestBeanToXml.java 9 Oct 2003 20:52:08 -0000 1.14
+++ TestBeanToXml.java 19 Oct 2003 14:44:53 -0000 1.15
@@ -67,8 +67,8 @@
import junit.framework.TestSuite;
import org.apache.commons.betwixt.io.BeanWriter;
-import org.apache.commons.betwixt.xmlunit.XmlTestCase;
import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
+import org.apache.commons.betwixt.xmlunit.XmlTestCase;
/**
1.4 +4 -8
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/xmlunit/TestXmlTestCase.java
Index: TestXmlTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/xmlunit/TestXmlTestCase.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestXmlTestCase.java 9 Oct 2003 20:52:11 -0000 1.3
+++ TestXmlTestCase.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -61,11 +61,7 @@
*
*/
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
import junit.framework.AssertionFailedError;
-import junit.framework.TestCase;
/**
* Test harness which test xml unit
1.11 +10 -10
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/xmlunit/XmlTestCase.java
Index: XmlTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/xmlunit/XmlTestCase.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XmlTestCase.java 9 Oct 2003 20:52:11 -0000 1.10
+++ XmlTestCase.java 19 Oct 2003 14:44:53 -0000 1.11
@@ -61,20 +61,20 @@
package org.apache.commons.betwixt.xmlunit;
-import java.util.Collections;
-import java.util.ArrayList;
-import java.util.Comparator;
-import java.util.List;
-import java.util.Iterator;
-
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Comparator;
+import java.util.Iterator;
+import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
+
import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
@@ -82,8 +82,8 @@
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
1.11 +0 -2
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/CustomerBean.java
Index: CustomerBean.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/CustomerBean.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- CustomerBean.java 9 Oct 2003 20:52:07 -0000 1.10
+++ CustomerBean.java 19 Oct 2003 14:44:53 -0000 1.11
@@ -67,14 +67,12 @@
import java.sql.Time;
import java.sql.Timestamp;
import java.util.ArrayList;
-import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.iterators.IteratorEnumeration;
-
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
1.4 +4 -4
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/NoAdderBean.java
Index: NoAdderBean.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/NoAdderBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- NoAdderBean.java 9 Oct 2003 20:52:07 -0000 1.3
+++ NoAdderBean.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -61,8 +61,8 @@
package org.apache.commons.betwixt;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
/** <p>A bean with a list property with a setter but no adder.</p>
*
1.4 +6 -16
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestDynaBeanSupport.java
Index: TestDynaBeanSupport.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestDynaBeanSupport.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestDynaBeanSupport.java 9 Oct 2003 20:52:07 -0000 1.3
+++ TestDynaBeanSupport.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -60,27 +60,17 @@
*/
package org.apache.commons.betwixt;
-import java.io.ByteArrayOutputStream;
-import java.io.PrintStream;
import java.io.StringWriter;
-import java.util.ArrayList;
-
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-import org.apache.commons.beanutils.DynaProperty;
+import org.apache.commons.beanutils.BasicDynaClass;
import org.apache.commons.beanutils.DynaBean;
import org.apache.commons.beanutils.DynaClass;
-import org.apache.commons.beanutils.BasicDynaClass;
-
+import org.apache.commons.beanutils.DynaProperty;
import org.apache.commons.betwixt.io.BeanWriter;
-import org.apache.commons.betwixt.io.CyclicReferenceException;
-import org.apache.commons.logging.impl.SimpleLog;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
-import org.apache.commons.betwixt.strategy.CapitalizeNameMapper;
-import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
import org.apache.commons.betwixt.strategy.DecapitalizeNameMapper;
/** Test harness for the DynaBeans support
1.19 +1 -2
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestBeanWriter.java
Index: TestBeanWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestBeanWriter.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TestBeanWriter.java 9 Oct 2003 20:52:07 -0000 1.18
+++ TestBeanWriter.java 19 Oct 2003 14:44:53 -0000 1.19
@@ -64,7 +64,6 @@
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.io.StringWriter;
-
import java.util.ArrayList;
import java.util.Collection;
@@ -74,9 +73,9 @@
import org.apache.commons.betwixt.io.BeanWriter;
import org.apache.commons.betwixt.io.CyclicReferenceException;
-import org.apache.commons.logging.impl.SimpleLog;
import org.apache.commons.betwixt.strategy.CapitalizeNameMapper;
import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
+import org.apache.commons.logging.impl.SimpleLog;
/** Test harness for the BeanWriter
*
1.4 +4 -4
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/ListOfNames.java
Index: ListOfNames.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/ListOfNames.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ListOfNames.java 9 Oct 2003 20:52:07 -0000 1.3
+++ ListOfNames.java 19 Oct 2003 14:44:53 -0000 1.4
@@ -61,9 +61,9 @@
package org.apache.commons.betwixt;
-import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
+import java.util.List;
/** <p>A simple collection of <code>NameBean</code>'s.</p>
*
1.9 +0 -2
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestRSSRoundTrip.java
Index: TestRSSRoundTrip.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestRSSRoundTrip.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TestRSSRoundTrip.java 9 Oct 2003 20:52:07 -0000 1.8
+++ TestRSSRoundTrip.java 19 Oct 2003 14:44:54 -0000 1.9
@@ -76,8 +76,6 @@
import org.apache.commons.digester.rss.Channel;
import org.apache.commons.digester.rss.RSSDigester;
-import org.apache.commons.logging.impl.SimpleLog;
-
/** Test harness which parses an RSS document using Digester
* then outputs it using Betwixt, then parses it again with Digester
* to check that the document is parseable again.
1.4 +4 -17
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestDescriptors.java
Index: TestDescriptors.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestDescriptors.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestDescriptors.java 9 Oct 2003 20:52:07 -0000 1.3
+++ TestDescriptors.java 19 Oct 2003 14:44:54 -0000 1.4
@@ -60,22 +60,9 @@
*/
package org.apache.commons.betwixt;
-import java.io.ByteArrayOutputStream;
-import java.io.PrintStream;
-import java.io.StringWriter;
-
-import java.util.ArrayList;
-
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-
-import org.apache.commons.betwixt.io.BeanWriter;
-import org.apache.commons.betwixt.io.CyclicReferenceException;
-import org.apache.commons.logging.impl.SimpleLog;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
-import org.apache.commons.betwixt.strategy.CapitalizeNameMapper;
-import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
/** Test harness for the Descriptors (ElementDescriptor and so on).
*
1.4 +5 -5
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/DoubleLinkedParentBean.java
Index: DoubleLinkedParentBean.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/DoubleLinkedParentBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DoubleLinkedParentBean.java 9 Oct 2003 20:52:07 -0000 1.3
+++ DoubleLinkedParentBean.java 19 Oct 2003 14:44:54 -0000 1.4
@@ -61,8 +61,8 @@
package org.apache.commons.betwixt;
-import java.util.Iterator;
import java.util.ArrayList;
+import java.util.Iterator;
/** This is a child that has a property containing it's parent.
*
1.21 +7 -21
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestBeanReader.java
Index: TestBeanReader.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/TestBeanReader.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- TestBeanReader.java 9 Oct 2003 20:52:07 -0000 1.20
+++ TestBeanReader.java 19 Oct 2003 14:44:54 -0000 1.21
@@ -71,40 +71,26 @@
import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;
-import java.util.List;
-import java.util.Calendar;
-import java.util.Locale;
-import java.util.TimeZone;
-import java.util.ArrayList;
import java.text.ParseException;
import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.List;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-import org.apache.commons.beanutils.Converter;
-import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.ConversionException;
-
-import org.apache.commons.betwixt.XMLIntrospector;
-import org.apache.commons.betwixt.BindingConfiguration;
+import org.apache.commons.beanutils.ConvertUtils;
+import org.apache.commons.beanutils.Converter;
import org.apache.commons.betwixt.io.BeanReader;
import org.apache.commons.betwixt.io.BeanWriter;
-import org.apache.commons.betwixt.io.BeanRuleSet;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
-import org.apache.commons.betwixt.expression.MapEntryAdder;
-import org.apache.commons.betwixt.expression.MethodUpdater;
-import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
import org.apache.commons.betwixt.strategy.ConvertUtilsObjectStringConverter;
-
+import org.apache.commons.betwixt.strategy.HyphenatedNameMapper;
import org.apache.commons.collections.CollectionUtils;
-
-import org.apache.commons.digester.Rule;
import org.apache.commons.digester.ExtendedBaseRules;
-
-import org.apache.commons.logging.impl.SimpleLog;
-
+import org.apache.commons.digester.Rule;
import org.xml.sax.Attributes;
1.8 +7 -8
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/io/TestSAXBeanWriter.java
Index: TestSAXBeanWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/io/TestSAXBeanWriter.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TestSAXBeanWriter.java 9 Oct 2003 20:52:09 -0000 1.7
+++ TestSAXBeanWriter.java 19 Oct 2003 14:44:54 -0000 1.8
@@ -65,20 +65,19 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
+
import junit.framework.Test;
-import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-import org.apache.commons.betwixt.PersonBean;
import org.apache.commons.betwixt.AbstractTestCase;
-import org.apache.commons.logging.impl.SimpleLog;
+import org.apache.commons.betwixt.PersonBean;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-import org.xml.sax.InputSource;
import org.xml.sax.Attributes;
+import org.xml.sax.InputSource;
import org.xml.sax.helpers.DefaultHandler;
/**
1.4 +4 -9
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/TestBadCharacterReplacingNMapper.java
Index: TestBadCharacterReplacingNMapper.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/TestBadCharacterReplacingNMapper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestBadCharacterReplacingNMapper.java 9 Oct 2003 20:52:10 -0000 1.3
+++ TestBadCharacterReplacingNMapper.java 19 Oct 2003 14:44:54 -0000 1.4
@@ -61,14 +61,9 @@
package org.apache.commons.betwixt.strategy;
-import java.beans.BeanDescriptor;
-import java.util.ArrayList;
-
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
-
-import org.apache.commons.betwixt.XMLIntrospector;
/** Test harness for the BadCharacterReplacingNMapper
*
1.6 +7 -9
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/Testi18nObjectStringConversion.java
Index: Testi18nObjectStringConversion.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/Testi18nObjectStringConversion.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Testi18nObjectStringConversion.java 9 Oct 2003 20:52:10 -0000 1.5
+++ Testi18nObjectStringConversion.java 19 Oct 2003 14:44:54 -0000 1.6
@@ -61,14 +61,12 @@
package org.apache.commons.betwixt.strategy;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;
-import java.text.SimpleDateFormat;
+import junit.framework.Test;
+import junit.framework.TestSuite;
/**
* Tests ObjectStringConverters in FRENCH locale
1.5 +5 -11
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/TestObjectStringConverters.java
Index: TestObjectStringConverters.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy/TestObjectStringConverters.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestObjectStringConverters.java 9 Oct 2003 20:52:10 -0000 1.4
+++ TestObjectStringConverters.java 19 Oct 2003 14:44:54 -0000 1.5
@@ -65,14 +65,8 @@
import junit.framework.TestCase;
import junit.framework.TestSuite;
-import java.util.Calendar;
-import java.util.Locale;
-
-import java.text.SimpleDateFormat;
-
-import org.apache.commons.beanutils.Converter;
import org.apache.commons.beanutils.ConvertUtils;
-
+import org.apache.commons.beanutils.Converter;
import org.apache.commons.betwixt.expression.Context;
/**
1.6 +5 -5
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/schema/PhysicalSchema.java
Index: PhysicalSchema.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/schema/PhysicalSchema.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PhysicalSchema.java 9 Oct 2003 20:52:10 -0000 1.5
+++ PhysicalSchema.java 19 Oct 2003 14:44:54 -0000 1.6
@@ -62,8 +62,8 @@
package org.apache.commons.betwixt.schema;
import java.util.ArrayList;
-import java.util.List;
import java.util.Iterator;
+import java.util.List;
/**
* @author <a href="mailto:[EMAIL PROTECTED]">Martin van den Bemt</a>
1.5 +5 -5
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/schema/Dbms.java
Index: Dbms.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/schema/Dbms.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Dbms.java 9 Oct 2003 20:52:10 -0000 1.4
+++ Dbms.java 19 Oct 2003 14:44:54 -0000 1.5
@@ -62,8 +62,8 @@
package org.apache.commons.betwixt.schema;
import java.util.ArrayList;
-import java.util.List;
import java.util.Iterator;
+import java.util.List;
/**
* @author <a href="mailto:[EMAIL PROTECTED]">Martin van den Bemt</a>
1.5 +4 -22
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/derived/TestDerived.java
Index: TestDerived.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/derived/TestDerived.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestDerived.java 9 Oct 2003 20:52:08 -0000 1.4
+++ TestDerived.java 19 Oct 2003 14:44:54 -0000 1.5
@@ -61,32 +61,14 @@
package org.apache.commons.betwixt.derived;
import java.io.FileInputStream;
-import java.io.IOException;
import java.io.InputStream;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.sql.Date;
-import java.sql.Time;
-import java.sql.Timestamp;
-import java.util.List;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
-import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.betwixt.AbstractTestCase;
import org.apache.commons.betwixt.io.BeanReader;
-import org.apache.commons.betwixt.io.BeanWriter;
-
-import org.apache.commons.logging.impl.SimpleLog;
-
-import org.apache.commons.digester.Rule;
-import org.apache.commons.digester.ExtendedBaseRules;
-
-import org.xml.sax.Attributes;
/** Test harness for the BeanReader
1.9 +4 -5
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/nowrap/TestNoWrap.java
Index: TestNoWrap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/nowrap/TestNoWrap.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- TestNoWrap.java 9 Oct 2003 20:52:09 -0000 1.8
+++ TestNoWrap.java 19 Oct 2003 14:44:54 -0000 1.9
@@ -64,7 +64,6 @@
import java.io.File;
import java.io.FileInputStream;
import java.io.StringWriter;
-
import java.util.List;
import junit.framework.Test;
1.13 +5 -10
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/recursion/TestRecursion.java
Index: TestRecursion.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/recursion/TestRecursion.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- TestRecursion.java 9 Oct 2003 20:52:10 -0000 1.12
+++ TestRecursion.java 19 Oct 2003 14:44:54 -0000 1.13
@@ -61,10 +61,9 @@
package org.apache.commons.betwixt.recursion;
-import java.util.List;
-
import java.io.StringWriter;
import java.io.Writer;
+import java.util.List;
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -74,10 +73,6 @@
import org.apache.commons.betwixt.io.BeanReader;
import org.apache.commons.betwixt.io.BeanWriter;
import org.apache.commons.betwixt.io.CyclicReferenceException;
-import org.apache.commons.betwixt.io.BeanRuleSet;
-
-import org.apache.commons.logging.impl.SimpleLog;
-import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
/**
1.4 +7 -10
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/io/read/TestBeanCreation.java
Index: TestBeanCreation.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/io/read/TestBeanCreation.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestBeanCreation.java 9 Oct 2003 20:52:09 -0000 1.3
+++ TestBeanCreation.java 19 Oct 2003 14:44:54 -0000 1.4
@@ -60,19 +60,16 @@
*/
package org.apache.commons.betwixt.io.read;
-import java.util.ArrayList;
-
import java.io.StringReader;
import java.io.StringWriter;
+import java.util.ArrayList;
import junit.framework.Test;
-import junit.framework.TestCase;
import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-import org.apache.commons.betwixt.io.BeanWriter;
-import org.apache.commons.betwixt.io.BeanReader;
import org.apache.commons.betwixt.AbstractTestCase;
+import org.apache.commons.betwixt.io.BeanReader;
+import org.apache.commons.betwixt.io.BeanWriter;
/**
* Test harness for bean creation (during reading).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]