Sha256: 655e77517ad8ac0ea5f90c8eb9b9e87882eef5f23957fea56df5e98e604f6dfd
Contents?: true
Size: 972 Bytes
Versions: 4
Compression:
Stored size: 972 Bytes
Contents
# # testing ruote # # Sat Sep 20 23:40:10 JST 2008 # #class String # def empty? # puts '=' * 80 # puts caller.join("\n") # return (size == 0) # end #end #require 'perftools' #PerfTools::CpuProfiler.start("/tmp/out.profile") #def require (o) # p o # Kernel.require(o) #end #require 'profile' require File.join(File.dirname(__FILE__), 'base') class EftEchoTest < Test::Unit::TestCase include FunctionalBase def test_echo pdef = Ruote.process_definition :name => 'test' do echo 'a' end #noisy assert_trace('a', pdef) end #def test_print_escape # pdef = OpenWFE.process_definition :name => 'test' do # sequence do # set :v => 'toto', :value => 'otot' # echo '${toto}', :escape => 'true' # echo '${toto}', :escape => true # echo :escape => true do # '${toto}' # end # end # end # assert_trace( # pdef, # ([ '${toto}' ] * 3).join("\n")) #end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruote-2.1.11 | test/functional/eft_1_echo.rb |
ruote-2.1.10 | test/functional/eft_1_echo.rb |
ruote-2.1.9 | test/functional/eft_1_echo.rb |
ruote-2.1.8 | test/functional/eft_1_echo.rb |