Permalink
Browse files

Setting version number for the 6.0.0.Alpha3 release and fixing compil…

…ation errors
  • Loading branch information...
1 parent a96f07d commit 9a6a6157f1f314beeb04c11e2d5b5e7a51218d86 @etirelli etirelli committed Dec 4, 2012
@@ -92,7 +92,7 @@ public void testFactHandleSerialization() {
KieFileSystem kfs = kf.newKieFileSystem().write( "src/main/resources/r1.drl", str );
ks.newKieBuilder( kfs ).build();
- KieBase kbase = ks.getKieContainer().getKieBase();
+ KieBase kbase = ks.getKieClasspathContainer().getKieBase();
KieSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
List<?> list = new ArrayList<Object>();
@@ -151,7 +151,7 @@ public void testLocalTransactionPerStatement() {
KieFileSystem kfs = kf.newKieFileSystem().write( "src/main/resources/r1.drl", str );
ks.newKieBuilder( kfs ).build();
- KieBase kbase = ks.getKieContainer().getKieBase();
+ KieBase kbase = ks.getKieClasspathContainer().getKieBase();
KieSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
List<?> list = new ArrayList<Object>();
@@ -189,7 +189,7 @@ public void testUserTransactions() throws Exception {
KieFileSystem kfs = kf.newKieFileSystem().write( "src/main/resources/r1.drl", str );
ks.newKieBuilder( kfs ).build();
- KieBase kbase = ks.getKieContainer().getKieBase();
+ KieBase kbase = ks.getKieClasspathContainer().getKieBase();
UserTransaction ut = (UserTransaction) new InitialContext().lookup( "java:comp/UserTransaction" );
ut.begin();
@@ -275,7 +275,7 @@ public void testInterceptor() {
KieFileSystem kfs = kf.newKieFileSystem().write( "src/main/resources/r1.drl", str );
ks.newKieBuilder( kfs ).build();
- KieBase kbase = ks.getKieContainer().getKieBase();
+ KieBase kbase = ks.getKieClasspathContainer().getKieBase();
KieSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
SingleSessionCommandService sscs = (SingleSessionCommandService)
@@ -312,7 +312,7 @@ public void testSetFocus() {
KieFileSystem kfs = kf.newKieFileSystem().write( "src/main/resources/r1.drl", str );
ks.newKieBuilder( kfs ).build();
- KieBase kbase = ks.getKieContainer().getKieBase();
+ KieBase kbase = ks.getKieClasspathContainer().getKieBase();
KieSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
List<?> list = new ArrayList<Object>();
@@ -333,7 +333,7 @@ public void testSetFocus() {
@Test
public void testSharedReferences() {
- KieBase kbase = KieServices.Factory.get().getKieContainer().getKieBase();
+ KieBase kbase = KieServices.Factory.get().getKieClasspathContainer().getKieBase();
KieSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
Person x = new Person( "test" );
@@ -361,7 +361,7 @@ public void testSharedReferences() {
@Test
public void testMergeConfig() {
// JBRULES-3155
- KieBase kbase = KieServices.Factory.get().getKieContainer().getKieBase();
+ KieBase kbase = KieServices.Factory.get().getKieClasspathContainer().getKieBase();
Properties properties = new Properties();
properties.put("drools.processInstanceManagerFactory", "com.example.CustomJPAProcessInstanceManagerFactory");

0 comments on commit 9a6a615

Please sign in to comment.