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

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


Implicit coercion of a value of type flexunit.flexui:TestRunnerBase to an...

Hello all, any idea for this error ? Severity and Description    Path    Resource    Location    Creation Time    Id1067: Implicit coercion of a value of type flexunit.flexui:TestRunnerBase to an...

View Article


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

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

I 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


Image may be NSFW.
Clik here to view.

How to test an HTTPService call with FlexUnit 4?

Could somebody suggest a good approach to testing a code that invokes an HTTPService? The call to the HTTPService might produce a result or a fault. How should I register result and error handlers with...

View Article

flexunit CIListener: Socket tiimeout waiting for flexunit report

For 2 weeks , I have trouble establising CI enviroment. My env :sdk : flex sdk 4.1ant : 1.8.2  I got the FlexUnit4SampleCIProject .and modified the build.xmlant then always get the error...

View Article

Errors building flexunit tasks using ant

HiI am having trouble while trying to run flexunit tests through ant script I have searched all over the internet but cannot find anything helpful. For my project I am using Flash builder 4.6 and flex...

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


Mockito problems - Please make sure you specified a call to stub in given

Mockito problems - Please make sure you specified a call to stub in givenHello,    I'm trying to get a handle on mocking w/ Mockito to and I keeping getting this error:"Please make sure you specified a...

View Article

FU4.1RC2 - "invalid application descriptor" when using AIR 2.5

Folks, I discovered today when attempting to use AIR 2.5 with FlexUnit4.1 RC2 that you will get the following error when adl.exe is invoked:  [flexunit] Setting up server process ... [flexunit]...

View Article

Building on headless linux

Hi I am trying to run my flexunit4 tests on a headless linux bamboo CI server. I have got xvfp that runs the flashplayer for me. I am using flashplayer 10 for linux. My problem is that the build...

View Article

Failure Trace stack frame paths are incorrect

I am using FlexUnit heavily, and appreciate it mightily. However, there is one very powerful annoyance in the Failure Trace window in Eclipse/FlashBuilder.  When I double-click on a stack frame,...

View Article


Test dataProviders in 4.1 beta 2?

I'm using the 4.1 beta 2 download from here: http://www.flexunit.org/?page_id=14 I have a test using the new dataProvider mechanism:         public function getDates():Array {            function...

View Article

junitreport 'redirect' is not allowed when the secure processing feature is...

junitreport 'redirect' is not allowed when the secure processing feature is set to true.  Hello,   I'm running flexunit4.1.0-8 and I have an ant script running the test suite.    I recently upgraded...

View Article


Getting Started

Is there any resources to get started with FlexUnit?

View Article

Possible to use FlexUnit 4 with Flash CS4?

When I try to compile and run FlexUnit 4 tests from Flash CS4, there is a run-time error that no tests were found. I believe the cause is that the custom [Test] metadata didn't make it into the SWF,...

View Article


FlexUnit UI problem

Hello guys, I have 3 test class out of which 2  test class is fully passed. But the class which fails has 2 methods. In the failed class 1 method is failed and 1 is passed, but when i check in the...

View Article

Selectively Running Tests

Hey all, My goal is to build a UI that will present a tree view of all my available test suites/cases and allow the user to choose what tests they want to run. I need a push in the right direction as...

View Article

Image may be NSFW.
Clik here to view.

Async testing question

Hello, I would like to now how to proceed to test a delegate class that is taking an IResponder as method parameter. For exemple : LoginDelegate.as (simplified version) : publicfunction login(...

View Article
Browsing all 25673 articles
Browse latest View live


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