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 ArticleFlexUnit4.1 B2 upgrade breaks CI system - flexUnit.cfg issues?
Folks, We have a working CI system which is currently using binaries from FU4.0 development snapshots. When we last checked the releases page, we saw that 4.0 stable was out, but so were 4.1 Beta 1...
View ArticleHow to use SequenceRunner with FlexUnit 4
Hi, I just read the Wiki page about Fluint Sequences at http://docs.flexunit.org/index.php?title=Sequences#Sequences_from_Fluint. I really would like to use sequences as it seems a great way to test...
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 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 ArticleFU4CIListener build.xml not setting properties?
I am following the Ant Task Setup. I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0. When I run > ant -v clean packagefunction(){return...
View ArticleproceedOnEvent() timeout waiting for creationComplete
Hello, I have a test case that will not run due to proceedOnEvent not seeing the desired event. Here's the test code: package com.mine.components.buttonBar{ import flexunit.framework.Assert;...
View ArticleHow to create a TestRunner for FlexUnit 4?
I just started with FlexUnit 4 today and can already see the benefit of all of the new features. I am a bit stumped on how to get the initial setup to work. As far as I can tell, most of the...
View Articleproblem
This is the code I have written for testing in flexcover------------------------------------------------------------------------------<?xml version="1.0" encoding="utf-8"?><mx:Application...
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 4.1 Beta 1 turnkey project doesn't build
Getting the following error after setting up the project: Could not resolve <flexUnitUIRunner:TestRunnerBase> to a component implementation. flexunit-test/src FlexUnit4Turnkey.mxml line...
View Articleant tests: undefined method runWithFlexUnit4Runner?
Hi all! I am trying to automate AIR tests that run successfully via Adobe Flash Builder 4.I get the following error: Error: Call to a possibly undefined method runWithFlexUnit4Runner through a...
View ArticleFlex Unit 4 Doesnt wor with AS4 Mock
Hi,Wehen I run the Mock 4 AS script with the Flex Unit 4 I get the dblow error. ArgumentError: Error #1063: Argument count mismatch on org.mock4as.samples.publisher::PublisherTestat...
View ArticlePassing extra compiler options to ANT task?
Hi, Is there a way to send any extra compiler options to the <flexunit> ANT task?I'm using conditional compilation and compilation (mxmlc) is failing from the <flexunit> task: "Error:...
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 ArticleCall to a possibly undefined method asyncResponder
Hi, why would I be getting this error for this code token.addResponder(Async.asyncResponder(this, new AsyncResponder(onResult, faultHandler), 600)); 1061: Call to a possibly undefined...
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 ArticleAbsolute path to E:\Hudson in org.flexunit.assert() etc
Hi there, I'm attempting to use flexrunner in a linux project. So far everything has been smoothly, thanks. Just pached my SDK vith linux air 2.6 runtimes and ran (a slightly modified) demo project. It...
View Article