Sha256: ce8773007cbf88872fe1090afc8b7bf947f845bad64877eef03b63fb955a9bc3
Contents?: true
Size: 765 Bytes
Versions: 3
Compression:
Stored size: 765 Bytes
Contents
require 'test_helper' class FCSHSocketTest < Test::Unit::TestCase include Sprout::TestHelper context "a new fcsh server" do setup do #Sprout.stdout = $stdout #Sprout.stderr = $stderr @input = File.join(fixtures, 'mxmlc', 'simple', 'SomeFile.as') end should "be instantiable" do t = Thread.new do Thread.current.abort_on_exception = true server = FlashSDK::FCSHSocket.new server.listen end sleep(3) mxmlc = FlashSDK::MXMLC.new mxmlc.input = @input client = FlashSDK::FCSHSocket.new client.execute "mxmlc #{mxmlc.to_shell}" FileUtils.touch @input client.execute "mxmlc #{mxmlc.to_shell}" client.execute "quit" t.join end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flashsdk-1.0.18.pre | test/unit/fcsh_socket_test.rb |
flashsdk-1.0.17.pre | test/unit/fcsh_socket_test.rb |
flashsdk-1.0.15.pre | test/unit/fcsh_socket_test.rb |