Sha256: 5a349a03b8b496371177de9371e330730738b9548e135aa1691ea846d6795c4e
Contents?: true
Size: 963 Bytes
Versions: 3
Compression:
Stored size: 963 Bytes
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/expressions/raw_prog' include OpenWFE class FlowTest23 < Test::Unit::TestCase include 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.5 | test/ft_23_when.rb |
openwferu-0.9.6 | test/ft_23_when.rb |
openwferu-0.9.7 | test/ft_23_when.rb |