Sha256: 2bdb85d3dcdeffc71dbb484cd5731aed07f291aa06082d18070ec801f05ad32c

Contents?: true

Size: 486 Bytes

Versions: 26

Compression:

Stored size: 486 Bytes

Contents

# Generate a new ActionScript 3.0 TestCase and rebuild the test suites.
# This generator can be executed as follows:
# 
#   sprout -n as3 SomeProject
#   cd SomeProject
#   script/generator test utils.MathUtilTest
#
class TestGenerator < Sprout::Generator::NamedBase # :nodoc:

  def manifest
    record do |m|
      m.directory full_test_dir
      m.template "TestCase.as", full_test_case_path

      m.template 'TestSuite.as', File.join(test_dir, 'AllTests.as')
    end
  end
  
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
sprout-as2-bundle-0.1.26 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.39 lib/sprout/generators/test/test_generator.rb
sprout-as2-bundle-0.1.23 lib/sprout/generators/test/test_generator.rb
sprout-as2-bundle-0.1.20 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.38 lib/sprout/generators/test/test_generator.rb
sprout-as2-bundle-0.1.21 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.37 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.34 lib/sprout/generators/test/test_generator.rb
sprout-as2-bundle-0.1.13 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.32 lib/sprout/generators/test/test_generator.rb
sprout-as2-bundle-0.1.18 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.27 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-1.0.14 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.40 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.2.2 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-1.0.11 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-1.0.12 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.2.1 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-1.0.10 lib/sprout/generators/test/test_generator.rb
sprout-as3-bundle-0.1.41 lib/sprout/generators/test/test_generator.rb