aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-04-26 18:55:30 +0200
committerTeddy Wing2023-04-26 18:55:30 +0200
commitbf18a2879874d8bc468ca76100db2fa16860802c (patch)
tree4bb74f661aa6f4347e06facf7b81c9f549918d56
parent432a7b043d38bb2698d3f8c5572910e6ec21902f (diff)
downloadpdf-form-replace-font2-bf18a2879874d8bc468ca76100db2fa16860802c.tar.bz2
Remove tests harness
I'm not using tests here, so rather than keep useless tests cluttering the project I decided to remove them. This causes the `mvn package` task to fail, so I added a skip test configuration on the Maven Surefire plugin as described by smp7d (https://stackoverflow.com/users/395975/smp7d) on Stack Overflow: https://stackoverflow.com/questions/7456006/maven-package-install-without-test-skip-tests/7502723#7502723
-rw-r--r--pom.xml14
-rw-r--r--src/test/java/com/teddywing/pdf_form_replace_font2/AppTest.java38
2 files changed, 7 insertions, 45 deletions
diff --git a/pom.xml b/pom.xml
index 982b75c..a5924eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,13 +35,6 @@
<version>1.5.0</version>
<scope>compile</scope>
</dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>
@@ -119,6 +112,13 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/src/test/java/com/teddywing/pdf_form_replace_font2/AppTest.java b/src/test/java/com/teddywing/pdf_form_replace_font2/AppTest.java
deleted file mode 100644
index b6444e2..0000000
--- a/src/test/java/com/teddywing/pdf_form_replace_font2/AppTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.teddywing.pdf_form_replace_font2;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
- }
-}