123124125126127128129130131132133
final LeftTupleImpl tuple0 = new LeftTupleImpl( f0, sink, true ); // Tuple should pass and propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // Create the Tuple final DefaultFactHandle f1 = new DefaultFactHandle( 1,
135136137138139140141142143144145
final LeftTupleImpl tuple1 = new LeftTupleImpl( f1, sink, true ); // Tuple should pass and propagate node.assertLeftTuple( tuple1, this.context, this.workingMemory ); // make sure assertions were propagated assertEquals( 2,
165166167168169170171172173174175
final LeftTupleImpl tuple0 = new LeftTupleImpl( f0, sink, true ); // Tuple should pass and propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // we create and retract two tuples, checking the linkedtuples is null for JBRULES-246 "NPE on retract()" // Create the Tuple
178179180181182183184185186187188
226227228229230231232233234235236
final LeftTupleImpl tuple0 = new LeftTupleImpl( f0, sink, true ); // Tuple should fail and not propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // Create the Tuple final DefaultFactHandle f1 = new DefaultFactHandle( 1,
238239240241242243244245246247248
final LeftTupleImpl tuple1 = new LeftTupleImpl( f1, sink, true ); // Tuple should fail and not propagate node.assertLeftTuple( tuple1, this.context, this.workingMemory ); // Check memory was not populated this.workingMemory.getNodeMemory( node );
291292293294295296297298299300301
final LeftTuple tuple0 = sink.createLeftTuple( parentTuple, sink, null, true); // Tuple should pass and propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // make sure assertions were propagated assertEquals( 1,
119120121122123124125126127128129
131132133134135136137138139140141
161162163164165166167168169170171