Sha256: ac37722d2dc55c5ef464dd8f73908bc102a55e0a6c8be67536fdaf67f5e6faf0
Contents?: true
Size: 705 Bytes
Versions: 28
Compression:
Stored size: 705 Bytes
Contents
import asunit.framework.TestCaseMock; import asunit.framework.TestCase; class asunit.framework.TestCaseTest extends TestCase { private var className:String = "asunit.framework.TestCaseTest"; private var instance:TestCaseMock; public function TestCaseTest(testMethod:String) { super(testMethod); } public function setUp():Void { var initObj:Object = new Object(); instance = TestCaseMock(attachMovie(TestCaseMock.linkageId, initObj)); } public function tearDown():Void { instance.removeMovieClip(); delete instance; } public function testInstantiated():Void { assertTrue("TestCaseMock instantiated", instance instanceof TestCaseMock); } public function testView():Void { } }
Version data entries
28 entries across 28 versions & 1 rubygems