Skip to content

Commit

Permalink
Migrated drools retediagram to JUnit5
Browse files Browse the repository at this point in the history
  • Loading branch information
pibizza committed Dec 3, 2024
1 parent 9dbd332 commit f34f704
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drools-retediagram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
import org.drools.mvel.CommonTestMethodBase;
import org.drools.retediagram.ReteDiagram.Layout;
import org.drools.retediagram.model.Measurement;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.kie.api.KieBase;
import org.kie.api.event.rule.DebugAgendaEventListener;
import org.kie.api.io.ResourceType;
Expand All @@ -47,7 +47,7 @@
public class RuleTest extends CommonTestMethodBase {
static final Logger LOG = LoggerFactory.getLogger(RuleTest.class);

@BeforeClass
@BeforeAll
public static void init() { // route dependencies using java util Logging to slf4j
SLF4JBridgeHandler.removeHandlersForRootLogger();
SLF4JBridgeHandler.install();
Expand Down

0 comments on commit f34f704

Please sign in to comment.