Sha256: 811f72181792c056f272d87ee5cb85c8960f9b3ad5e83f4b2607c9340dd9b93d
Contents?: true
Size: 732 Bytes
Versions: 52
Compression:
Stored size: 732 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 %>(); } override protected function tearDown():void { super.tearDown(); <%= 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
52 entries across 38 versions & 3 rubygems