mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
use junit5 apis to remove junit4 dependency
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package io.nosqlbench.driver.mongodb;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import io.nosqlbench.engine.api.activityapi.planning.OpSequence;
|
||||
import io.nosqlbench.engine.api.activityimpl.ActivityDef;
|
||||
@@ -12,7 +12,7 @@ public class MongoActivityTest {
|
||||
|
||||
private ActivityDef activityDef;
|
||||
|
||||
@Before
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
String[] params = {
|
||||
"yaml=activities/mongodb-basic.yaml",
|
||||
|
||||
@@ -10,8 +10,8 @@ import io.nosqlbench.virtdata.core.templates.BindPoint;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.bson.conversions.Bson;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
@@ -25,7 +25,7 @@ public class ReadyMongoStatementTest {
|
||||
private ActivityDef activityDef;
|
||||
private StmtsDocList stmtsDocList;
|
||||
|
||||
@Before
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
String[] params = {
|
||||
"yaml=activities/mongodb-basic.yaml",
|
||||
|
||||
Reference in New Issue
Block a user