Skip navigation
Currently Being Moderated

TestRunnerBase compile error FX3 FU4

Nov 17, 2010 3:52 PM

I am getting a compile error.
Using FlexBuilder3 (3.4.1 SDK).
FlexUnit 4
I have the 5 swc files in my project's lib folder.

Here is my code:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx=""
                        layout="absolute" creationComplete="init()">
            import flexUnitTests.TestSuite;
            import org.flexunit.runner.FlexUnitCore;
            import org.flexunit.listeners.UIListener;

            private var core:FlexUnitCore;
            public function init():void {
                core = new FlexUnitCore();
                core.addListener(new UIListener(uiListener));

    <adobe:TestRunnerBase id="uiListener" width="100%" height="100%"  />

This is the error:  Could not resolve <adobe:TestRunnerBase> to a component implementation.

(this question was also posted on an existing thread)

Please advise.
Roy P.

  • Currently Being Moderated
    Nov 17, 2010 4:35 PM   in reply to Roy.P.

    Which swc files do you have in your build path?


    Also, make sure you take a look at this:




    Mark as:
  • Currently Being Moderated
    Nov 18, 2010 8:51 AM   in reply to Roy.P.



    First thing to check. Since you are using the 3.x SDK, are you using a 3.x version of FlexUnit ore one built for 4.


    If you want to double check, you can download the latest 3.5 (which will work fine with 3.4 as well) build from here.



    I would consider getting rid of the libraries you have, puting these in place so we know we have a clean starting point and then I can help more.



    Mark as:
  • Currently Being Moderated
    Nov 19, 2010 9:17 AM   in reply to Roy.P.



    Flexunit is an open source project maintained entirely by volunteers, so feel free to add anything you would like about setting this up in FlexBuilder here: ct



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points