Testing a service that returns an AsyncToken
I have a working test that tests a service that returns an AsyncToken. I am using AsyncResponder instead of any of the Aysnc Flexunit stuff. Is this OK? One thing I don't get is that the...
View ArticleFlash Builder 4 does not seem to recognize unit tests
A colleague has an FB4 library project with unit tests. When he tries to "Execute FlexUnit Tests" from the right-mouse-button menu, FB4 acts as if it's scanning the project for unit tests (a...
View ArticleFlexUnit4SampleCIProject will not build for me with build.air.xml
I have I6 of Burrito. I downloaded the FlexUnit4SampleCIProject and followed set-up instrucitons on this page:http://docs.flexunit.org/index.php?title=Ant_Task When I leave in all the default source...
View ArticleUnit tests Cannot access a property or method of a null object reference. at...
When running my unit tests i'm getting this error: Cannot access a property or method of a null object reference. at...
View ArticleTimeout Occurred before expected event for simple SequenceRunner
I'm having trouble with these tests. I'm always getting Timeout Occurred for my sequence in the test testOnLogout. Any ideas? Timeout Occurred before expected eventTimeout Occurred before expected...
View Articlefirst flexunit test is always failing with Error Error #1009: Cannot access a...
Hi, I have flexunit project which I am trying to run on linux server. 1. I have Tests project.2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using...
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 ArticleHow to set source for openzoom multiscale image
How to set source for openzoom multiscale image I am giving the source to multiscale image as "dzc_output.xml" which is genereated through 'Deepzoom composer' but i am geeting the issue...
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 ArticleUIImpersonator tests work in FlashBuilder, but not when run from Ant
I'm in the process of converting a Flex 3 project to use FlexUnit4 tests.Everything compiles in Flashbuilder 4.5 and runs nicely. I've converted all the teststo use flexunit 4, which highlighted a few...
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 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 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 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 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 Articlejunitreport 'redirect' is not allowed when the secure processing feature is...
junitreport 'redirect' is not allowed when the secure processing feature is set to true. Hello, I'm running flexunit4.1.0-8 and I have an ant script running the test suite. I recently upgraded...
View ArticleFlexunit + Parsley - re-creating error: "Object of type is already managed"
Hello, This may sound a bit strange but I'm trying to force an "Object of type is already managed" error to recreate a bug we had in our app for flexunit testing purposes. The problem arised...
View ArticleBetter UI for Unit Tests
I've been doing a lot of unit tests lately. Right now I'm working on a code converter Air app and I'm constantly creating unit tests for bugs I'm finding and running them, and debugging them when they...
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 Articlesource-path mismatch problem
I'm trying to integrate unit testing with our build process and failing with the following error message. BUILD FAILEDC:\Projects\project\client\FUTest\build.xml:88: Compilation failed: Warning: Source...
View Article