Unit Testing Flex Mobile Application

I know I'm out on a limb here :-) But I am getting the following error when trying to run unit tests against a Flex Mobile application in Idea 106.491 -

[mobile_ordering] Could not resolve <mx:Application> to a component implementation.

Is FlexUnitLauncherBase.mxml provided by Intellij? If so is it possible for me to edit this and fix it? Is there some other approach?

Thanks for any help

Conrad Winchester

Comment actions Permalink

Hi Conrad,

Yep, you're at the cutting edge :-) we just don't support that yet.
FlexUnitLauncherBase.mxml is produced by IntelliJ by processing  FlexUnitLauncherBase.template file that sits in  plugins/flex/lib/FlexSupport.jar. You can tweak it and repack back to jar, but this is at your own risk, you know :-) Meanwhile let me create an issue: http://youtrack.jetbrains.net/issue/IDEA-68482


Comment actions Permalink


as usual you support is excellent :-) I should try and not be so cutting edge.

I must say though that the mobile app development in even its early form is looking very good - can't wait for the next update.



Please sign in to leave a comment.