Skip to content

Commit

Permalink
Upgrade junit
Browse files Browse the repository at this point in the history
  • Loading branch information
felldo committed Nov 16, 2024
1 parent 099c371 commit b64db11
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
4 changes: 1 addition & 3 deletions jemoji-languages/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ repositories {

dependencies {
compileOnly(project(":jemoji"))
//testImplementation(platform("org.junit:junit-bom:5.10.0"))
//testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation(project(":jemoji"))
}

Expand All @@ -70,7 +68,7 @@ testing {
// Configure the built-in test suite
val test by getting(JvmTestSuite::class) {
// Use JUnit4 test framework
useJUnit("4.13.2")
useJUnitJupiter("5.11.3")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package jemoji;
package net.fellbaum.jemoji.languages;

import net.fellbaum.jemoji.EmojiLanguage;
import net.fellbaum.jemoji.Emojis;
import org.junit.Test;
import org.junit.jupiter.api.Test;

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

public class EmojiManagerTest {

Expand Down
2 changes: 1 addition & 1 deletion jemoji/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ testing {
// Configure the built-in test suite
val test by getting(JvmTestSuite::class) {
// Use JUnit4 test framework
useJUnit("4.13.2")
useJUnitJupiter("5.11.3")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package net.fellbaum.jemoji;

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

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;

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

public class EmojiManagerTest {

Expand Down
4 changes: 2 additions & 2 deletions jemoji/src/test/java/net/fellbaum/jemoji/EmojiTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.fellbaum.jemoji;

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

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

public class EmojiTest {

Expand Down
4 changes: 2 additions & 2 deletions jemoji/src/test/java/net/fellbaum/jemoji/FitzpatrickTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.fellbaum.jemoji;

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

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

public class FitzpatrickTest {

Expand Down
4 changes: 2 additions & 2 deletions jemoji/src/test/java/net/fellbaum/jemoji/HairStyleTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.fellbaum.jemoji;

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

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

public class HairStyleTest {

Expand Down

0 comments on commit b64db11

Please sign in to comment.