diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-03 15:27:31 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-03 15:27:31 +0000 |
commit | 70f7ff14dacf6f4b7a7a17764d0a53d0337c143a (patch) | |
tree | fb0e9ccb699a937ffa418bc1803b73b3d0d2b54c /java/sca/modules/databinding/src | |
parent | e4593758eee048b1a6384c864cd6b420b99657e9 (diff) |
Converted from JUnit 3 style imports (junit.framework) to JUnit 4 style imports (org.junit)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@722930 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/databinding/src')
7 files changed, 6 insertions, 16 deletions
diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/DirectedGraphTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/DirectedGraphTestCase.java index f9118939d8..d48711cd64 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/DirectedGraphTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/DirectedGraphTestCase.java @@ -24,10 +24,9 @@ import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.List; -import junit.framework.Assert; - import org.apache.tuscany.sca.databinding.impl.DirectedGraph.Edge; import org.apache.tuscany.sca.databinding.impl.DirectedGraph.Vertex; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/MediatorImplTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/MediatorImplTestCase.java index d281c13fe6..3bb1ed7376 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/MediatorImplTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/MediatorImplTestCase.java @@ -21,9 +21,6 @@ package org.apache.tuscany.sca.databinding.impl; import java.io.StringWriter; import java.io.Writer; -import junit.framework.Assert; -import junit.framework.TestCase; - import org.apache.tuscany.sca.databinding.DataBindingExtensionPoint; import org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint; import org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint; @@ -35,6 +32,7 @@ import org.apache.tuscany.sca.databinding.xml.SAX2DOMPipe; import org.apache.tuscany.sca.databinding.xml.String2SAX; import org.apache.tuscany.sca.interfacedef.DataType; import org.apache.tuscany.sca.interfacedef.impl.DataTypeImpl; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.w3c.dom.Document; diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/XMLDocumentStreamReaderTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/XMLDocumentStreamReaderTestCase.java index dd3d000798..ea6f34d6fb 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/XMLDocumentStreamReaderTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/impl/XMLDocumentStreamReaderTestCase.java @@ -26,10 +26,9 @@ import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamReader; -import junit.framework.Assert; - import org.apache.tuscany.sca.databinding.xml.XMLDocumentStreamReader; import org.apache.tuscany.sca.databinding.xml.XMLStreamReader2String; +import org.junit.Assert; /** * @version $Rev$ $Date$ diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/DataPipeTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/DataPipeTestCase.java index 48c65f8999..a120b313ff 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/DataPipeTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/DataPipeTestCase.java @@ -25,12 +25,11 @@ import java.io.OutputStream; import java.io.Reader; import java.io.Writer; -import junit.framework.Assert; - import org.apache.tuscany.sca.databinding.DataPipe; import org.apache.tuscany.sca.databinding.DataPipeTransformer; import org.apache.tuscany.sca.databinding.impl.DOMHelper; import org.apache.tuscany.sca.databinding.impl.PipedTransformer; +import org.junit.Assert; import org.junit.Test; import org.w3c.dom.Document; import org.w3c.dom.Element; diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/PushTransformationTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/PushTransformationTestCase.java index 2a41482158..ad1bebfc8a 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/PushTransformationTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/PushTransformationTestCase.java @@ -20,10 +20,8 @@ package org.apache.tuscany.sca.databinding.xml; import javax.xml.stream.XMLStreamReader; -import junit.framework.Assert; -import junit.framework.TestCase; - import org.apache.tuscany.sca.databinding.impl.PipedTransformer; +import org.junit.Assert; import org.junit.Test; import org.w3c.dom.Node; import org.xml.sax.ContentHandler; diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/TraxTransformerTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/TraxTransformerTestCase.java index 5ea55bae24..fb9895f120 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/TraxTransformerTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/TraxTransformerTestCase.java @@ -28,8 +28,6 @@ import java.io.StringWriter; import java.io.Writer; import java.net.URL; -import junit.framework.TestCase; - import org.junit.Before; import org.junit.Test; import org.w3c.dom.Node; diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java index 0463e7d9f5..45ee53314e 100644 --- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java +++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java @@ -31,9 +31,8 @@ import javax.xml.namespace.QName; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamReader; -import junit.framework.Assert; - import org.custommonkey.xmlunit.XMLAssert; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; |