Sha256: 39d15bea983331f6df155f3bc59289d43a6db22330b7402769a96610cb1c72e8
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/def' include OpenWFE class FlowTest23b < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end # # Test 0 # class TestWhen23b0 < ProcessDefinition def make process_definition :name => "23b_when0", :revision => "0" do concurrence do _when :test => "false == true", :timeout => "1s500" do _print "la vaca vuela" end _print "ok" end end end end # # Testing if the conditional _when got correctly unscheduled. # def test_0 log_level_to_debug dotest TestWhen23b0, "ok" end # # Test 1 # class TestWhen23b1 < ProcessDefinition concurrence do _when :test => "true == true" do end _print "ok" end end # # Testing an empty _when # def test_1 log_level_to_debug dotest TestWhen23b1, "ok" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.17 | test/ft_23b_when.rb |