Skip to content

Commit

Permalink
chore: migrate quarkus-extension-processor tests to JUnit 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 10, 2019
1 parent 4dc8ee2 commit 89213fe
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions core/processor/pom.xml
Expand Up @@ -40,8 +40,8 @@
</dependency>
<!-- Test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
@@ -1,19 +1,19 @@
package io.quarkus.annotation.processor.generate_doc;

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

import java.time.Duration;
import java.util.List;
import java.util.Map;

import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

public class ConfigItemTest {

private ConfigItem configItem;

@Before
@BeforeEach
public void setup() {
configItem = new ConfigItem();
}
Expand Down
Expand Up @@ -4,14 +4,14 @@
import static io.quarkus.annotation.processor.generate_doc.DocGeneratorUtil.OFFICIAL_JAVA_DOC_BASE_LINK;
import static io.quarkus.annotation.processor.generate_doc.DocGeneratorUtil.VERTX_JAVA_DOC_SITE;
import static io.quarkus.annotation.processor.generate_doc.DocGeneratorUtil.getJavaDocSiteLink;
import static org.junit.Assert.assertEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

import java.math.BigInteger;
import java.net.InetAddress;
import java.time.Duration;
import java.util.Map;

import org.junit.Test;
import org.junit.jupiter.api.Test;

import io.quarkus.annotation.processor.Constants;

Expand Down
@@ -1,15 +1,15 @@
package io.quarkus.annotation.processor.generate_doc;

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

import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

public class GenerateExtensionConfigurationDocTest {

private GenerateExtensionConfigurationDoc generateExtensionConfigurationDoc;

@Before
@BeforeEach
public void setup() {
generateExtensionConfigurationDoc = new GenerateExtensionConfigurationDoc();
}
Expand Down
@@ -1,15 +1,15 @@
package io.quarkus.annotation.processor.generate_doc;

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

import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

public class JavaDocParserTest {

private JavaDocParser parser;

@Before
@BeforeEach
public void setup() {
parser = new JavaDocParser();
}
Expand Down

0 comments on commit 89213fe

Please sign in to comment.