Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Viewing all articles
Browse latest Browse all 25673

org.flexunit.listeners.UIListener not found, and other problems

$
0
0

I have a basic setup of FlexUnit that comes with the latest FlashBulider. I import a bunch of SWC's in my project and try to follow instructions from here:

 

http://docs.flexunit.org/index.php?title=Setting_up_a_FlexUnit_4_Proje ct

 

I got an error saying defintion of UIListener could not be found.

 

Then I checked the AS docs here: http://docs.flexunit.org/asdocs/index.html

 

And found out there is no UIListener class at all

 

So I realized that core.addListener takes IRunListener, and change the code to this:

 

core.addListener(IRunListener(uiListener));

 

Sadly, when run. there was a runtime error with this line:

 

<flexui:TestRunnerBase id="uiListener" width="100%" height="100%" x="0" y="0" />

 

Saying TestRunnerBase does not implement the IRunListener intarface,


Viewing all articles
Browse latest Browse all 25673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>