Sha256: 1a97cb60e38e4ae7d3b2719c85421a18e5efc8c047f39fb5db0c22f569102876
Contents?: true
Size: 734 Bytes
Versions: 17
Compression:
Stored size: 734 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
17 entries across 17 versions & 1 rubygems