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 ArticleCreating 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 Articleenvironment 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 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 ArticleUploading 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 ArticleADL.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 ArticleTest 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 Articleflexunit 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 ArticleError 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 ArticleFlexUnit4 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 ArticleTesting 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 ArticleFlash 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 ArticleHow 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 ArticleFlexUnit 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 ArticleFlexunit + 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 ArticleHelp 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 ArticleCompatibility 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 ArticleUnit 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 ArticleMockito 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