Sha256: ba9a3380709bf2f00994719eddd2352ee7e325715bcefd767f7dfaca687517c1
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
# # Testing OpenWFEru # # John Mettraux at openwfe.org # require 'flowtestbase' require 'openwfe/def' include OpenWFE class FlowTest40 < Test::Unit::TestCase include FlowTestBase #def setup #end #def teardown #end # # Test 0 # class TestDefined40a0 < ProcessDefinition sequence do defined :field => "nada" _print "${f:__result__}" set :field => "nada", :value => "stuff" defined :field => "nada" _print "${f:__result__}" defined :field_value => "nada" _print "${f:__result__}" defined :field_match => "^na.*" _print "${f:__result__}" defined :field_match => "^Na.*" _print "${f:__result__}" defined :field_match => "da$" _print "${f:__result__}" undefined :field_value => "nada" _print "${f:__result__}" undefined :field_value => "other" _print "${f:__result__}" end end def test_0 dotest( TestDefined40a0, %w{ false true true true false true false true }.join("\n")) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.17 | test/ft_40_defined.rb |