Sha256: 081329bd7b2d324fe80251012f05be4571fca6889e85d70d8d6fc68753670393
Contents?: true
Size: 805 Bytes
Versions: 31
Compression:
Stored size: 805 Bytes
Contents
package <%= package_name %> { import asunit.framework.TestCase; public class <%= test_case_name %> extends TestCase { private var <%= instance_name %>:<%= class_name %>; public function <%= test_case_name %>(methodName:String=null) { super(methodName) } override protected function setUp():void { super.setUp(); <%= instance_name %> = new <%= class_name %>(); addChild(<%= instance_name %>); } override protected function tearDown():void { super.tearDown(); removeChild(<%= instance_name %>); <%= instance_name %> = null; } public function testInstantiated():void { assertTrue("<%= instance_name %> is <%= class_name %>", <%= instance_name %> is <%= class_name %>); } public function testFailure():void { assertTrue("Failing test", false); } } }
Version data entries
31 entries across 31 versions & 3 rubygems