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 ArticleHow to override the advanceddatagridcolumn ??
Hi, allI have to override the advanceddatagridcolumn for new properties and functions. When i override the column , it can not be display when dragging into flex builder , but it can display when...
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 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...
View ArticleTesting with PopUps?
I have a need to write a test that involves validaing correct functionality of components that are displayed within PopUps. I feel like I'm missing something obvious, but what I am seeing is that the...
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 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 ArticleFU4.1RC2 - tests do not start executing with adl.exe
Hello again... I wanted to see if there was a known issue with FlexUnit4.1 RC2 when running AIR based tests with the "air" player option. What I am seeing is that adl.exe launches a window, and the...
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 ArticleWhy AIR presents debug dialog at launch?
Folks, I am using FU 4.1.0.8 and the <flexunit> Ant task to run some AIR based FlexUnit tests. The version of AIR is 3.1. I have staged a filesystem in which the tests are built and launched...
View ArticleFocusManager 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 ArticlecommitProperties testing
Hello! I have several UIComponents with overridden commitProperties function. When i use some property setter i need to wait for commitProperties to finish execution in order to test the results. How...
View ArticleFlexUnit 4.1.0-8 Error 1046
Hi, I'm using Eclipse Gallieo on Mac OS 10.6.8 with the Flash Builder 4 plugin. My project is using the Flex 4.5.0 SDK and I recently updated FlexUnit from 4.0 to 4.1.0-8. Now when I compile I get...
View ArticleFlexUnit 4.1 Error #1009 on Running Test Suite.
Hi Mike, I've not seen this problem with FlexUnit 4.1 before and it's got me a bit stumped :S All my tests error with the following stacktrace in the generated TEST.xml file: <testsuite...
View ArticleErrors 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 Articlejunitreport '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 ArticleWhy fpdownload.adobe.com/crossdomain.xml
Why are my flex apps asking for this file on page load? http://fpdownload.adobe.com/crossdomain.xml
View ArticleImplicit 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 ArticleXML Object Comparison
When comparing two XML objects, it appears that flexunit is reporting their equality when the values of XML elements are not equal. Here's a valid example: var xmlA:XML =<root>...
View ArticleTesting states in FlexUnit4
Hi, I'm trying to test a component that has a Skin with 2 states, this skin contains a Button (btnMyButton) with "includeIn='state1'" and a TextInput (txtMyText) with "includeIn='state2'". Clicking on...
View Article