Re: How to use TestRunnerBase in pure AS3 / no MXML
Hi, the testRunnerBase is a Flex application, so you can't use it in a pure AS3 environment without including all of the Flex dependencies.
View ArticleSequence Runner and Signals
I've got a unit test where I want to test reading from a local sqlite database. Obviously I need to write a record before I can read it. I've written the sequence below but I'm getting an...
View ArticleFlash Builder "unknow FLex SDK Flex Hero" problem(urgent)
Dear all, I developed my mobile andriod game in the flash builder burrito and suddenly I can't open it because of this error "Licensing for this product has expired"so I installed flash builder 4.5...
View ArticleRe: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)
This question is probably better asked it the Flash Builder forum. However, my guess is that in the beta the installed SDK was called "Flex Hero" and in compiler settings for your project its set to...
View ArticleRe: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)
Thanks Simeon Bateman! For all those who also trying to migrate for the Flashbuilder 4.5 here is the reference based on my experienced.After I did all these following steps it is working fine: *Changed...
View ArticleTesting Application Components
I'm not sure if you are aware, but it is currently very difficult to test spark Application components using FlexUnit and the UIImpersonator. An application component can't simply be added to...
View ArticleRe: Sequence Runner and Signals
Rather than using Signals, why don't you just nest your Sequences that you want to run? Something like this: var sr1:SequenceRunner=new SequenceRunner(this);var sr2:SequenceRunner=new...
View ArticleRe: Testing Application Components
Which version of FlexUnit are you using? As of 4.1 we allowed the interface to have an addElement() which accepts spark components just like the Spark Application? Mike
View ArticleRe: Testing Application Components
I might be running an older version since we're still using flashbuilder 4. Is there any way to update the flexunit libraries that flashbuilder uses?
View ArticleRe: Testing Application Components
Its a little convoluted in Flash Builder 4, so what I would suggest first instead is that you just add the FlexUnit 4.1 swc to your library path of your test project. It should trump the existing...
View ArticleRe: Testing Application Components
No luck there. Unfortnately, we are displaying our tests using org.flexunit.flexui.TestRunnerBase.mxml which is based on a flex3 component. When I try to run my tests it's throwing an error saying that...
View ArticleRe: Testing Application Components
Its okay that it is based on flex 3 components, it would just need to be compiled with the Flex 4 SDK or you need to wait until the next release of FlexUnit to make it cleaner. In the 4.1 release we...
View ArticleRe: Testing Application Components
I will see if we can accelerate any of this in a dot release.
View ArticleRe: Testing Application Components
So addElement() is not usable in the current release version? My project is compiled with flex 4.5 so I don;t think thats the issue here. Also, even if addElement did work, it would still be better to...
View ArticleRe: Testing Application Components
Yes, it is completely usable. How it works is that FlexUnit tries to see if there is a mx.core.Container linked into your project. If there is, it uses that as the basis for the UIImpersonator. If...
View ArticleCan't run unit test with "Execute FlexUnit Tests" in the FB4
Hi folks: I create some unit tests in my project,the test.swf execute correctly if I compile them and run it by ant.But once i ran every single file by "Execute FlexUnit Tests" in my IDE,I found...
View ArticleHelp in FLEX testing
Hi I am a newnbie in this testing field I have been given a task to test FLEX. So I expect a great amount of help from you all.
View ArticleAbsolute path to E:\Hudson in org.flexunit.assert() etc
Hi there, I'm attempting to use flexrunner in a linux project. So far everything has been smoothly, thanks. Just pached my SDK vith linux air 2.6 runtimes and ran (a slightly modified) demo project. It...
View ArticleTesting ActionScript classes with native methods?
Hi, I have an ActionScript class that I'm writing and would like to test using FlexUnit.The only issue is that the ActionScript class has a member in it that is a class with native methods. So, I get...
View Article