Skip to content

Commit

Permalink
[Misc] Move test to JUnit5 (and incidentally fix the issue with PIT s…
Browse files Browse the repository at this point in the history
…ince we're using the JUnit5 PIT plugin and this module was not putting junit5 in the classpath)
  • Loading branch information
vmassol committed Mar 12, 2019
1 parent d39ceb2 commit 902dd38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
import org.dom4j.Document;
import org.dom4j.io.OutputFormat;
import org.dom4j.io.SAXReader;
import org.junit.*;
import org.junit.jupiter.api.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

/**
* Unit tests for {@link org.xwiki.tool.xar.FormatMojo}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
package org.xwiki.tool.xar;

import org.dom4j.DocumentException;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.xwiki.tool.xar.internal.XWikiDocument;

import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

/**
* Validate {@link XWikiDocument}.
Expand Down

0 comments on commit 902dd38

Please sign in to comment.