Sha256: 57b11dca85d6389171681dea0563c6c1ad4f399f9a898dd86715499d64bd3ca7

Contents?: true

Size: 518 Bytes

Versions: 6

Compression:

Stored size: 518 Bytes

Contents

package <%= package_name %>
{
	import asunit.asserts.*;

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

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

		[After]
		public function tearDown():void
		{
		    instance=null;
		}

		[Test]
		public function should_be_instantiated():void
		{
		    assertTrue(instance is <%= instance_name %>);
		}
		
		[Test]
		public function should_fail():void
		{
		    assertTrue(false);
		}
    }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gator-as3-0.0.13.pre lib/gator/as3/templates/as3/test/asunit4/klass.as.tt
gator-as3-0.0.12.pre lib/gator/as3/templates/as3/test/asunit4/klass.as.tt
gator-as3-0.0.11.pre lib/gator/as3/templates/as3/test/asunit4/klass.as.tt
gator-as3-0.0.10.pre lib/gator/as3/templates/as3/test/asunit4/klass.as.tt
gator-as3-0.0.9.pre lib/gator/as3/templates/as3/test/asunit4/klass.as.tt
gator-as3-0.0.7.pre lib/gator/as3/generators/test/asunit4/klass.as.tt