[jboss-svn-commits] JBL Code SVN: r7067 - in labs/jbossrules/trunk/drools-compiler/src/test: java/org/drools/integrationtests resources/org/drools/integrationtests
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Oct 24 00:22:13 EDT 2006
Author: mark.proctor at jboss.com
Date: 2006-10-24 00:22:10 -0400 (Tue, 24 Oct 2006)
New Revision: 7067
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_Serializable.drl
Log:
-fixed most of the serialization issues. however still an issue with Proxy.
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java 2006-10-24 04:14:21 UTC (rev 7066)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java 2006-10-24 04:22:10 UTC (rev 7067)
@@ -2170,7 +2170,7 @@
workingMemory.setGlobal( "list",
new ArrayList() );
- workingMemory.assertObject( new Integer( 5 ) );
+ workingMemory.assertObject( new Person( "bob" ) );
final byte[] wm = serializeOut( workingMemory );
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_Serializable.drl
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_Serializable.drl 2006-10-24 04:14:21 UTC (rev 7066)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_Serializable.drl 2006-10-24 04:22:10 UTC (rev 7067)
@@ -41,8 +41,8 @@
agenda-group "yyy"
auto-focus true
when
- Integer()
+ Person( name == "bob" )
then
- assertLogical ( new String( "help" ) );
+ assertLogical ( new Person( "help" ) );
list.add( new Integer( 4 ) );
end
More information about the jboss-svn-commits
mailing list