Author: ssteiner Date: Thu Feb 14 13:49:31 2019 New Revision: 1853576 URL: http://svn.apache.org/viewvc?rev=1853576&view=rev Log: Use modern junit
Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFPagePieceTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPImageHandlerTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPParser.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPTrueTypeTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pcl/PCLPainterTestCase.java Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java Thu Feb 14 13:49:31 2019 @@ -25,6 +25,7 @@ import java.io.File; import javax.xml.transform.stream.StreamResult; +import org.junit.Assert; import org.junit.Test; import org.apache.fop.apps.FOUserAgent; @@ -37,7 +38,7 @@ import org.apache.fop.render.intermediat import org.apache.fop.render.pdf.PDFDocumentHandler; import org.apache.fop.render.pdf.extensions.PDFEmbeddedFileAttachment; -import junit.framework.Assert; + public class PDFAttachmentTestCase { private FOUserAgent ua = FopFactory.newInstance(new File(".").toURI()).newFOUserAgent(); Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFPagePieceTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFPagePieceTestCase.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFPagePieceTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFPagePieceTestCase.java Thu Feb 14 13:49:31 2019 @@ -25,6 +25,7 @@ import java.util.Arrays; import javax.xml.transform.stream.StreamResult; +import org.junit.Assert; import org.junit.Test; import static org.mockito.Mockito.mock; @@ -40,7 +41,7 @@ import org.apache.fop.render.pdf.extensi import org.apache.fop.render.pdf.extensions.PDFDictionaryExtension; import org.apache.fop.render.pdf.extensions.PDFDictionaryType; -import junit.framework.Assert; + public class PDFPagePieceTestCase { @Test Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPImageHandlerTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPImageHandlerTestCase.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPImageHandlerTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPImageHandlerTestCase.java Thu Feb 14 13:49:31 2019 @@ -21,12 +21,13 @@ package org.apache.fop.render.afp; import java.awt.Rectangle; +import org.junit.Assert; import org.junit.Test; import org.apache.fop.afp.AFPObjectAreaInfo; import org.apache.fop.afp.AFPPaintingState; -import junit.framework.Assert; + public class AFPImageHandlerTestCase { Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPParser.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPParser.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPParser.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPParser.java Thu Feb 14 13:49:31 2019 @@ -24,11 +24,11 @@ import java.io.InputStream; import java.util.HashMap; import java.util.Map; +import org.junit.Assert; + import org.apache.fop.afp.AFPConstants; import org.apache.fop.afp.ptoca.PtocaBuilder; -import junit.framework.Assert; - public class AFPParser { private boolean readText; public AFPParser(boolean readText) { Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPTrueTypeTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPTrueTypeTestCase.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPTrueTypeTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPTrueTypeTestCase.java Thu Feb 14 13:49:31 2019 @@ -36,6 +36,7 @@ import javax.xml.transform.TransformerFa import javax.xml.transform.sax.SAXResult; import javax.xml.transform.stream.StreamSource; +import org.junit.Assert; import org.junit.Test; import org.xml.sax.SAXException; @@ -65,7 +66,7 @@ import org.apache.fop.fonts.FontTriplet; import org.apache.fop.fonts.MultiByteFont; import org.apache.fop.render.intermediate.IFException; -import junit.framework.Assert; + public class AFPTrueTypeTestCase { private String font; Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pcl/PCLPainterTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pcl/PCLPainterTestCase.java?rev=1853576&r1=1853575&r2=1853576&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pcl/PCLPainterTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pcl/PCLPainterTestCase.java Thu Feb 14 13:49:31 2019 @@ -30,6 +30,7 @@ import java.net.URISyntaxException; import javax.xml.transform.stream.StreamResult; +import org.junit.Assert; import org.junit.Test; import org.apache.fop.apps.FOUserAgent; @@ -42,7 +43,7 @@ import org.apache.fop.render.intermediat import org.apache.fop.render.intermediate.IFException; import org.apache.fop.render.java2d.CustomFontMetricsMapper; -import junit.framework.Assert; + public class PCLPainterTestCase { private FOUserAgent ua = FopFactory.newInstance(new File(".").toURI()).newFOUserAgent(); --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-h...@xmlgraphics.apache.org