|
From: Cary N. <ca...@do...> - 2005-09-06 17:41:12
|
Hi, Just started digging in to using the ASUnit component. I'm afraid I am quiet new to the Junit testing philosophy and are eager to learn as much as I can. I have tried inserting the unit testing framework in to an existing project and have run in to this: >> Any class that extends Assert should have an instance member named [className] because there is no reflection in AS 2.0 >> This member should be defined as follows: private var className:String = [com.package.package.ClassName]; >> Any class that extends Assert should have an instance member named [className] because there is no reflection in AS 2.0 >> This member should be defined as follows: private var className:String = [com.package.package.ClassName]; The system runs well and my initial test work, but, I'm not sure what the above means, I get what reflection means, but 'extends assert' seems to escape me. I am downloading the asunit source now to investigate further, but any insight would be welcomed. regards, Cary. |