test/ft_21_cron.rb in openwferu-0.9.16 vs test/ft_21_cron.rb in openwferu-0.9.17

- old
+ new

@@ -4,11 +4,11 @@ # # John Mettraux at openwfe.org # require 'flowtestbase' -require 'openwfe/expressions/raw_prog' +require 'openwfe/def' include OpenWFE @@ -35,17 +35,19 @@ # this one tests whether a cron event is removed when his process # terminates, as should be. # def test_0 - #log_level_to_debug + log_level_to_debug @engine.register_participant(:cron_event) do + puts "cron_event at #{Time.now.to_s}" @tracer << "cron_event" end - dotest(TestDefinition0, "", 62) + #puts "start at #{Time.now.to_s}" + dotest TestDefinition0, "", 62 end # # Test 1 # @@ -65,10 +67,10 @@ @engine.register_participant(:cron_event) do @tracer << "." end - dotest(TestDefinition1, [ "....", "....." ]) + dotest TestDefinition1, [ "....", "....." ] end end