Skip to content

Commit

Permalink
#302 junit5
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 11, 2022
1 parent bce694e commit c31ceea
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<version>1.2.17</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/CacheableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import java.util.concurrent.TimeUnit;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Test case for {@link Cacheable} annotation and its implementation.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/RetryOnFailureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import java.util.concurrent.atomic.AtomicInteger;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Test case for {@link RetryOnFailure} annotation and its implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import java.util.concurrent.atomic.AtomicLong;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Test case for {@link ScheduleWithFixedDelay} annotation
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/aj/MethodCacherTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import org.aspectj.lang.reflect.MethodSignature;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.concurrent.TimeUnit;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Tests for {@link MethodScheduler}.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/aj/MnemosTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Test case for {@link Mnemos}.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/aj/NamedThreadsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.apache.log4j.WriterAppender;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Tests for {@link NamedThreads}.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/jcabi/aspects/version/VersionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Unit tests for {@link Version}.
Expand Down

0 comments on commit c31ceea

Please sign in to comment.