ActionScript 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 ArticleIs it possible to handle shockwave objects in flash?
Hi everyone, I want to know, Is there any way to handle or control the shockwave objects in flash by using 'as3'? I know this is possible in 'Director' by using 'Lingo'. But I am not able to find any...
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.proceedOnEvent vs. Async.handleEvent
What I'd like to do is to handle the event generated by a process and proceed to the next test only after it has been handled. When I tried just using Async.handleEvent, the test running would allow...
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 ArticleAsync loading of test swf is never caught by listener
Hi all, I'm really struggling getting a testing structure in place. I need to test a sub-swf which gets loaded into a range of main applications and its methods are then invoked. Therefore, I want to...
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 ArticleFlexUnit4 user interface
When I run a series of tests and one (or more) fails, is there a way to tell the user interface the expected and actual result?
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 ArticleI am writting a test using a sequencer to test for multiple button click
I'm using flex sdk 4.1 and have a situation where a button click is sometimes called twice. I am writting a test for this using a sequencer and it will run for at least one button click, what I am not...
View ArticleTesting 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 ArticleOn mouseover of Advanceddatagrid each cell data should get underlined
Hello, I have an issue regarding advanceddatagrid, Issue is, When I mouseover on each cell data(single cell data) it should get underlined and inturn when clicked on it an alert should get displayed,...
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 ArticleProviding a reference to the Stage in a Pure AS3 Environment
Hi All, I'm having real problems trying to get a reference to the Stage in FlexUnit 4.1 TestCases. I am using the FlexUnit Ant Tasks to generate the TestRunner.mxml file which I have modified to...
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 ArticleEclipse update site for FlexUnit 4.1?
Is there an update site that I can point Eclipse at to update the FlexUnit plugin to FlexUnit 4.1? If not, then how are people updating Eclipse?
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 ArticleStatus of Code Coverage in FlexUnit?
Just curious if there is any update on this thread from almost a year ago: http://forums.adobe.com/message/2994338 We would really, really, really like to generate Cobertura-style reports from our...
View Article