Skip to content

Commit 6694d74

Browse files
committedDec 31, 2017
Migrate to JUnit5
1 parent a20e54d commit 6694d74

File tree

408 files changed

+2673
-2182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

408 files changed

+2673
-2182
lines changed
 

‎abstract-document/pom.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@
3434
<artifactId>abstract-document</artifactId>
3535
<dependencies>
3636
<dependency>
37-
<groupId>junit</groupId>
38-
<artifactId>junit</artifactId>
37+
<groupId>org.junit.jupiter</groupId>
38+
<artifactId>junit-jupiter-api</artifactId>
39+
<scope>test</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.junit.jupiter</groupId>
43+
<artifactId>junit-jupiter-engine</artifactId>
3944
<scope>test</scope>
4045
</dependency>
4146
</dependencies>

‎abstract-document/src/test/java/com/iluwatar/abstractdocument/AbstractDocumentTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
*/
2323
package com.iluwatar.abstractdocument;
2424

25-
import org.junit.Test;
25+
import org.junit.jupiter.api.Test;
2626

2727
import java.util.Arrays;
2828
import java.util.HashMap;
2929
import java.util.List;
3030
import java.util.Map;
3131
import java.util.stream.Stream;
3232

33-
import static junit.framework.TestCase.assertEquals;
34-
import static junit.framework.TestCase.assertNotNull;
33+
import static org.junit.jupiter.api.Assertions.assertEquals;
34+
import static org.junit.jupiter.api.Assertions.assertNotNull;
3535

3636
/**
3737
* AbstractDocument test class

0 commit comments

Comments
 (0)
Please sign in to comment.