Sha256: 282f0f24152516a08b4bf7ede03e48bc7f727a317e93b553452bcc5f9cb60ad9
Contents?: true
Size: 801 Bytes
Versions: 29
Compression:
Stored size: 801 Bytes
Contents
import asunit.framework.TestCase; import <%=package_name%>.<%=class_name%>; class <%=package_name%>.<%=test_case_name%> extends TestCase { private var className:String = "<%=package_name%>.<%=test_case_name%>"; private var <%=instance_name%>:<%=class_name%>; public function <%=test_case_name%>(testMethod:String) { super(testMethod); } public function setUp():Void { super.setUp(); <%=instance_name%> = new <%=class_name%>(); } public function tearDown():Void { super.tearDown(); delete <%=instance_name%>; } public function testInstantiated():Void { assertTrue("<%=instance_name%> instanceof <%=class_name%>", <%=instance_name%> instanceof <%=class_name%>); } public function testFailure():Void { assertTrue("Failing test", false); } }
Version data entries
29 entries across 29 versions & 1 rubygems