Sha256: 566062346341ad5388c5aa30044f45890ce86f0ebcbaa8d394a11029d6bebd2f

Contents?: true

Size: 568 Bytes

Versions: 11

Compression:

Stored size: 568 Bytes

Contents

require 'test_helper'

class ADLTest < Test::Unit::TestCase
  include Sprout::TestHelper

  context "An ADL tool" do

    setup do
      @fixture  = File.join 'test', 'fixtures', 'air', 'simple'
      @app_desc = File.join @fixture, 'SomeProject.xml'
    end

    teardown do
    end

    should "accept input" do
      adl = FlashSDK::ADL.new
      adl.app_desc = @app_desc
      adl.root_dir = Dir.pwd
      assert_equal "#{@app_desc} #{Dir.pwd}", adl.to_shell
      # Uncomment to actually launch
      # the AIR application:
      #adl.execute
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
flashsdk-1.0.27.pre test/unit/adl_test.rb
flashsdk-1.0.26.pre test/unit/adl_test.rb
flashsdk-1.0.25.pre test/unit/adl_test.rb
flashsdk-1.0.23.pre test/unit/adl_test.rb
flashsdk-1.0.22.pre test/unit/adl_test.rb
flashsdk-1.0.21.pre test/unit/adl_test.rb
flashsdk-1.0.20.pre test/unit/adl_test.rb
flashsdk-1.0.18.pre test/unit/adl_test.rb
flashsdk-1.0.17.pre test/unit/adl_test.rb
flashsdk-1.0.15.pre test/unit/adl_test.rb
flashsdk-1.0.14.pre test/unit/adl_test.rb