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 Articlejava.lang.NullPointerException running ant task in 4.1 Beta 2
Hello, After trying to debug this all day, I thought I would ask the community. I am trying out the new FU4.1 Beta 2 (3.5) from the downloads page. We have a working CI system set up with 4.0, and I...
View ArticleHow to get the current execution testname?
Hello, I was wondering if it is possible (well it should be somehow) to get the name of the current execution test.For example when I use FlexUnit 3 (0.90) then I have to extend the TestCase class and...
View ArticleRunning FlexUnit tests from command line
Sorry if that has been posted before: I searched best I could and nothing came up. I am interested in building and running my unit tests from the command line so we can add it to a nightly build...
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 ArticleFU Ant task failure: java.util.concurrent.ExecutionException: could not close...
We sometimes see this failure intermitently when using the FlexUnit Ant task to run tests in a CI environment. The Ant task throws this exception: java.util.concurrent.ExecutionException: could not...
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 is working with FlashBuilder and not working with Build file
Hi I have few flexunit test cases . When I am running those testcases from Flashbuilder FlexUnit plugin I am able to run all the testcases and when I run Build file to run those testcases , build file...
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 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 ArticleLoading a swf from flex builder
Hi Everyone, Hi have a project, in which three technologies are used :1.) Action Script 3.02.) Adobe Flex3.) Java I want to know how do i load the swf file since i have various swf file in .fla file....
View ArticleWhat causes "Error saving report" error?
HiI am trying to generate the junit style test results using flex unit. The error log is: Buildfile: c:\Code\unittests\src\build.xml init: [delete] Deleting directory c:\Code\unittests\src\reports...
View ArticleHow to extend flash player session timeout?
Folks, We have a set of FlexUnit tests that are taking a long time to complete (there are a LOT of tests in the suite). After about an hour, the standalone flash player pops up a message warning that...
View Articlecan i reference external flex-config in flexunit ant task?
flexunit gurus, i'm trying to figure out how to best specify the compiler arguments for the flexunit ant task in flexunit 4.1 beta 1. from the documentation i see this sample flexunit usage:...
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 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 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 Article