test/unit/adl_test.rb in flashsdk-1.0.27.pre vs test/unit/adl_test.rb in flashsdk-1.0.28.pre

- old
+ new

@@ -6,19 +6,23 @@ context "An ADL tool" do setup do @fixture = File.join 'test', 'fixtures', 'air', 'simple' @app_desc = File.join @fixture, 'SomeProject.xml' + @profile = 'mobileDevice' + @screensize = 'NexusOne' 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 + adl.screensize = @screensize + adl.profile = @profile + assert_equal "-profile #{@profile} -screensize #{@screensize} #{@app_desc} #{Dir.pwd}", adl.to_shell # Uncomment to actually launch # the AIR application: #adl.execute end