[jboss-svn-commits] JBL Code SVN: r24228 - in labs/jbossrules/trunk/drools-compiler/src/test: resources/org/drools/integrationtests and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Dec 3 15:52:58 EST 2008
Author: tirelli
Date: 2008-12-03 15:52:58 -0500 (Wed, 03 Dec 2008)
New Revision: 24228
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_CEP_TimeRelationalOperators.drl
Log:
Fixing test
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java 2008-12-03 15:23:34 UTC (rev 24227)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java 2008-12-03 20:52:58 UTC (rev 24228)
@@ -451,7 +451,7 @@
assertEquals( 1,
results_overlapped_by.size() );
- assertEquals( tick7,
+ assertEquals( tick8,
results_overlapped_by.get( 0 ) );
assertEquals( 1,
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_CEP_TimeRelationalOperators.drl
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_CEP_TimeRelationalOperators.drl 2008-12-03 15:23:34 UTC (rev 24227)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_CEP_TimeRelationalOperators.drl 2008-12-03 20:52:58 UTC (rev 24228)
@@ -65,7 +65,7 @@
rule "overlaps operator"
when
$a : StockTick( company == "ACME" )
- $b : StockTick( company == "DROO", this overlaps[1] $a )
+ $b : StockTick( company == "DROO", this overlaps[2] $a )
then
results_overlaps.add( $b );
end
@@ -73,7 +73,7 @@
rule "overlapped-by operator"
when
$a : StockTick( company == "DROO" )
- $b : StockTick( company == "ACME", this overlappedby[1] $a )
+ $b : StockTick( company == "ACME", this overlappedby[2] $a )
then
results_overlapped_by.add( $b );
end
@@ -97,7 +97,7 @@
rule "starts operator"
when
$a : StockTick( company == "ACME" )
- $b : StockTick( company == "ACME", this starts[2] $a )
+ $b : StockTick( company == "ACME", this starts $a )
then
results_starts.add( $b );
end
@@ -105,7 +105,7 @@
rule "started-by operator"
when
$a : StockTick( company == "ACME" )
- $b : StockTick( company == "ACME", this startedby[2] $a )
+ $b : StockTick( company == "ACME", this startedby $a )
then
results_started_by.add( $b );
end
@@ -113,7 +113,7 @@
rule "finishes operator"
when
$a : StockTick( company == "ACME" )
- $b : StockTick( company == "ACME", this finishes[2] $a )
+ $b : StockTick( company == "ACME", this finishes $a )
then
results_finishes.add( $b );
end
@@ -121,7 +121,7 @@
rule "finished-by operator"
when
$a : StockTick( company == "ACME" )
- $b : StockTick( company == "ACME", this finishedby[2] $a )
+ $b : StockTick( company == "ACME", this finishedby $a )
then
results_finished_by.add( $b );
end
\ No newline at end of file
More information about the jboss-svn-commits
mailing list