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 -

/private/var/folders/cz/5dw2nqrc0226f4x31vv983xg++++fn/T/mobile_ordering_conrad____FlexUnitLauncherBase.mxml
[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

2 comments
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

Regards,
Kirill

0
Comment actions Permalink

Thanks,

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.


Conrad

0

Please sign in to leave a comment.