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

FlexUnit 4, Flash Builder 4, and Flex SDK 4

I am endeavouring to create a project using these in combination. When I created my test runner under SDK 4, it would fail while trying to initialise the test. I decided to build FlexUnit 4 with SDK 4...

View Article


Socket timeout on Mac

Hello, I am trying to run the flexunit ANT task on a Mac but keep getting the following error.  [flexunit] Stopping server ... [flexunit] End of test data reached, sending acknowledgement to player ......

View Article


FlexUnit4 with Flex Application compiled using Flex SDK 3.0?

The Flex application that I am working on is compiled using Flex SDK 3.0. Now I want to unit test this application using FlexUnit4. I am not able to find FlexUnit4 for Flex SDK 3.0 in downloads...

View Article

Hooking up FlexUnit

Hello, I've been reading the FlexUnit docs and playing with the FlexUnit4Turnkey project. Assuming I have an existing Flex/AIR application that I want to start writing tests against should I be...

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


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

Better UI for Unit Tests

I've been doing a lot of unit tests lately.  Right now I'm working on a code converter Air app and I'm constantly creating unit tests for bugs I'm finding and running them, and debugging them when they...

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


IRunner interface depends on concrete class

I am interested in implementing the org.flexunit.runner.IRunner interface. However, there is a reference to the concrete class AsyncTestToken: function run( notifier:IRunNotifier,...

View Article


CI issues on Linux - CentOS + Hudson

Hi there,I got some issues to generate the Junit reports, it gets up to "Waiting for client connection" then do nothing for a few seconds.When it gets back this is what I get in the...

View Article

FocusManager in FlexUnit4?

I'm trying to write just a simple test ensuring that a TextInput control has focus when a component is loaded. However focusManager is null even after I've used the UIImpersonator class to setup my...

View Article

Error while running Parameterized test

Hi, I'm currently working on a really simple Parameterized TestCase. I'm using flexunit 4.0-rc1 and flexmojos 3.5.0. When I do 'mvn clean test' I get the following error: <testsuite errors="0"...

View Article

Verifying a list of same events

Hi,I am writing a test method to verify playing a list of video. Each time a video is played, player sends "playing" event out. So my code would just listen for that event from the player. In addition,...

View Article


Theories and datapoints issue - m i doing it corrently?

Hi All, I have been trying to write a theory test for my component but doesnt seem to get it working, is there something wrong that i am doing while writing the theory case, would write the process...

View Article

Flexunit 4 installation

Are there any installation instructions for FlexUnit 4?  I am new tot he flex and flexunit world. thankswayne

View Article


Error in assertEquals

Hi Everyone, I tried a simple example with timer event and once it gets complete , i call a function to check my assert. There is a for loop which checks for all the assert, but i get an error in that...

View Article

Headless FlexUnit with AIR on Linux server

Has anyone successfully got FlexUnit to work with AIR in headless mode on 64-bit Linux server? The problem seems to be that the AIR runtime does not want to install on 64-bit Ubuntu server (9.10).  I...

View Article


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

AMF over HTTPS (Unkown CA)

Hi, I have a problem with our flexunit test suite. We created an AMF messaging layer and communicate with our server over HTTPS. Works fine in the browser with manual testing. We developed a unit test...

View Article

Waiting for multiple independent asynchronous events during startup

I recently found myself needing to load two external files during the setup phase of a test. Normally I'd use Async.proceedOnEvent() with something like:         [BeforeClass(async)]...

View Article
Browsing all 25673 articles
Browse latest View live


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