Sha256: e0fcb331068c9592b7cfc34deead9e77ff4aba603d28007459a712698b1e33d4
Contents?: true
Size: 930 Bytes
Versions: 1
Compression:
Stored size: 930 Bytes
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/expressions/raw_prog' include OpenWFE class FlowTest23 < FlowTestBase #def setup #end #def teardown #end # # Test 0 # class TestDefinition0 < ProcessDefinition def make process_definition :name => "when0", :revision => "0" do concurrence do _when :test => "${v:done} == true", :frequency => "2s" do _print "ok" end sequence do _sleep "500" _set :variable => "done", :value => "true" _print "done" end end end end end def test_0 #dotest(TestDefinition0, "done\nok") dotest(TestDefinition0, "done\nok", 4) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.4 | test/ft_23_when.rb |