diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2011-10-04 10:09:01 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2011-10-04 10:09:01 +0000 |
commit | 91c66d97428aa57c844ec58e1deb07a8ab745574 (patch) | |
tree | d6062f718053ad636c8f587d5d5f199e9d158252 /test/java/org/apache/fop/pdf/PDFFactoryTestCase.java | |
parent | 7d33c81a0a079336dd1ffcac97e4ee1dfba16c36 (diff) | |
download | xmlgraphics-fop-91c66d97428aa57c844ec58e1deb07a8ab745574.tar.gz xmlgraphics-fop-91c66d97428aa57c844ec58e1deb07a8ab745574.zip |
Bugzilla #51928: Upgraded all tests to JUnit 4
Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/pdf/PDFFactoryTestCase.java')
-rw-r--r-- | test/java/org/apache/fop/pdf/PDFFactoryTestCase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java b/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java index d81eb228a..4a570e7b5 100644 --- a/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java +++ b/test/java/org/apache/fop/pdf/PDFFactoryTestCase.java @@ -19,20 +19,22 @@ package org.apache.fop.pdf; -import junit.framework.TestCase; +import static org.junit.Assert.assertEquals; import org.apache.fop.fonts.CIDSubset; import org.apache.fop.fonts.MultiByteFont; +import org.junit.Test; /** * Test case for {@link PDFFactory}. */ -public class PDFFactoryTestCase extends TestCase { +public class PDFFactoryTestCase { /** * This tests that when a font is subset embedded in a PDF, the font name is prefixed with a * pseudo-random tag as per the PDF spec. */ + @Test public void testSubsetFontNamePrefix() { class MockedFont extends MultiByteFont { @Override |