Testing 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 ArticleFlexUnit CIlistener problems after upgrade to 4.5
Hello, I've just upgraded to Flash Builder 4.5 and I'm getting this error when I'm running test from my ant build: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit...
View ArticleFlexUnit ant - running tests that make server calls
Hi, I am using BlazeDS in my project to connect to a Tomcat server. I have configured my services in the services-config.xml file and passed the location of the file as an argument to the compiler in...
View ArticleWhich is a more recent version of FlexUnit: flexunit-4.1.0-8 or...
Which is a more recent version of FlexUnit: flexunit-4.1.0-8 or flexunit-4.1.0_RC2 ??
View ArticleTesting swc and mxml code
Hi,I have some software classes to run commands on any mxml file.These classes are wrapped in a SWC file. This SWC file is referenced by any sample mxml application (by adding as SWC file).My problem...
View ArticleParamaterized Testing Issues
Hi I'm new to unit testing so I've been having issues...I am trying to run tests with parameters and I have fixed the errors up to here by browsing the net, but I can't find why this isn't...
View ArticleHow to resolve "Failed to open the panel socket"?
I am trying to run some of our Flexunit tests on Unix OS. To setup my environment I followed all of the steps on http://docs.flexunit.org/index.php?title=Ant_Task document. My environment is now:...
View ArticleFlexUnit UI problem
Hello guys, I have 3 test class out of which 2 test class is fully passed. But the class which fails has 2 methods. In the failed class 1 method is failed and 1 is passed, but when i check in the...
View ArticleAsync.asyncNativeResponder in place of Async.Responder?
I'm using 4.1 and the asyc class doesn't seem to have Async.Responder, so I tried this: token.addResponder(Async.asyncNativeResponder(this, onResult, faultHandler, 600)); but get an issue: Implicit...
View ArticleStrange behaviour when running parameterized test
Hello,I am using Flex 4.5 and FlexUnit 4.1 inside of the Flashdevelop IDE and I am experiencing some very strange behaviour. If I have 5 parameters to my test the test runs fine. When I add a sixth...
View Articleparallel execution of multiple test cases.
Does flex unit 4.x version supports for parallel execution of multiple test cases? Any help will be greatly appreciated.
View ArticleMockito problems - Please make sure you specified a call to stub in given
Mockito problems - Please make sure you specified a call to stub in givenHello, I'm trying to get a handle on mocking w/ Mockito to and I keeping getting this error:"Please make sure you specified a...
View ArticleFlexunit on a headless mac server
Has anyone successfully ran flexUnit on a headless mac?im running ant builds via Jenkins, it will build a flex app no problem, however when I try to build the sample flexunit CI app I get the followin...
View Articleflexunit stage null reference
I am trying to test some of my AS classes in flexunit. Some of the methods reference the stage from components that are passed to it. When I set up the flexunit testing application I use the following...
View ArticleFU4.1RC2 - "invalid application descriptor" when using AIR 2.5
Folks, I discovered today when attempting to use AIR 2.5 with FlexUnit4.1 RC2 that you will get the following error when adl.exe is invoked: [flexunit] Setting up server process ... [flexunit]...
View Articleflexunit failed on "command not unterstood"
I use Ant to compile tests and generate reports, and the compile phase succeeded, but the <flexunit> failed, the error log following: java.util.concurrent.ExecutionException: command...
View Article[Test(expects="Error")] not functioning as expected
When testing against implementation code which is expected to throw an exception the test fails even when the expected exception is thrown. I broke this test down into a very simple example to help...
View ArticleCompatibility of flexunit 4.x with browser
Does the flexunit 4.x version supports different browsers like internet explorer 8.0 , 9.0 and firefox ?
View ArticleRunning FlexUnit in Security Application Server environments
Hi all, our flex client is running/provided in a application server context with basic authentification. that mean when the user request our flex client he is running into a authentification dialog box...
View ArticleError with SwfLoader and new application domain
Hi I have a test with a SWFLoader loading an application in a different application domain.Test with SWFLoader is ok when you load the application in the same application domain but when I want a new...
View Article