renaning groupid to org.kiegroup

This commit is contained in:
Nicolas Héron 2018-03-23 15:52:27 +01:00
commit a04d0a6c2e
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,8 @@
package droolscours; package droolscours;
import droolscours.util.OutputDisplay; import droolscours.util.OutputDisplay;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import org.kie.api.event.rule.ObjectDeletedEvent; import org.kie.api.event.rule.ObjectDeletedEvent;
@ -23,7 +25,14 @@ public class Testlesson1 {
public static void beforeClass() { public static void beforeClass() {
kieContainer = KnowledgeSessionHelper.createRuleBase(); kieContainer = KnowledgeSessionHelper.createRuleBase();
} }
@Before
public void setUp() {
System.out.println("-----------Before-------------");
}
@After
public void tearDown() {
System.out.println("-----------After-----------");
}
@Test @Test
public void testRuleOneFactWithoutFact() { public void testRuleOneFactWithoutFact() {

View file

@ -26,7 +26,7 @@ public class Testlesson4 {
@After @After
public void tearDown() throws Exception { public void tearDown() throws Exception {
System.out.println("------------Après ------------"); System.out.println("------------After ------------");
} }
@Test @Test