Flex Unit Test on Maia-10558

When I run a Flex Unit Test on Maia 10558, I get the following error:

Error:(55, 0) Access of undefined property className in package test.

This is the class, that has been built by Maia:

<local:LearnApplication____FlexUnitLauncherBase xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*"
        import flexunit.framework.AssertionFailedError;
        import flexunit.framework.Test;
        import flexunit.framework.TestCase;
        import flexunit.framework.TestResult;
        import flexunit.framework.TestSuite;

        import test.DummyUnitTest;

        private const PORT : Number = 07832;
        private const MODULE : String = "LearnApplication";

        protected override function getPort():Number {
            return PORT;

        protected override function getModule():String {
            return MODULE;

        protected override function runTests():void {
            var __testSuite__ : TestSuite = new TestSuite();



            var testResult : TestResult = new TestResult();

        public function startTest(test:Test):void {

        public function addError(test:Test, error:Error):void {
            onTestFailed(getTestInfo(test), error.message, error.getStackTrace());

        public function addFailure(test:Test, error:AssertionFailedError):void {
            addError(test, error);

        public function endTest(test:Test):void {

        private static function getTestInfo(test: Test) : String {
            return test.className + "." + (test as TestCase).methodName;


This is on Mac OS-X 10.5.7, latest Java 1.6.0_13-b03-211.

Thanks and Regards,

1 comment

Hello Peter,

Thanks for your feedback,

Please watch JIRA issue http://www.jetbrains.net/jira/browse/IDEADEV-38475 to get notified when the problem is resolved.



Please sign in to leave a comment.