Permalink
Browse files

Tests: Removed superfluous "test" prefix from test methods in PDFDocu…

…mentTest.
  • Loading branch information...
eseifert committed Aug 19, 2017
1 parent eb71adb commit 6c86a10276a98f9975b08ee1b293c9f880777337
Showing with 5 additions and 6 deletions.
  1. +5 −6 src/test/java/de/erichseifert/vectorgraphics2d/pdf/PDFDocumentTest.java
@@ -30,11 +30,11 @@
import de.erichseifert.vectorgraphics2d.util.FormattingWriter;
public class PDFDocumentTest {
public static final String PDF_CHARSET = "ISO-8859-1";
public static final String PDF_EOL = "\n";
private static final String PDF_CHARSET = "ISO-8859-1";
private static final String PDF_EOL = "\n";
@Test
public void testSerializeTrueTypeFont() throws IOException {
public void serializeTrueTypeFont() throws IOException {
String encoding = "CustomEncoding";
String baseFont = "MyBaseFont";
TrueTypeFont font = new TrueTypeFont(encoding, baseFont);
@@ -53,7 +53,7 @@ public void testSerializeTrueTypeFont() throws IOException {
}
@Test
public void testSerializeStreamWhenStreamIsFiltered() throws IOException {
public void serializeStreamWhenStreamIsFiltered() throws IOException {
Stream stream = new Stream(Stream.Filter.FLATE);
byte[] inputData = new byte[] {4, 2, 42, -1, 0};
stream.write(inputData);
@@ -74,7 +74,7 @@ public void testSerializeStreamWhenStreamIsFiltered() throws IOException {
}
@Test
public void testSerializeStreamWhenStreamIsNotFiltered() throws IOException {
public void serializeStreamWhenStreamIsNotFiltered() throws IOException {
Stream stream = new Stream();
byte[] inputData = new byte[] {4, 2, 42, -1, 0};
stream.write(inputData);
@@ -93,4 +93,3 @@ public void testSerializeStreamWhenStreamIsNotFiltered() throws IOException {
assertArrayEquals(expected.toByteArray(), serialized);
}
}

0 comments on commit 6c86a10

Please sign in to comment.