Sha256: 182535ffb236ddc757e256f1d2585382c5de0627aa62a0ddebac1ca4da2bdc80
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
require 'test_helper' class FDBTest < Test::Unit::TestCase include Sprout::TestHelper context "a new fdb task" do setup do insert_fake_executable File.join(fixtures, 'sdk', 'fdb') end should "execute without shell params" do @fdb = FlashSDK::FDB.new @fdb.run @fdb.break "AsUnitRunner:12" @fdb.continue @fdb.kill @fdb.confirm @fdb.quit @fdb.execute end should "execute from rake task" do f = fdb :fdb_debug do |t| t.run t.break "AsUnitRunner:12" t.continue t.kill t.confirm t.quit end f.execute # NOTE: If this call raises, then the # Executable.update_rake_task_name method # must have changed, and the Daemon override # is no longer preventing non-File tasks # from being added to the CLEAN collection. # # Adding this as a message to the error would # not display for some reason... assert_equal 0, CLEAN.size, "There shouldn't be any tasks waiting to be cleaned up - found: (#{CLEAN.inspect})" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flashsdk-1.0.14.pre | test/unit/fdb_test.rb |