Sha256: 7f4ba183ef5e4013213a80a182a77943960acc96562e14d5ddc4d4352b5fa40b

Contents?: true

Size: 560 Bytes

Versions: 7

Compression:

Stored size: 560 Bytes

Contents

package <%= package_name %>
{

import org.flexunit.Assert;

public class <%= test_class_name %>
{
    private var <%= instance_name %>:<%= class_name %>;

    [Before]
    public function setUp():void
    {
        <%= instance_name %> = new <%= class_name %>();
    }

    [After]
    public function tearDown():void
    {
        <%= instance_name %> = null;
    }

    [Test]
    public function shouldBeInstantiated():void
    {
        Assert.assertTrue("<%= instance_name %> is <%= class_name %>", <%= instance_name %> is <%= class_name %>);
    }
}

}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flexunit-0.0.9.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.8.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.7.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.6.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.5.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.4.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as
flexunit-0.0.3.pre lib/flexunit4/generators/templates/FlexUnit4TestClass.as