Sha256: 47ec02fe92d33930f21964916b59ea98ec2dc5585009a7d373333fcbba910ae4
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
# # Testing OpenWFE # # John Mettraux at openwfe.org # # Mon Dec 11 09:49:18 JST 2006 # Narita terminal 1 # require 'flowtestbase' class FlowTest6 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end def test_lambda_0 dotest( '''<process-definition name="lambda_0" revision="0"> <sequence> <set variable="inside1"> <process-definition> <print>bonjour ${name}</print> </process-definition> </set> <inside1 name="world" /> <print>over</print> </sequence> </process-definition>''', """bonjour world over""") end # # TEST 1 class Test1 < OpenWFE::ProcessDefinition sequence do _set :v => "inside1" do process_definition do _print "hello ${name}" end end inside1 :name => "mundo" _print "done." end end def test_1 dotest(Test1, "hello mundo\ndone.") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.14 | test/ft_6_lambda.rb |
openwferu-0.9.15 | test/ft_6_lambda.rb |