Skip to content

Commit 4121b37

Browse files
committed
chore: remove junit 3 references
Signed-off-by: Sandra Parsick <sandra@parsick.dev>
1 parent 8cb7c5c commit 4121b37

File tree

38 files changed

+11
-706
lines changed

38 files changed

+11
-706
lines changed

src/it/projects/MJAVADOC-180/module1/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
<scope>test</scope>
3939
</dependency>
4040

41-
<dependency>
42-
<groupId>junit</groupId>
43-
<artifactId>junit</artifactId>
44-
<version>3.8.2</version>
45-
<scope>test</scope>
46-
</dependency>
41+
4742
</dependencies>
4843
</project>

src/it/projects/MJAVADOC-180/module1/src/test/java/edu/jhu/library/Mjavadoc180Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* under the License.
2020
*/
2121

22-
import junit.framework.TestCase;
2322
import org.dbunit.database.IDatabaseConnection;
2423

2524
/**
@@ -30,7 +29,6 @@
3029
* To change this template use File | Settings | File Templates.
3130
*/
3231
public class Mjavadoc180Test
33-
extends TestCase
3432
{
3533
/**
3634
* This is some test javadoc. This test method has a phony dependency on DB Unit.
@@ -39,6 +37,5 @@ public void testMJAVADOC180()
3937
{
4038
IDatabaseConnection phony = null;
4139
final HelloWorld hw = new HelloWorld();
42-
assertTrue( "Hello World".equals( hw.hello( "Hello World" ) ) );
4340
}
4441
}

src/it/projects/MJAVADOC-257/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@
3737
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3838
</properties>
3939

40-
<dependencies>
41-
<dependency>
42-
<groupId>junit</groupId>
43-
<artifactId>junit</artifactId>
44-
<version>3.8.2</version>
45-
<scope>test</scope>
46-
</dependency>
47-
</dependencies>
48-
4940
<build>
5041
<pluginManagement>
5142
<plugins>

src/it/projects/MJAVADOC-259/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@
3636
<maven.compiler.target>@maven.compiler.target@</maven.compiler.target>
3737
</properties>
3838

39-
<dependencies>
40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>3.8.1</version>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
47-
4839
<build>
4940
<pluginManagement>
5041
<plugins>

src/it/projects/MJAVADOC-259/src/test/java/com/mycompany/myapp/AppTest.java

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,6 @@
1919
* under the License.
2020
*/
2121

22-
import junit.framework.Test;
23-
import junit.framework.TestCase;
24-
import junit.framework.TestSuite;
25-
26-
/**
27-
* Unit test for simple App.
28-
*/
29-
public class AppTest
30-
extends TestCase
22+
public class AppTest
3123
{
32-
/**
33-
* Create the test case
34-
*
35-
* @param testName name of the test case
36-
*/
37-
public AppTest( String testName )
38-
{
39-
super( testName );
40-
}
41-
42-
/**
43-
* @return the suite of tests being tested
44-
*/
45-
public static Test suite()
46-
{
47-
return new TestSuite( AppTest.class );
48-
}
49-
50-
/**
51-
* Rigourous Test :-)
52-
*/
53-
public void testApp()
54-
{
55-
assertTrue( true );
56-
}
5724
}

src/it/projects/MJAVADOC-262/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@
3434
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3535
</properties>
3636

37-
<dependencies>
38-
<dependency>
39-
<groupId>junit</groupId>
40-
<artifactId>junit</artifactId>
41-
<version>3.8.1</version>
42-
</dependency>
43-
</dependencies>
44-
4537
<build>
4638
<pluginManagement>
4739
<plugins>

src/it/projects/MJAVADOC-262/src/test/java/com/mycompany/myapp/AppTest.java

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,6 @@
1919
* under the License.
2020
*/
2121

22-
import junit.framework.Test;
23-
import junit.framework.TestCase;
24-
import junit.framework.TestSuite;
25-
26-
/**
27-
* Unit test for simple App.
28-
*/
29-
public class AppTest
30-
extends TestCase
22+
public class AppTest
3123
{
32-
/**
33-
* Create the test case
34-
*
35-
* @param testName name of the test case
36-
*/
37-
public AppTest( String testName )
38-
{
39-
super( testName );
40-
}
41-
42-
/**
43-
* @return the suite of tests being tested
44-
*/
45-
public static Test suite()
46-
{
47-
return new TestSuite( AppTest.class );
48-
}
49-
50-
/**
51-
* Rigourous Test :-)
52-
*/
53-
public void testApp()
54-
{
55-
assertTrue( true );
56-
}
5724
}

src/it/projects/MJAVADOC-278/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@
3636
<maven.compiler.target>@maven.compiler.target@</maven.compiler.target>
3737
</properties>
3838

39-
<dependencies>
40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>3.8.1</version>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
47-
4839
<build>
4940
<pluginManagement>
5041
<plugins>

src/it/projects/MJAVADOC-278/src/test/java/com/mycompany/myapp/AppTest.java

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,7 @@
1919
* under the License.
2020
*/
2121

22-
import junit.framework.Test;
23-
import junit.framework.TestCase;
24-
import junit.framework.TestSuite;
25-
26-
/**
27-
* Unit test for simple App.
28-
*/
29-
public class AppTest
30-
extends TestCase
22+
public class AppTest
3123
{
32-
/**
33-
* Create the test case
34-
*
35-
* @param testName name of the test case
36-
*/
37-
public AppTest( String testName )
38-
{
39-
super( testName );
40-
}
41-
42-
/**
43-
* @return the suite of tests being tested
44-
*/
45-
public static Test suite()
46-
{
47-
return new TestSuite( AppTest.class );
48-
}
49-
50-
/**
51-
* Rigourous Test :-)
52-
*/
53-
public void testApp()
54-
{
55-
assertTrue( true );
56-
}
5724
}
25+

src/it/projects/MJAVADOC-369/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@
3636
<maven.compiler.target>@maven.compiler.target@</maven.compiler.target>
3737
</properties>
3838

39-
<dependencies>
40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>3.8.1</version>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
47-
4839
<build>
4940
<plugins>
5041
<plugin>

0 commit comments

Comments
 (0)