Quantcast
Channel: Adobe Community: Message List - FlexUnit Development
Browsing all 104 articles
Browse latest View live

Re: FlexUnitTests in Flash Professional Project

Thanks for your helpful reply Ben. I decided that the work involved in executing the Unit tests manually may(well, you didn't describe the process so i am assuming it's a bit of work) be greater than...

View Article



flexunit breaks when using -load-config

1. I dump the compiler options using -dump-config=config.xml2. I then load those options using -load-config+=config.xml3. I can no longer right-click and 'Execute FlexUnit Test' The error says: unable...

View Article

Re: flexunit breaks when using -load-config

Update: This is for a Library project. It seems to work fine for a regular project.

View Article

Re: flexunit breaks when using -load-config

hi, sorry but i dont know that there is much we can do to help. this sound like a flash builder bug. these forums  are for the open source flexunit project. the execute flexunit stuff inside builder...

View Article

Re: flexunit breaks when using -load-config

As a workaround, could I create an ant task to run the tests for library projects?

View Article


Re: flexunit breaks when using -load-config

you can. the other thing you can do is make a separate regular project and add the tests in the library project as an additional source path to the project. that is what i generally do

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

Re: flexunit stage null reference

What is the object that 'this' refers to? Does that code exist on the main sprite, somewhere else? Glad to help just need a bit more info,Mike

View Article


Re: flexunit stage null reference

The previous code is in the creationComplete event function for my test runner. (I used the flexunit 4.1 turnkey example) The "this" is the runner application. Then in the test I would have:...

View Article


Re: flexunit stage null reference

Okay, a few things. If you are using Flex, you don't need to set the visualDisplayRoot. That is for ActionScript only projects. Second, display objects in Flash don't have access to the stage until...

View Article

How to use TestRunnerBase in pure AS3 / no MXML

Hi,is there a way to use the testRunnerBase GUI for a pure AS3 project, without a mxml? Thank you

View Article

Re: How to use TestRunnerBase in pure AS3 / no MXML

Hi, the testRunnerBase is a Flex application, so you can't use it in a pure AS3 environment without including all of the Flex dependencies.

View Article

Sequence Runner and Signals

I've got a unit test where I want to test reading from a local sqlite database.  Obviously I need to write a record before I can read it.  I've written the sequence below but I'm getting an...

View Article


Re: Sequence Runner and Signals

Oh I'm using FlashBuilder 4.5.

View Article

Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

Dear all, I developed my mobile andriod game in the flash builder burrito and suddenly I can't open it because of this error "Licensing for this product has expired"so I installed  flash builder 4.5...

View Article


Re: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

This question is probably better asked it the Flash Builder forum. However, my guess is that in the beta the installed SDK was called "Flex Hero" and in compiler settings for your project its set to...

View Article

Re: Flash Builder "unknow FLex SDK Flex Hero" problem(urgent)

Thanks Simeon Bateman! For all those who also trying to migrate for the Flashbuilder 4.5 here is the reference based on my experienced.After I did all these following steps it is working fine: *Changed...

View Article


Testing Application Components

I'm not sure if you are aware, but it is currently very difficult to test spark Application components using FlexUnit and the UIImpersonator. An application component can't simply be added to...

View Article

Re: Sequence Runner and Signals

Rather than using Signals, why don't you just nest your Sequences that you want to run? Something like this: var sr1:SequenceRunner=new SequenceRunner(this);var sr2:SequenceRunner=new...

View Article

Re: Testing Application Components

Which version of FlexUnit are you using? As of 4.1 we allowed the interface to have an addElement() which accepts spark components just like the Spark Application? Mike

View Article
Browsing all 104 articles
Browse latest View live




Latest Images