test/ft_60_ecancel.rb in openwferu-0.9.15 vs test/ft_60_ecancel.rb in openwferu-0.9.16

- old
+ new

@@ -39,45 +39,45 @@ #$OWFE_LOG.level = Logger::DEBUG fei = @engine.launch TestDefinition0 - sleep 0.200 + sleep 0.300 #puts #puts @engine.get_process_stack fei.wfid #puts fei.expression_id = "0.0.1" fei.expression_name = "sequence" @engine.cancel_expression fei - sleep 0.200 + sleep 0.300 - assert_equal @tracer.to_s, "a\nb.0\nc" + assert_equal "a\nb.0\nc", @tracer.to_s - assert_equal @engine.get_process_stack(fei.wfid).size, 0 + assert_equal 0, @engine.get_process_stack(fei.wfid).size #$OWFE_LOG.level = Logger::INFO end def test_1 #$OWFE_LOG.level = Logger::DEBUG fei = @engine.launch TestDefinition0 - sleep 0.200 + sleep 0.300 fei.expression_id = "0.0.1.2" fei.expression_name = "print" @engine.cancel_expression fei @engine.wait_for(fei.wfid) - assert_equal @tracer.to_s, "a\nb.0\nc" + assert_equal "a\nb.0\nc", @tracer.to_s - assert_equal @engine.get_process_stack(fei.wfid).size, 0 + assert_equal 0, @engine.get_process_stack(fei.wfid).size #$OWFE_LOG.level = Logger::INFO end end