TestRunner mismatch with FB 4.7 Premium?

peter.swartwout.osv's Avatar

peter.swartwout.osv

28 May, 2014 08:28 PM

Hello,

I'm new to FlexUnit and trying to run the tutorial found here: http://flex.apache.org/flexunit/tutorial/flexunit/Unit-1.html

I have FlashBuilder 4.7 Premium at work and I'm doing this on Windows 7 64-bit.

Following the tutorial Unit 1, I can't run the tests because I get a compile-time error "Type was not found or was not a compile-time constant: FlexUnitTestRunnerUI".

The build path had to be adjusted from the default also, since on my system I have C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flexbuilder.flexunit_4.7.0.349722\flexunitSwcs\4.5\locale\en_US\FlexUnitTestRunner_rb.swc

but the project is expecting

C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flexbuilder.flexunit_4.7.0.349722\flexunitSwcs\4.5\locale\en_US\version4locale\

Any help for this Flex newbie is greatly appreciated.

  1. 1 Posted by Michael Labriol... on 28 May, 2014 08:35 PM

    Michael Labriola's Avatar

    Peter,

    Might I recommend that you post this on [email blocked]. Since FlexUnit is now owned by Apache, I think it would be good to keep the conversation there.

    I am not sure what build path you are adjusting (FlexUnit doesn't really have that concept but who the heck knows what Adobe broken in Flash Builder) but if you are using FlexUnit 4.7 premium, you might just want to start by making a new Flex project, and then adding a FlexUnit 4.x unit test to the project and verifying it executes as a starting point.

    Happy to continue trying to help you on the Apache list.

    Mike

  2. 2 Posted by Michael Labriol... on 28 May, 2014 08:36 PM

    Michael Labriola's Avatar

    Sigh. Tender decided that you aren't allowed to see the email address of the mailing list I mentioned, so let me say it this way instead:

    users at flex.apache.org

    Mike

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac