[jboss-svn-commits] JBL Code SVN: r18851 - labs/jbossrules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Mar 11 17:58:34 EDT 2008
Author: tirelli
Date: 2008-03-11 17:58:34 -0400 (Tue, 11 Mar 2008)
New Revision: 18851
Modified:
labs/jbossrules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests/MarshallingTest.java
Log:
JBRULES-1503: uncommenting test cases
Modified: labs/jbossrules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests/MarshallingTest.java
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests/MarshallingTest.java 2008-03-11 19:59:04 UTC (rev 18850)
+++ labs/jbossrules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests/MarshallingTest.java 2008-03-11 21:58:34 UTC (rev 18851)
@@ -31,7 +31,7 @@
import org.drools.rule.Rule;
public class MarshallingTest extends TestCase {
- public void xxxtestSerializable() throws Exception {
+ public void testSerializable() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -101,7 +101,7 @@
assertTrue( IteratorToList.convert( workingMemory.iterateObjects() ).contains( new Person( "help" ) ) );
}
- public void xxxtestSerializeWorkingMemoryAndRuleBase1() throws Exception {
+ public void testSerializeWorkingMemoryAndRuleBase1() throws Exception {
// has the first newStatefulSession before the ruleBase is serialised
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -174,7 +174,7 @@
}
- public void xxxtestSerializeWorkingMemoryAndRuleBase2() throws Exception {
+ public void testSerializeWorkingMemoryAndRuleBase2() throws Exception {
// has the first newStatefulSession after the ruleBase is serialised
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable.drl" ) );
@@ -319,7 +319,7 @@
assertTrue( IteratorToList.convert( workingMemory.iterateObjects() ).contains( new Person( "help" ) ) );
}
- public void xxxtestSerializeAdd() throws Exception {
+ public void testSerializeAdd() throws Exception {
//Create a rulebase, a session, and test it
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
@@ -385,7 +385,7 @@
}
- public void xxxtestSerializationOfIndexedWM() throws Exception {
+ public void testSerializationOfIndexedWM() throws Exception {
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_Serializable2.drl" ) );
final PackageBuilder builder = new PackageBuilder();
@@ -455,7 +455,7 @@
*
* Result: Pkg/Rule addition is failing with ClassCastException
*/
- public void xxxtestSerializeAdd2() throws Exception {
+ public void testSerializeAdd2() throws Exception {
//Create a rulebase, a session, and test it
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
More information about the jboss-svn-commits
mailing list