From bf18a2879874d8bc468ca76100db2fa16860802c Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Wed, 26 Apr 2023 18:55:30 +0200
Subject: 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
---
pom.xml | 14 ++++----
.../teddywing/pdf_form_replace_font2/AppTest.java | 38 ----------------------
2 files changed, 7 insertions(+), 45 deletions(-)
delete mode 100644 src/test/java/com/teddywing/pdf_form_replace_font2/AppTest.java
diff --git a/pom.xml b/pom.xml
index 982b75c..a5924eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,13 +35,6 @@
1.5.0
compile
-
-
- junit
- junit
- 3.8.1
- test
-
@@ -119,6 +112,13 @@
+
+
+ maven-surefire-plugin
+
+ true
+
+
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 );
- }
-}
--
cgit v1.2.3