Strange behaviour when running parameterized test
Hello,I am using Flex 4.5 and FlexUnit 4.1 inside of the Flashdevelop IDE and I am experiencing some very strange behaviour. If I have 5 parameters to my test the test runs fine. When I add a sixth...
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 ArticleI 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 ArticleproceedOnEvent() timeout waiting for creationComplete
Hello, I have a test case that will not run due to proceedOnEvent not seeing the desired event. Here's the test code: package com.mine.components.buttonBar{ import flexunit.framework.Assert;...
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 ArticleBuilding 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 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 ArticleSeems like a bug in TestRunner with passed assertions in Async Tests
Hello.I havn't find bugtracker for FlexUnit, and so do post here. Test runner doesn't show passed assertoins in async tests as it does with simple tests, but with fallingassertions - all good. With...
View ArticleHow to extend flash player session timeout?
Folks, We have a set of FlexUnit tests that are taking a long time to complete (there are a LOT of tests in the suite). After about an hour, the standalone flash player pops up a message warning that...
View ArticleANT Build script failing while generating junit style reports
Hi, Actually I got an ANT build script which does the following:1) compiles AS code and generates swc2) generate AS docs3) compiles flex unit reports4) Generate wrappers the last part is getting the...
View ArticleFlexUnit 4 Panel for CS5
At Max 2010, Ben Schmidtke gave a presentation in which he showed a FlexUnit 4 panel for Flash CS5. He said some Adobe engineers had expressed interest in it. Did anything become of it at all?
View ArticleAll async unit tests timeout
I am trying to run FlexUnit tests through Ant in a very simplified version of the sampleCLIProject. The tests pass when I compile through Flash Builder and timeout when I run them through Ant on...
View ArticleFlexUnit 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 ArticleFlexUnit 4 Ant Task Not Reporting Test Suites
The CIListener is outputting what is expected; i.e. the XML test data. However, the FlexUnit ant task seems to be dropping some of the tests, failing to output them in into JUnit reports. For instance,...
View ArticleBetter Async testing?
I've been doing a lot of async service testing lately and I'm trying to figure out the "correct" way of doing things. Imagine I have a simple backend with just two methods: createTeam() and...
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 ArticleExecute TestRunner on Server
I am completely new to Flex and FlexUnit. I am trying to execute a unit test that tests whether a rest webservice call generates the correct output. I am using the FlexUnit Ant task and I deploy the...
View ArticleFlash Builder 4 with Flex Unit 4
Can someone please post a example with Flex Unit 4 in Flash Builder 4 project. Thanks.Flex Bee.
View ArticleHow do setup FlexUnit in your CI build process on 64-Bit Linux
Hello everyone. I am trying to setup FlexUnit in my build process and am using Rackspace cloud servers for my build server. I only have the option of Linux 64 bit distros or Windows 32b/64b. I started...
View Article