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

FlexUnit assertionsMade statement validity

Hello,Is the following FlexUnit Assert program statement valid? Assert.assertEquals(Assert.assertionsMade, 0); The flex4sdk_b2_100509 compiler reports an error. Thanks,A FlexUnit and ActionScript newbie

View Article


Creating sqlite database from code

Hi, I am writing integration test with sqlite database.Before running a test,I want to create a database using a script ie .sql file.Is it possible to do so using Flex API for databases? If so,how?

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

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

Uploading File classic ASP

HiIm a new flex developer and i making an app that insert data into a db and upload a file in a path web server, but my problem is when i send to asp my archive there is no way to save on the path and...

View Article


ADL.exe doesn't close after unit tests are completed

I am somewhat new to Flash/Flex/AIR and I apologize if this post is in the wrong location. I have done a lot of research and have yet to find a solution. I created a simple AIR Test Runner app which...

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

flexunit stage null reference

I am trying to test some of my AS classes in flexunit.  Some of the methods reference the stage from components that are passed to it. When I set up the flexunit testing application I use the following...

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


FlexUnit4 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 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

Flash Builder 4 does not seem to recognize unit tests

A colleague has an FB4 library project with unit tests.  When he tries to "Execute FlexUnit Tests" from the right-mouse-button menu, FB4 acts as if it's scanning the project for unit tests (a...

View Article

How to resolve "Failed to open the panel socket"?

 I am trying to run some of our Flexunit tests on Unix OS.  To setup my environment I followed all of the steps on http://docs.flexunit.org/index.php?title=Ant_Task document.  My environment is now:...

View Article


FlexUnit CIlistener problems after upgrade to 4.5

Hello,   I've just upgraded to Flash Builder 4.5 and I'm getting this error when I'm running test from my ant build:   java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit...

View Article

Flexunit + Parsley - re-creating error: "Object of type is already managed"

Hello,   This may sound a bit strange but I'm trying to force an "Object of type is already managed" error to recreate a bug we had in our app for    flexunit testing purposes.   The problem arised...

View Article


Help using FlexUnit with Nant

Hi,  I created some tests which run perfectly if I use my IDE (FlashDevelop) to run them. I've been trying to create a Nant script to automate my tests and have the results written into an xml file....

View Article

Compatibility of flexunit 4.x with browser

Does the flexunit 4.x version supports different browsers like  internet explorer 8.0 , 9.0 and firefox ?

View Article


Unit 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 mx.validators::Validator$/validateAll()[E:\dev\4.x\frameworks\project...

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

Image may be NSFW.
Clik here to view.

The flexunit wiki main page is corrupted....

View Article
Browsing all 25673 articles
Browse latest View live


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