Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Browsing all 25673 articles
Browse latest View live

Passing 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 Article


Is 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 Article


first 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 Article

Sequence Runner and Signals

I've got a unit test where I want to test reading from a local sqlite database.  Obviously I need to write a record before I can read it.  I've written the sequence below but I'm getting an...

View Article

FlexUnit + AIR + Ant: flashplayer hangs

Hi, I'm currently experiencing some issues when trying to run FlexUnit tests with Ant and AIR. The player doesn't close after the tests are finished and it's giving me the following error when I kill...

View Article


Image may be NSFW.
Clik here to view.

Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is. Info:Running on XP/Cygwin.All of the files that FlexUnit4 references when used in Flash...

View Article

how 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 Article

Running headless & CI

Hi Folks, Here's what I'm trying to do and need some advice: seems that FlexUnit 4 in its Beta 2 incarnation will not run on a headless Linux CI machine but Fluint will? Is this a correct statement so...

View Article


FlexUnit + AIR + Ant?

Is the ant <flexunit> task compatible with AIR? My AIR app uses a SQLite database and some of my integration tests will create a sample database and needs to use the File object in the AIR SDK....

View Article


Running FlexUnit4 tests via ant & Hudson?

I'm just starting to move towards test driven development and I'm trying to figure out how to get continuous integration with FlexUnit4 working for our Flex projects & Hudson. I've got our project...

View Article

flexunit 4 fails for me

I am simply running an Assert.assertTrue call and it says it fails, here is my code:package sampleSuite.tests {     import org.flexunit.*;     public class TestCase1     {          [Before]...

View Article

Is it possible to get Flash Builder to use ant build for unit testing?

Hi,I was able to successfully set up ant build target to set up and run my unit test. now I'm wondering if it is possible to get Flash Builder to use ant build when it runs unit test. By that, I mean I...

View Article

AIRCIListener + flexUnitTasks.jar fails on Windows

When I try to run flexunit with the AIRCIListener I get:BUILD FAILEDC:\...\build.xml:245: Error launching the test runner. My Ant target looks like this:<target name="test"...

View Article


Async tests and Assert throws exceptions

Hi, In a regular non-async test, something like Assert.assertEquals( "apples", "oranges" ); gives a nice report that the strings didn't match.  The test fails and the suite continues and all is good....

View Article

"C:\Users\dmoore" in FlexUnit4 swc

Failed to run tests. Got "initializationError" How come there is hardcoded path in FlexUnit4 SWC files "C:\Users\dmoore\..."? Could you please rebuild FlexUnit4 libraries to use relative paths? My OS:...

View Article


Issues with adding FlexUnitTestRunnerUI to FlexUnitCore

Hi I am trying to create a test runner app with both a CIListenter and a UIListener. For the UIListener I am trying to use the FlexUnitTestRunnerUI, however when I try to use it as shown in the...

View Article

environment variables not passed through to player in flexunit 4.1.0-beta3

fyi, to get flexunit-4.1.0-beta3 FlexUnit4AntTasks invocation of flashplayer to not be rejected by the vncserver, i needed to modify the FlexUnitLauncher to pass through the environment variables to...

View Article


FlexUnit 4.1 RC1 - adl.exe hangs and is not killed when timeout exceeded

I am running AIR based tests using FlexUnit 4.1 RC1. I have the "timeout" parameter of the FlexUnit Ant task set to 45 minutes (2700000 milliseconds).  I expect that if this threshold is exceeded, the...

View Article

getting error 2032 when building Employee Directory tutorial for burrito

I am new to flex development. i am trying to work thru the tutorial Employee Directory.I am using Flex Burrito 4.5 on Windows 7. When i try to run the application, i get the following message: RPC...

View Article

Running 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 Article
Browsing all 25673 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>