commitProperties testing
Hello! I have several UIComponents with overridden commitProperties function. When i use some property setter i need to wait for commitProperties to finish execution in order to test the results. How...
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 ArticleRunning unit tests from ant: flashplayer window remains open
I'm trying to run flex unit tests from ant but I can't get the flashplayer window to close afterwards. What am I doing wrong? <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"...
View ArticleAll async unit tests timeout
I am trying to run FlexUnit tests through Ant in a very simplified version of the sampleCLIProject. The tests pass when I compile through Flash Builder and timeout when I run them through Ant on...
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 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 ArticleBuilding on headless linux
Hi I am trying to run my flexunit4 tests on a headless linux bamboo CI server. I have got xvfp that runs the flashplayer for me. I am using flashplayer 10 for linux. My problem is that the build...
View ArticleReceiving trace()-statements in the TestRunner
First of all I would like to say I am totallynew to the use of unit testing in general. I am currently evaluating FlexUnit and using the TestRunner.mxml for running the tests. I am only curious how I...
View Article4.1 B3 Ant task fails to run Air-based tests
Folks, I am using FlexUnit4.1 Beta 3 and am seeing the <flexunit> Ant task fail when running tests that use the Air libraries. The project in question used to test just fine with version 4.0...
View ArticleIs there a guide to running headless on Linux?
When I run the following build: <target name="compile.client.test" depends="setup.test"> <mxmlc file="${client.test.src.file}" output="${client.test.bin.file}" fork="true"...
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 ArticleActionScript Project
I have an ActionScript Project and I have been running unit tests using the FlexUnit 4 integration in Flash Builder 4 Beta 2. These have been working great until I try to use UIImpersonator, which uses...
View ArticleTestRunnerBase compile error FX3 FU4
I am getting a compile error. Using FlexBuilder3 (3.4.1 SDK).FlexUnit 4I have the 5 swc files in my project's lib folder.Here is my code:<?xml version="1.0"...
View Articlehow to access stage in flexunit
I've found in the following post (http://forums.adobe.com/message/2371850#2371850) some suggestions about this topic, but as I'm relatively new to as3, I'm still confused about how to make it work. My...
View ArticleFlexUnit not generating TestRunner.swf when compiled with Hudson / Ant
I've been dabbling with FlexUnit (4.1 RC2) and CI under Hudson. To that effect, I chose to test the server configuration with the sample CI project that comes with the 4.1 RC2 distribution of FlexUnit,...
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 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 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 ArticleCannot run on results from FlexUnit 4.1.0-RC1-77
I can't seem to run the junitreport ant task on the generated output of my tests from FlexUnit. Here's the error I'm getting: Buildfile: /home/rfkrocktk/Documents/Helios/activeinterview/build.xml...
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 Article