Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

2018-04-13 Thread Alex Harui
Hi Mike,

Good to hear from you.  You might actually have commit privileges and can
skip the PR step.

FlexJS/Royale does launch FlashPlayer to test the SWF output and we aren't
noticing any issues.  But it could be that someone fixed this in our build
scripts.

Thanks,
-Alex

On 4/13/18, 12:51 PM, "Michael A. Labriola" <labri...@digitalprimates.net>
wrote:

>Alex-
>
>It's actually mainly just the compc target-player in the build.xml of the
>CI project. So the issue would only appear if trying to launch the a
>flash or air instance to run tests against.
>
>Cyril actually asked me this question (as noted about 5 years ago) and I
>completely missed it until today.
>
>The constant just needs to be moved to a property in the build.xml
>instead of coded inline. It was just an oversight that was never fixed.
>It's actually in 2 spots, the compile target and the report target. If I
>find time in the next week or so, I can try to get the PR in, else it
>really is just making a variable with a default and using it so that it
>can be passed in.
>
>Mike
>
>-Original Message-
>From: Alex Harui <aha...@adobe.com.INVALID>
>Sent: Tuesday, April 3, 2018 1:07 AM
>To: dev@flex.apache.org
>Subject: Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0
>
>I'm pretty sure Apache Flex and Apache Royale (FlexJS) are using FlexUnit
>without player 10.  You can take a look at how that is set up in the
>flex-sdk and royale-asjs/flex-asjs repos.
>
>HTH,
>-Alex
>
>On 4/2/18, 8:07 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote:
>
>>Hi Charles,
>>
>>Can you make pull request on GitHub with all the changes in FlexUnit?
>>
>>I can review it and maybe merge.
>>
>>Thanks,
>>Piotr
>>
>>On Tue, Apr 3, 2018, 01:33 doucettec <charles.douce...@hmhco.com> wrote:
>>
>>> 5 years later, I have the same problem.
>>> I am trying to use AIR SDK 21 with Flash version 21.
>>> We also try to run some Flex Unit tests.
>>> Since this has a hard-coded reference to version 10.0.0, I either
>>>have to  find that version of playerglobal.swc and install it to my
>>>current FLEX  SDK,  or I have to change the reference.
>>> I am currently leaning towards forking the flexunit repository and
>>>changing  the reference.
>>> Also - I am unable to find version 10.0 of playerglobal.swc, at least
>>>from  this website:
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.a
>>>dob
>>>e.com%2Fdevnet%2Farticles%2Fflashplayer-air-feature-list.html=02%
>>>7C0
>>>1%7Caharui%40adobe.com%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b
>>>344 
>>>38794aed2c178decee1%7C0%7C0%7C636583216484198532=RGjVOMKhDVc%2BY
>>>7jn
>>>Hq6G12huxCqONqXNXgLCEzTpBYs%3D=0
>>>
>>>
>>>
>>>
>>> --
>>> Sent from: 
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache
>>>-fl 
>>>ex-development.247.n4.nabble.com%2F=02%7C01%7Caharui%40adobe.
>>>com 
>>>%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b34438794aed2c178decee1
>>>%7C 
>>>0%7C0%7C636583216484198532=ZJ7CBBf1FjI1NSZUfIgIGRnT2Y%2BNmI3OPds
>>>KIl
>>>%2FuCfU%3D=0
>>>
>



RE: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

2018-04-13 Thread Michael A. Labriola
Alex-

It's actually mainly just the compc target-player in the build.xml of the CI 
project. So the issue would only appear if trying to launch the a flash or air 
instance to run tests against.

Cyril actually asked me this question (as noted about 5 years ago) and I 
completely missed it until today.

The constant just needs to be moved to a property in the build.xml instead of 
coded inline. It was just an oversight that was never fixed. It's actually in 2 
spots, the compile target and the report target. If I find time in the next 
week or so, I can try to get the PR in, else it really is just making a 
variable with a default and using it so that it can be passed in.

Mike

-Original Message-
From: Alex Harui <aha...@adobe.com.INVALID> 
Sent: Tuesday, April 3, 2018 1:07 AM
To: dev@flex.apache.org
Subject: Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

I'm pretty sure Apache Flex and Apache Royale (FlexJS) are using FlexUnit 
without player 10.  You can take a look at how that is set up in the flex-sdk 
and royale-asjs/flex-asjs repos.

HTH,
-Alex

On 4/2/18, 8:07 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote:

>Hi Charles,
>
>Can you make pull request on GitHub with all the changes in FlexUnit?
>
>I can review it and maybe merge.
>
>Thanks,
>Piotr
>
>On Tue, Apr 3, 2018, 01:33 doucettec <charles.douce...@hmhco.com> wrote:
>
>> 5 years later, I have the same problem.
>> I am trying to use AIR SDK 21 with Flash version 21.
>> We also try to run some Flex Unit tests.
>> Since this has a hard-coded reference to version 10.0.0, I either 
>>have to  find that version of playerglobal.swc and install it to my 
>>current FLEX  SDK,  or I have to change the reference.
>> I am currently leaning towards forking the flexunit repository and 
>>changing  the reference.
>> Also - I am unable to find version 10.0 of playerglobal.swc, at least 
>>from  this website:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.a
>>dob
>>e.com%2Fdevnet%2Farticles%2Fflashplayer-air-feature-list.html=02%
>>7C0
>>1%7Caharui%40adobe.com%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b
>>344 
>>38794aed2c178decee1%7C0%7C0%7C636583216484198532=RGjVOMKhDVc%2BY
>>7jn
>>Hq6G12huxCqONqXNXgLCEzTpBYs%3D=0
>>
>>
>>
>>
>> --
>> Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache
>>-fl 
>>ex-development.247.n4.nabble.com%2F=02%7C01%7Caharui%40adobe.
>>com 
>>%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b34438794aed2c178decee1
>>%7C 
>>0%7C0%7C636583216484198532=ZJ7CBBf1FjI1NSZUfIgIGRnT2Y%2BNmI3OPds
>>KIl
>>%2FuCfU%3D=0
>>



Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

2018-04-03 Thread Alex Harui
I'm pretty sure Apache Flex and Apache Royale (FlexJS) are using FlexUnit
without player 10.  You can take a look at how that is set up in the
flex-sdk and royale-asjs/flex-asjs repos.

HTH,
-Alex

On 4/2/18, 8:07 PM, "Piotr Zarzycki"  wrote:

>Hi Charles,
>
>Can you make pull request on GitHub with all the changes in FlexUnit?
>
>I can review it and maybe merge.
>
>Thanks,
>Piotr
>
>On Tue, Apr 3, 2018, 01:33 doucettec  wrote:
>
>> 5 years later, I have the same problem.
>> I am trying to use AIR SDK 21 with Flash version 21.
>> We also try to run some Flex Unit tests.
>> Since this has a hard-coded reference to version 10.0.0, I either have
>>to
>> find that version of playerglobal.swc and install it to my current FLEX
>> SDK,
>> or I have to change the reference.
>> I am currently leaning towards forking the flexunit repository and
>>changing
>> the reference.
>> Also - I am unable to find version 10.0 of playerglobal.swc, at least
>>from
>> this website:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.adob
>>e.com%2Fdevnet%2Farticles%2Fflashplayer-air-feature-list.html=02%7C0
>>1%7Caharui%40adobe.com%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b344
>>38794aed2c178decee1%7C0%7C0%7C636583216484198532=RGjVOMKhDVc%2BY7jn
>>Hq6G12huxCqONqXNXgLCEzTpBYs%3D=0
>>
>>
>>
>>
>> --
>> Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.247.n4.nabble.com%2F=02%7C01%7Caharui%40adobe.com
>>%7Cc78fe8bd2b2a4dbf84c908d5991007dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>>0%7C0%7C636583216484198532=ZJ7CBBf1FjI1NSZUfIgIGRnT2Y%2BNmI3OPdsKIl
>>%2FuCfU%3D=0
>>



Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

2018-04-02 Thread Piotr Zarzycki
Hi Charles,

Can you make pull request on GitHub with all the changes in FlexUnit?

I can review it and maybe merge.

Thanks,
Piotr

On Tue, Apr 3, 2018, 01:33 doucettec  wrote:

> 5 years later, I have the same problem.
> I am trying to use AIR SDK 21 with Flash version 21.
> We also try to run some Flex Unit tests.
> Since this has a hard-coded reference to version 10.0.0, I either have to
> find that version of playerglobal.swc and install it to my current FLEX
> SDK,
> or I have to change the reference.
> I am currently leaning towards forking the flexunit repository and changing
> the reference.
> Also - I am unable to find version 10.0 of playerglobal.swc, at least from
> this website:
> https://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html
>
>
>
>
> --
> Sent from: http://apache-flex-development.247.n4.nabble.com/
>


Re: FlexUnit - FlexUnit4AirCIListener targets player 10.0.0

2018-04-02 Thread doucettec
5 years later, I have the same problem.
I am trying to use AIR SDK 21 with Flash version 21.
We also try to run some Flex Unit tests.
Since this has a hard-coded reference to version 10.0.0, I either have to
find that version of playerglobal.swc and install it to my current FLEX SDK,
or I have to change the reference.
I am currently leaning towards forking the flexunit repository and changing
the reference.
Also - I am unable to find version 10.0 of playerglobal.swc, at least from
this website:
https://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html




--
Sent from: http://apache-flex-development.247.n4.nabble.com/


Re: [FLEXUNIT] Building

2016-03-28 Thread Peter Ent
Yes. If you do clean your flexunit project, be sure to manually but
hamcrest SWC into the libs folder. After that it built correctly. Not sure
how this affects people who get it from the repo and try to build it.

‹peter

On 3/28/16, 11:47 AM, "Alex Harui"  wrote:

>I think a lot of us are relying on the fact we have hamcrest cached in the
>right places.
>
>-Alex
>
>On 3/28/16, 8:19 AM, "Peter Ent"  wrote:
>
>>Anyone having trouble building Flexunit? I'm getting this failure:
>>
>>
>>download-zip:
>>
>>  [get] Getting:
>>https://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-f
>>l
>>ex-1.1.3.zip
>>
>>  [get] To: 
>>/Users/pent/dev/flex-flexunit/FlexUnit4/in/hamcrest-as3-flex-1.1.3.zip
>>
>>  [get] Error getting
>>https://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-f
>>l
>>ex-1.1.3.zip to 
>>/Users/pent/dev/flex-flexunit/FlexUnit4/in/hamcrest-as3-flex-1.1.3.zip
>>
>>I'm getting access-denined trying to reach the
>>https://cloud.github.com/downloads/drewbourne/hamcrest-as3 site.
>>
>>Thanks,
>>Peter Ent
>>Adobe Systems/Apache Flex Project
>



Re: [FLEXUNIT] Building

2016-03-28 Thread Alex Harui
I think a lot of us are relying on the fact we have hamcrest cached in the
right places.

-Alex

On 3/28/16, 8:19 AM, "Peter Ent"  wrote:

>Anyone having trouble building Flexunit? I'm getting this failure:
>
>
>download-zip:
>
>  [get] Getting:
>https://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-fl
>ex-1.1.3.zip
>
>  [get] To: 
>/Users/pent/dev/flex-flexunit/FlexUnit4/in/hamcrest-as3-flex-1.1.3.zip
>
>  [get] Error getting
>https://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-fl
>ex-1.1.3.zip to 
>/Users/pent/dev/flex-flexunit/FlexUnit4/in/hamcrest-as3-flex-1.1.3.zip
>
>I'm getting access-denined trying to reach the
>https://cloud.github.com/downloads/drewbourne/hamcrest-as3 site.
>
>Thanks,
>Peter Ent
>Adobe Systems/Apache Flex Project



Re: FlexUnit testing now built into the Flex SDK

2015-05-22 Thread Mihai Chira
Does anyone mind if I get the unit tests to start running as part of
the checkintests target?

On 10 December 2014 at 16:18, Tom Chiverton t...@extravision.com wrote:
 On 10/12/14 14:21, Erik de Bruin wrote:

   [flexunit] Using the following settings for compilation:
   [flexunit] FLEX_HOME: [c:\Jenkins\workspace\flex-sdk_test]
   [flexunit] player: [flash]


 Maybe that SDK hasn't been build with the new bits ?

 Tom


RE: FlexUnit Compatibility (was FlexUnit 4.3)

2015-04-19 Thread Michael A. Labriola
Chris,

FlexUnit was an independent open source project with a bunch of contributors, 
so when I said, 'we', I mean the people that developed and maintained FlexUnit.

Here is a quick summary of the issue:

* Flash Builder ships with a couple of jars that include its FlexUnit support
* In those jars, they have buried some ActionScript templates which they use to 
generate a wrapper that wraps FlexUnit 1.x or 4.x so that it could use either
* The wrapper instantiates the FlexUnit core and stores it as a private variable
* The wrapper doesn't have any hooks to access the FlexUnit core directly

This causes a few issues.

* FlexUnit was designed to have configuration parameters passed to the core, 
which we can't access
* Without the ability to have information passed to the core, we get into a 
dependency lookup scenario, which becomes problematic with variable dependencies

As a concrete example of the latter:

In an AS-only application, we need to get a reference to the stage, and add a 
movieclip, to allow the UI testing to occur
In a Flex application, we need to get reference to the top level application, 
and add a container, to allow the UI testing to occur

The FlexUnit core doesn't really care, it allows you to pass whatever you like, 
however, since we can't pass config parameters to the core, FlexUnit tries to 
'decide' what's going on, so if it doesn’t see any flex related classes, it 
assumes its AS only and there are actually issues trying to get to the 
stage. If it’s a Flex 3 application, it tries to add an mx..Container. If it’s 
a mixed mx/spark app, it tries to add an mx..Container. If it’s a Spark only 
app, it tries to add a Group. This is my major thorn in fixing the new 
application domain thing, because I can't do these checks anymore in this way 
and really wouldn't want to anyway.

This has been a thorn in my side since Flash Builder shipped with this support 
because it's made us have to compromise and work around things. Further, a good 
portion of the functionality isn't available to all users because they never 
have access to configure the core and I am not sure how we can get to the 
separate application domains. That said, I also assumed we wouldn't want to 
break Flash Builder support, but it means we would need to do one of two things:

1) Patch the jars that ship with Flash Builder to change this template and 
associated madness.
a) If we did so, we would no longer have any issues regarding separate 
builds and application domains could work with minimal changes
b) there are also 5 or 6 known bugs that would effectively disappear 
and I would be much happier with the state of it all
2) Figure out a new way to 'lookup' our state but I fear that there will always 
be a caveat with this approach
a) we could invent some new meta data on the suite which indicates the 
environment
b) we could try to invent some new way to get the stage in an AS only 
application
c) I am not sure we can ever eliminate all of the issues

Mike


-Original Message-
From: Christofer Dutz [mailto:christofer.d...@c-ware.de] 
Sent: Sunday, April 19, 2015 2:55 AM
To: dev@flex.apache.org
Subject: AW: FlexUnit Compatibility (was FlexUnit 4.3)

Hi Michael,

I doubt that people here on the list will support the dropping of FB 
compatability as it still is one of the major IDEs for building Flex 
applications.

I have to admit that I didn't quite grasp the problem you were having. Did I 
get this correct: With we you are refering to you and the company you work 
for? Would It be possible to rearange things? Sort of having a nice and tidy 
core library and have one fb-compatability lib to make FB work with FlexUnit? 
If you could provide a little more details, perhaps we could work out an option 
4

Chris


-Ursprüngliche Nachricht-
Von: Michael A. Labriola [mailto:labri...@digitalprimates.net] 
Gesendet: Sonntag, 19. April 2015 05:06
An: dev@flex.apache.org
Betreff: FlexUnit Compatibility (was FlexUnit 4.3)

Question for the group:

The FlexUnit dependencies could be a lot cleaner but right now we have static 
classes that reach out to try to figure out if it's an AS only application or a 
Flex application among other things. The reason we do this is that Flash 
Builder has a wrapper for the FlexUnit classes they generate. It doesn't allow 
any direct access to the FlexUnit core which is where things are configured. 
So, as we tried to keep the FlashBuilder compatibility and add features, we had 
to do so knowing we couldn't get things passed in... so... here is the question:

I can make this all cleaner and so much easier... but doing so will break 
compatibility with Flash Builder. Long ago, we actually decompiled the Flash 
Builder jars and provided Adobe a fix that would let us handle this better but 
there wasn't traction to ever get it released. So, we could 

1) break compatibility and then subsequently provide some solution via a hacky 
flash 

RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-03-03 Thread Michael A. Labriola
checkfirstBaselineOffset and checkColumnWidthOnGapChangeTest

I will create - https://paste.apache.org/7Qka

This is pretty close to what I was suggesting in my original comment.

Mike



RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-03-03 Thread piotrz
Michael,

I've just committed my changes and applied it to one test class. You can
take a look into that.

I'm filtering data inside loader based on the tests name:

https://git1-us-west.apache.org/repos/asf?p=flex-tlf.git;a=commit;h=6155a8ab

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FLEXUNIT-TLF-Problem-with-applying-appropriate-data-for-tests-tp45201p45390.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-03-02 Thread piotrz
One solution which came up to my mind is create for every test's methods data
loader.

So for example if we have two test methods which has some configuration:

checkfirstBaselineOffset and checkColumnWidthOnGapChangeTest

I will create - https://paste.apache.org/7Qka

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FLEXUNIT-TLF-Problem-with-applying-appropriate-data-for-tests-tp45201p45343.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: [FLEXUNIT, TLF] Problem with applying appropriate data for tests

2015-02-28 Thread piotrz
Hi Michael,

I did my own custom data loader and it's working fine. I will describe you
everything on a simpler example. Maybe I don't understand something.

1) I've created my Test class 

https://paste.apache.org/juCo

My TestConfigurationLoader class loading data from xml into my data
provider dp. Inside my loader I'm parsing xml and create custom Vo
objects. My array will have 188 objects after parsing.

2) I'm creating a custom Rule - As you probably know Rule is launching
before any test method class is launch. 

https://paste.apache.org/8TUw

I'm removing items from array - Leave only one.

3) First test is launching testTest. I see in the debugger that in my data
provider dp I have 1 item, but my test is launching 188 times. Why ? -
This is the point which I don't understand. Any idea ?

Piotr





-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FLEXUNIT-TLF-Problem-with-applying-appropriate-data-for-tests-tp45201p45312.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexUnit testing now built into the Flex SDK

2014-12-10 Thread Erik de Bruin
Ah, and before I forget: I have added a new job to the build VM that
runs all tests on every commit or once daily (like the other jobs).

EdB



On Wed, Dec 10, 2014 at 2:17 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Hi,

 While working on the Promise class, I very much wanted to be able to
 use FlexUnit to test the code. As I could not find SDK wide support
 for FlexUnit, I went ahead and started building it.

 I'm working on an article [1] that will eventually explain it all,
 here is the rough guide:

 1) the main build script now has a target 'test'; this target is not
 part of the 'main' run and does nothing but call:
 2) the frameworks build script's 'test' target, which clean the
 previous test reports and calls any test targets ('xxx-test') that may
 exist, which in turn call:
 3) the project build script's 'test' target, that set up the project
 specific properties and calls back to:
 4) 'flexunit-tests.xml' in the SDK root. This file is where the magic
 happens. Based on the input from the project build script, it runs any
 FlexUnit tests that have been set up for that project and reports back
 success or fail.

 Any projects for which we want to add FlexUnit tests can easily hook
 into this system by adding the tests and add a copy of the 'test'
 target to their build script.

 EdB

 1: https://cwiki.apache.org/confluence/x/c4H_Ag



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: FlexUnit testing now built into the Flex SDK

2014-12-10 Thread Erik de Bruin
And, like it's software development or something, stuff is not working
on the CI machine. This is my ant 'stack trace':

test-run:
 [echo] Unit tests for
'c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache'
 [flexunit] Validating task attributes ...
 [flexunit] Generating default values ...
 [flexunit] Using default reporting dir
[c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache]
 [flexunit] Using the following settings for compilation:
 [flexunit] FLEX_HOME: [c:\Jenkins\workspace\flex-sdk_test]
 [flexunit] player: [flash]
 [flexunit] sourceDirectories:
[c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\src]
 [flexunit] testSourceDirectories:
[c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\src]
 [flexunit] libraries:
[c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\bin\flexunit-4.3.0-20140410-as3_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\bin\flexunit-4.3.0-20140410-flex_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-flex_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4CIListener\target\bin\flexunit-cilistener-4.3.0-20140410-4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4CIListener\target\flexunit-cilistener-4.3.0-20140410-4.12.0.swc]

BUILD FAILED
c:\Jenkins\workspace\flex-sdk_test\build.xml:2005: The following error
occurred while executing this line:
c:\Jenkins\workspace\flex-sdk_test\frameworks\build.xml:141: The
following error occurred while executing this line:
c:\Jenkins\workspace\flex-sdk_test\frameworks\build.xml:513: The
following error occurred while executing this line:
c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\build.xml:192:
The following error occurred while executing this line:
c:\Jenkins\workspace\flex-sdk_test\flexunit-tests.xml:74: Could not
create test runner from template.

Any ideas?

EdB



On Wed, Dec 10, 2014 at 2:20 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Ah, and before I forget: I have added a new job to the build VM that
 runs all tests on every commit or once daily (like the other jobs).

 EdB



 On Wed, Dec 10, 2014 at 2:17 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Hi,

 While working on the Promise class, I very much wanted to be able to
 use FlexUnit to test the code. As I could not find SDK wide support
 for FlexUnit, I went ahead and started building it.

 I'm working on an article [1] that will eventually explain it all,
 here is the rough guide:

 1) the main build script now has a target 'test'; this target is not
 part of the 'main' run and does nothing but call:
 2) the frameworks build script's 'test' target, which clean the
 previous test reports and calls any test targets ('xxx-test') that may
 exist, which in turn call:
 3) the project build script's 'test' target, that set up the project
 specific properties and calls back to:
 4) 'flexunit-tests.xml' in the SDK root. This file is where the magic
 happens. Based on the input from the project build script, it runs any
 FlexUnit tests that have been set up for that project and reports back
 success or fail.

 Any projects for which we want to add FlexUnit tests can easily hook
 into this system by adding the tests and add a copy of the 'test'
 target to their build script.

 EdB

 1: https://cwiki.apache.org/confluence/x/c4H_Ag



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: FlexUnit testing now built into the Flex SDK

2014-12-10 Thread Erik de Bruin
Doh! First build the SDK, dude ;-)

All is well now, the tests run cleanly on the CI server.

EdB


On Wed, Dec 10, 2014 at 3:21 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 And, like it's software development or something, stuff is not working
 on the CI machine. This is my ant 'stack trace':

 test-run:
  [echo] Unit tests for
 'c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache'
  [flexunit] Validating task attributes ...
  [flexunit] Generating default values ...
  [flexunit] Using default reporting dir
 [c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache]
  [flexunit] Using the following settings for compilation:
  [flexunit] FLEX_HOME: [c:\Jenkins\workspace\flex-sdk_test]
  [flexunit] player: [flash]
  [flexunit] sourceDirectories:
 [c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\src]
  [flexunit] testSourceDirectories:
 [c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\src]
  [flexunit] libraries:
 [c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\bin\flexunit-4.3.0-20140410-as3_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\bin\flexunit-4.3.0-20140410-flex_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-as3_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4\target\flexunit-4.3.0-20140410-flex_4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4CIListener\target\bin\flexunit-cilistener-4.3.0-20140410-4.12.0.swc,c:\Jenkins\workspace\flex-flexunit\FlexUnit4CIListener\target\flexunit-cilistener-4.3.0-20140410-4.12.0.swc]

 BUILD FAILED
 c:\Jenkins\workspace\flex-sdk_test\build.xml:2005: The following error
 occurred while executing this line:
 c:\Jenkins\workspace\flex-sdk_test\frameworks\build.xml:141: The
 following error occurred while executing this line:
 c:\Jenkins\workspace\flex-sdk_test\frameworks\build.xml:513: The
 following error occurred while executing this line:
 c:\Jenkins\workspace\flex-sdk_test\frameworks\projects\apache\build.xml:192:
 The following error occurred while executing this line:
 c:\Jenkins\workspace\flex-sdk_test\flexunit-tests.xml:74: Could not
 create test runner from template.

 Any ideas?

 EdB



 On Wed, Dec 10, 2014 at 2:20 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Ah, and before I forget: I have added a new job to the build VM that
 runs all tests on every commit or once daily (like the other jobs).

 EdB



 On Wed, Dec 10, 2014 at 2:17 PM, Erik de Bruin e...@ixsoftware.nl wrote:
 Hi,

 While working on the Promise class, I very much wanted to be able to
 use FlexUnit to test the code. As I could not find SDK wide support
 for FlexUnit, I went ahead and started building it.

 I'm working on an article [1] that will eventually explain it all,
 here is the rough guide:

 1) the main build script now has a target 'test'; this target is not
 part of the 'main' run and does nothing but call:
 2) the frameworks build script's 'test' target, which clean the
 previous test reports and calls any test targets ('xxx-test') that may
 exist, which in turn call:
 3) the project build script's 'test' target, that set up the project
 specific properties and calls back to:
 4) 'flexunit-tests.xml' in the SDK root. This file is where the magic
 happens. Based on the input from the project build script, it runs any
 FlexUnit tests that have been set up for that project and reports back
 success or fail.

 Any projects for which we want to add FlexUnit tests can easily hook
 into this system by adding the tests and add a copy of the 'test'
 target to their build script.

 EdB

 1: https://cwiki.apache.org/confluence/x/c4H_Ag



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: FlexUnit testing now built into the Flex SDK

2014-12-10 Thread Tom Chiverton

On 10/12/14 14:21, Erik de Bruin wrote:

  [flexunit] Using the following settings for compilation:
  [flexunit] FLEX_HOME: [c:\Jenkins\workspace\flex-sdk_test]
  [flexunit] player: [flash]


Maybe that SDK hasn't been build with the new bits ?

Tom


Re: FlexUnit Adoble forums

2014-10-13 Thread Harbs
I’m a moderator on the forums and used to have rights to modify the forums, but 
they pulled the admin rights for moderators who are not Adobe employees after 
someone messed something up with the forums.

Alex, being an employee, you can probably get admin rights. Adjusting the forum 
is pretty easy to do and I can direct you. If you’d like to get admin rights 
(and don’t already have them), I can probably put in a word…

Harbs

On Oct 13, 2014, at 8:22 AM, Alex Harui aha...@adobe.com wrote:

 It didn’t look like anyone has posted there in 5 months, or am I not
 looking at the data correctly?  Maybe folks have already figured out to
 ask for help elsewhere.
 
 Are you proposing that Adobe should modify the web page at the link you
 posted to make it more clear that FlexUnit is now at Apache?  Would it be
 sufficient to just post on the forum that Flex is at Apache?  I’m not sure
 what it would take to get the template adjusted just for the FlexUnit
 forum.  I still visit the main Flex forum every couple of days and if I
 see an opportunity to guide folks over to Apache then I do so.  That’s
 probably less hassle than trying to get the Adobe Forum folks to modify
 the page for FlexUnit.
 
 -Alex
 
 On 10/12/14, 3:45 PM, Justin Mclean jus...@classsoftware.com wrote:
 
 Hi,
 
 Anyone know who we need to talk to at Adobe to have some text/links to
 our discussion forums/email list? I'm fairly certain that not many Flex
 developers are handing out on those forums and users will probably get
 better support here.
 
 Thanks,
 Justin
 
 1. https://forums.adobe.com/community/opensource/flexunit
 



Re: FlexUnit Adoble forums

2014-10-13 Thread Alex Harui


On 10/13/14, 11:19 AM, Harbs harbs.li...@gmail.com wrote:

I’m a moderator on the forums and used to have rights to modify the
forums, but they pulled the admin rights for moderators who are not Adobe
employees after someone messed something up with the forums.

Alex, being an employee, you can probably get admin rights. Adjusting the
forum is pretty easy to do and I can direct you. If you’d like to get
admin rights (and don’t already have them), I can probably put in a word…

IMO, the question is: is it worth your time and my time to figure out how
to make these changes given that nobody has posted there for 5 months?

-Alex



Re: FlexUnit Adoble forums

2014-10-13 Thread Harbs
Probably not...

It might be worthwhile posting a forum post (or announcement) that the code was 
donated to Apache. I can add an announcement if we want.

On Oct 13, 2014, at 10:31 PM, Alex Harui aha...@adobe.com wrote:

 
 
 On 10/13/14, 11:19 AM, Harbs harbs.li...@gmail.com wrote:
 
 I’m a moderator on the forums and used to have rights to modify the
 forums, but they pulled the admin rights for moderators who are not Adobe
 employees after someone messed something up with the forums.
 
 Alex, being an employee, you can probably get admin rights. Adjusting the
 forum is pretty easy to do and I can direct you. If you’d like to get
 admin rights (and don’t already have them), I can probably put in a word…
 
 IMO, the question is: is it worth your time and my time to figure out how
 to make these changes given that nobody has posted there for 5 months?
 
 -Alex
 



Re: FlexUnit Adoble forums

2014-10-13 Thread Alex Harui


On 10/13/14, 12:42 PM, Harbs harbs.li...@gmail.com wrote:

Probably not...

It might be worthwhile posting a forum post (or announcement) that the
code was donated to Apache. I can add an announcement if we want.
Sounds good to me, please do it!

-Alex



Re: FlexUnit Adoble forums

2014-10-13 Thread Harbs
Okay. Done.

On Oct 13, 2014, at 10:51 PM, Alex Harui aha...@adobe.com wrote:

 
 
 On 10/13/14, 12:42 PM, Harbs harbs.li...@gmail.com wrote:
 
 Probably not...
 
 It might be worthwhile posting a forum post (or announcement) that the
 code was donated to Apache. I can add an announcement if we want.
 Sounds good to me, please do it!
 
 -Alex
 



Re: FlexUnit Adoble forums

2014-10-13 Thread Harbs
We probably should add similar announcements to the rest of the Flex forums. If 
someone comes up with wording, I’ll be happy to post them.

On Oct 13, 2014, at 11:08 PM, Harbs harbs.li...@gmail.com wrote:

 Okay. Done.
 
 On Oct 13, 2014, at 10:51 PM, Alex Harui aha...@adobe.com wrote:
 
 
 
 On 10/13/14, 12:42 PM, Harbs harbs.li...@gmail.com wrote:
 
 Probably not...
 
 It might be worthwhile posting a forum post (or announcement) that the
 code was donated to Apache. I can add an announcement if we want.
 Sounds good to me, please do it!
 
 -Alex
 
 



Re: FlexUnit Adoble forums

2014-10-13 Thread Alex Harui


On 10/13/14, 1:17 PM, Harbs harbs.li...@gmail.com wrote:

We probably should add similar announcements to the rest of the Flex
forums. If someone comes up with wording, I’ll be happy to post them.
Well, the Adobe Flex forum is still active, folks who are using Adobe
versions of Flex are welcome to post there, and folks besides me are
providing answers, so whatever gets posted there probably shouldn’t try as
hard to discourage future posting there.

I check on that forum several times during the week and if I see an
opportunity to point folks to Apache I do so.  I think that’s sufficient.
I don’t think we should post on the Flash Builder forum.  I haven’t looked
at the other forums.  FlexUnit might be a special case because it wasn’t
supporting Adobe-owned code.

-Alex



Re: FlexUnit Adoble forums

2014-10-12 Thread Alex Harui
It didn’t look like anyone has posted there in 5 months, or am I not
looking at the data correctly?  Maybe folks have already figured out to
ask for help elsewhere.

Are you proposing that Adobe should modify the web page at the link you
posted to make it more clear that FlexUnit is now at Apache?  Would it be
sufficient to just post on the forum that Flex is at Apache?  I’m not sure
what it would take to get the template adjusted just for the FlexUnit
forum.  I still visit the main Flex forum every couple of days and if I
see an opportunity to guide folks over to Apache then I do so.  That’s
probably less hassle than trying to get the Adobe Forum folks to modify
the page for FlexUnit.

-Alex

On 10/12/14, 3:45 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Anyone know who we need to talk to at Adobe to have some text/links to
our discussion forums/email list? I'm fairly certain that not many Flex
developers are handing out on those forums and users will probably get
better support here.

Thanks,
Justin

1. https://forums.adobe.com/community/opensource/flexunit



RE: FlexUnit Training on website and Flash Builder 4.7

2014-09-19 Thread Michael A. Labriola
Does anyone have an idea of which Flex SDK was used for the examples?

It was probably the original 4.0 SDK


Re: FlexUnit Training on website and Flash Builder 4.7

2014-08-26 Thread Chris Martin
Does anyone have an idea of which Flex SDK was used for the examples?

Chris


On Mon, Aug 25, 2014 at 1:48 PM, Chris Martin windo...@gmail.com wrote:

 Thanks Michael, will do! :D


 On Mon, Aug 25, 2014 at 12:44 PM, Mihai Chira mihai.ch...@gmail.com
 wrote:

 +1
 On 23 Aug 2014 04:54, Alex Harui aha...@adobe.com wrote:

  +1
 
  On 8/22/14 8:04 PM, Justin Mclean jus...@classsoftware.com wrote:
 
  Hi,
  
   Started to think about updating the tutorial to also walk them
 through
  the
   UI differences too.  Before I get too far into this, I wanted to run
 it
   past the team.  Is it cool if I go ahead and update the tutorials to
  also
   include the variations in FB 4.7 versus FB 4.6?
  
  No issues here +1 by me.
  
  Thanks,
  Justin
  
 
 





Re: FlexUnit Training on website and Flash Builder 4.7

2014-08-25 Thread Mihai Chira
+1
On 23 Aug 2014 04:54, Alex Harui aha...@adobe.com wrote:

 +1

 On 8/22/14 8:04 PM, Justin Mclean jus...@classsoftware.com wrote:

 Hi,
 
  Started to think about updating the tutorial to also walk them through
 the
  UI differences too.  Before I get too far into this, I wanted to run it
  past the team.  Is it cool if I go ahead and update the tutorials to
 also
  include the variations in FB 4.7 versus FB 4.6?
 
 No issues here +1 by me.
 
 Thanks,
 Justin
 




Re: FlexUnit Training on website and Flash Builder 4.7

2014-08-25 Thread Chris Martin
Thanks Michael, will do! :D


On Mon, Aug 25, 2014 at 12:44 PM, Mihai Chira mihai.ch...@gmail.com wrote:

 +1
 On 23 Aug 2014 04:54, Alex Harui aha...@adobe.com wrote:

  +1
 
  On 8/22/14 8:04 PM, Justin Mclean jus...@classsoftware.com wrote:
 
  Hi,
  
   Started to think about updating the tutorial to also walk them through
  the
   UI differences too.  Before I get too far into this, I wanted to run
 it
   past the team.  Is it cool if I go ahead and update the tutorials to
  also
   include the variations in FB 4.7 versus FB 4.6?
  
  No issues here +1 by me.
  
  Thanks,
  Justin
  
 
 



RE: FlexUnit Training on website and Flash Builder 4.7

2014-08-23 Thread Michael A. Labriola
Started to think about updating the tutorial to also walk them through the UI 
differences too.  Before I get too far into this, I wanted to run it past the 
team.  Is it cool if I go ahead and update the tutorials to also include the 
variations in FB 4.7 versus FB 4.6?

I don't have time to work with you on this but I am willing to be a resource in 
_any_ way I can help. Any questions, comments or conversations you want to 
have, I will make time to address. If there are things we can plan to fix to 
make anything smoother I can at least help get the Jira issues in or point 
someone in the right direction. As of late, I have been a bit overwhelmed with 
client work but if there are ways I can help you be more successful, please let 
me know and I will find a way.

Thanks for working on this,
Mike



Re: FlexUnit Training on website and Flash Builder 4.7

2014-08-22 Thread Justin Mclean
Hi,

 Started to think about updating the tutorial to also walk them through the
 UI differences too.  Before I get too far into this, I wanted to run it
 past the team.  Is it cool if I go ahead and update the tutorials to also
 include the variations in FB 4.7 versus FB 4.6?

No issues here +1 by me.

Thanks,
Justin



Re: FlexUnit Training on website and Flash Builder 4.7

2014-08-22 Thread Alex Harui
+1

On 8/22/14 8:04 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 Started to think about updating the tutorial to also walk them through
the
 UI differences too.  Before I get too far into this, I wanted to run it
 past the team.  Is it cool if I go ahead and update the tutorials to
also
 include the variations in FB 4.7 versus FB 4.6?

No issues here +1 by me.

Thanks,
Justin




RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?

2014-06-19 Thread Frédéric THOMAS
Well, it seems the answer is to create more SequenceRunner :P

Frédéric THOMAS

 From: webdoubl...@hotmail.com
 To: dev@flex.apache.org
 Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
 Date: Thu, 19 Jun 2014 16:23:10 +0100
 
 I meant, 
 It looks like it uses the first addAssertHandler in both cases.
 Frédéric THOMAS
 
  From: webdoubl...@hotmail.com
  To: dev@flex.apache.org
  Subject: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
  Date: Thu, 19 Jun 2014 16:18:27 +0100
  
  Hi,
  
  I'm trying to use the SequenceRunner for the first time and facing a 
  problem, it seems I can't have more than one addAssertHandler by 
  SequenceRunner:
  
  It looks like it uses the last addAssertHandler in both cases.
  
  [Test(async, description=Verify the Thread State sequence 
  New-Running-Terminated)]
  public function testNewToRunningToTerminate():void {
  testStateNew();
  
  const runner:SequenceRunner = new SequenceRunner(this);
  
  runner.addStep(new SequenceCaller(_thread, _thread.start));
  runner.addStep(new SequenceWaiter(_thread, 
  ThreadStateEvent.THREAD_STATE, 2000));
  
  // If I comment this one, everything works as expected.
  runner.addAssertHandler(thread_stateRunning, null);
  
  runner.addStep(new SequenceWaiter(_thread, 
  ThreadResultEvent.RESULT, 2000));
  
  runner.addStep(new SequenceCaller(_thread, _thread.terminate));
  runner.addStep(new SequenceWaiter(_thread, 
  ThreadStateEvent.THREAD_STATE, 2000));
  runner.addAssertHandler(thread_stateTerminate, null);
  
  runner.run();
  }
  
  private function thread_stateRunning(e:ThreadStateEvent, 
  passThroughData:Object = null):void {
  testStateRunning();
  }
  
  private function thread_stateTerminate(e:ThreadStateEvent, 
  passThroughData:Object = null):void {
  testStateTerminated();
  }
  
  What did I miss ?
  How can I manage that ?
  
  Frédéric THOMAS   
 
  

RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?

2014-06-19 Thread Frédéric THOMAS
Actually, unfortunately, it seems it is the same, I still need help on it then:



[Test(async, description=Verify the Thread State sequence 
New-Running-Terminated)]
public function testNewToRunningToTerminate():void {
testStateNew();

const startRunner:SequenceRunner = createStateSequenceRunner(_thread, 
_thread.start, thread_stateRunning);
startRunner.run();

const terminateRunner:SequenceRunner = 
createStateSequenceRunner(_thread, _thread.terminate, thread_stateTerminate);
terminateRunner.run();
}

private function createStateSequenceRunner(target:IEventDispatcher, 
method:Function, assertHandler:Function, args:Array = null, 
argsFunction:Function = null, timeout:int = 500):SequenceRunner {
const runner:SequenceRunner = new SequenceRunner(this);

runner.addStep(new SequenceCaller(target, method, args, argsFunction));
runner.addStep(new SequenceWaiter(target, 
ThreadStateEvent.THREAD_STATE, timeout));
runner.addAssertHandler(assertHandler, null);

return runner;
}

Frédéric THOMAS

 From: webdoubl...@hotmail.com
 To: dev@flex.apache.org
 Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
 Date: Thu, 19 Jun 2014 16:43:05 +0100
 
 Well, it seems the answer is to create more SequenceRunner :P
 
 Frédéric THOMAS
 
  From: webdoubl...@hotmail.com
  To: dev@flex.apache.org
  Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
  Date: Thu, 19 Jun 2014 16:23:10 +0100
  
  I meant, 
  It looks like it uses the first addAssertHandler in both cases.
  Frédéric THOMAS
  
   From: webdoubl...@hotmail.com
   To: dev@flex.apache.org
   Subject: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
   Date: Thu, 19 Jun 2014 16:18:27 +0100
   
   Hi,
   
   I'm trying to use the SequenceRunner for the first time and facing a 
   problem, it seems I can't have more than one addAssertHandler by 
   SequenceRunner:
   
   It looks like it uses the last addAssertHandler in both cases.
   
   [Test(async, description=Verify the Thread State sequence 
   New-Running-Terminated)]
   public function testNewToRunningToTerminate():void {
   testStateNew();
   
   const runner:SequenceRunner = new SequenceRunner(this);
   
   runner.addStep(new SequenceCaller(_thread, _thread.start));
   runner.addStep(new SequenceWaiter(_thread, 
   ThreadStateEvent.THREAD_STATE, 2000));
   
   // If I comment this one, everything works as expected.
   runner.addAssertHandler(thread_stateRunning, null);
   
   runner.addStep(new SequenceWaiter(_thread, 
   ThreadResultEvent.RESULT, 2000));
   
   runner.addStep(new SequenceCaller(_thread, _thread.terminate));
   runner.addStep(new SequenceWaiter(_thread, 
   ThreadStateEvent.THREAD_STATE, 2000));
   runner.addAssertHandler(thread_stateTerminate, null);
   
   runner.run();
   }
   
   private function thread_stateRunning(e:ThreadStateEvent, 
   passThroughData:Object = null):void {
   testStateRunning();
   }
   
   private function thread_stateTerminate(e:ThreadStateEvent, 
   passThroughData:Object = null):void {
   testStateTerminated();
   }
   
   What did I miss ?
   How can I manage that ?
   
   Frédéric THOMAS 

 
  

RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?

2014-06-19 Thread Frédéric THOMAS
I ended up creating one test method by sequence I wanted to test and it works 
well.

Frédéric THOMAS

 From: webdoubl...@hotmail.com
 To: dev@flex.apache.org
 Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
 Date: Thu, 19 Jun 2014 17:35:17 +0100
 
 Actually, unfortunately, it seems it is the same, I still need help on it 
 then:
 
 
 
 [Test(async, description=Verify the Thread State sequence 
 New-Running-Terminated)]
 public function testNewToRunningToTerminate():void {
 testStateNew();
 
 const startRunner:SequenceRunner = createStateSequenceRunner(_thread, 
 _thread.start, thread_stateRunning);
 startRunner.run();
 
 const terminateRunner:SequenceRunner = 
 createStateSequenceRunner(_thread, _thread.terminate, thread_stateTerminate);
 terminateRunner.run();
 }
 
 private function createStateSequenceRunner(target:IEventDispatcher, 
 method:Function, assertHandler:Function, args:Array = null, 
 argsFunction:Function = null, timeout:int = 500):SequenceRunner {
 const runner:SequenceRunner = new SequenceRunner(this);
 
 runner.addStep(new SequenceCaller(target, method, args, 
 argsFunction));
 runner.addStep(new SequenceWaiter(target, 
 ThreadStateEvent.THREAD_STATE, timeout));
 runner.addAssertHandler(assertHandler, null);
 
 return runner;
 }
 
 Frédéric THOMAS
 
  From: webdoubl...@hotmail.com
  To: dev@flex.apache.org
  Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
  Date: Thu, 19 Jun 2014 16:43:05 +0100
  
  Well, it seems the answer is to create more SequenceRunner :P
  
  Frédéric THOMAS
  
   From: webdoubl...@hotmail.com
   To: dev@flex.apache.org
   Subject: RE: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
   Date: Thu, 19 Jun 2014 16:23:10 +0100
   
   I meant, 
   It looks like it uses the first addAssertHandler in both cases.
   Frédéric THOMAS
   
From: webdoubl...@hotmail.com
To: dev@flex.apache.org
Subject: [FlexUnit] More than 1 SequenceRunner.addAssertHandler ?
Date: Thu, 19 Jun 2014 16:18:27 +0100

Hi,

I'm trying to use the SequenceRunner for the first time and facing a 
problem, it seems I can't have more than one addAssertHandler by 
SequenceRunner:

It looks like it uses the last addAssertHandler in both cases.

[Test(async, description=Verify the Thread State sequence 
New-Running-Terminated)]
public function testNewToRunningToTerminate():void {
testStateNew();

const runner:SequenceRunner = new SequenceRunner(this);

runner.addStep(new SequenceCaller(_thread, _thread.start));
runner.addStep(new SequenceWaiter(_thread, 
ThreadStateEvent.THREAD_STATE, 2000));

// If I comment this one, everything works as expected.
runner.addAssertHandler(thread_stateRunning, null);

runner.addStep(new SequenceWaiter(_thread, 
ThreadResultEvent.RESULT, 2000));

runner.addStep(new SequenceCaller(_thread, _thread.terminate));
runner.addStep(new SequenceWaiter(_thread, 
ThreadStateEvent.THREAD_STATE, 2000));
runner.addAssertHandler(thread_stateTerminate, null);

runner.run();
}

private function thread_stateRunning(e:ThreadStateEvent, 
passThroughData:Object = null):void {
testStateRunning();
}

private function thread_stateTerminate(e:ThreadStateEvent, 
passThroughData:Object = null):void {
testStateTerminated();
}

What did I miss ?
How can I manage that ?

Frédéric THOMAS   
   

 
  

RE: FlexUnit 4.3 prepared to be able to do Maven Releases

2014-04-27 Thread Michael A. Labriola
Ok ... glad to help. 
But I have to admit that I have never done an Apache release before. 
So a little coaching from you guys would be great :)

Side note, I would like to get one bug fix in before we release too. After this 
release, I think we should update Mockolate and Hamcrest version compatibility 
as well.

Mike



Re: FlexUnit 4.3 prepared to be able to do Maven Releases

2014-04-27 Thread Erik de Bruin

 I wasn't expecting us to push out the door a new release one week after
 the last :-)


Well, the first one was a 'parity' release, mostly. I think it would be a
big plus if we could do another release so soon after this one, as it shows
the bits are in active development!

Great job.

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


RE: FlexUnit 4.3 prepared to be able to do Maven Releases

2014-04-26 Thread Frédéric THOMAS
Cool :-)

Frédéric THOMAS

 From: christofer.d...@c-ware.de
 To: dev@flex.apache.org
 Subject: FlexUnit 4.3 prepared to be able to do Maven Releases
 Date: Sat, 26 Apr 2014 15:54:11 +
 
 Ok ... so I got further than I expected today ... Actually I'm finished :-)
 
 
 
 What I changed:
 
 - Updated the metadata in the pom.template to match the requirements of 
 Apache releases.
 
 - Updated the ant scripts to perform the releases to the Apache instead of 
 the Sonatype repos.
 
 - Updated the Sample Maven application to use Flexmojos 7.1.0-SNAPSHOT and 
 Apache Flex 4.12.
 
 - Tested a release to my private Artifactory instance (Worked great).
 
 
 
 !!! IMPORTANT NOTE 
 
 In parallel I updated Flexmojos 7.1.0-SNAPSHOT to be able to work with 
 FlexUnit artifacts having a groupId of org.apache.flex.flexunit.
 
 
 
 What actually needs to be done in order to deploy the artifacts in the next 
 release is:
 
 - The person doing the release has to have PGP correctly setup
 
 - Add a settings.xml file to your user home (~/.m2/settings.xml) and provide 
 the credentials for deploying artifacts to Apaches Staging repo
 
 ?xml version=1.0 encoding=UTF-8?
 
 settings xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.1.0 
 http://maven.apache.org/xsd/settings-1.1.0.xsd; 
 xmlns=http://maven.apache.org/SETTINGS/1.1.0;
 
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 
 servers
 
!-- Apache Maven Servers --
 
server
 
idapache.snapshots.https/id
 

 username{myapacheuserid}/username
 

 password{myapachepassword}/password
 
/server
 
server
 
idapache.releases.https/id
 

 username{myapacheuserid}/username
 

 password{myapachepassword}/password
 
/server
 
 /servers
 
 /settings
 
 - Start the FlexUnit build:
 
 ant apache-maven -Dmaven-pgp-passphrase={pgp-passphrase}
 
 
 
 As soon as we have gotten this far we probably have to verify the staged 
 artifacts and then release the stage to make them officially released and 
 available. But we'll continue here as soon as Infra have setup everything 
 correctly.
 
 
 
 All changes have been committed to the development branch.
 
 
 
 Chris
 
  

RE: FlexUnit 4.3 prepared to be able to do Maven Releases

2014-04-26 Thread Michael A. Labriola
 Ok ... so I got further than I expected today ... Actually I'm finished :-)

Nice work


Re: FlexUnit 4.3 prepared to be able to do Maven Releases

2014-04-26 Thread Alex Harui
That's great news, Chris.  Do you want to be the release manager for 4.3?

On 4/26/14 1:45 PM, Michael A. Labriola labri...@digitalprimates.net
wrote:

 Ok ... so I got further than I expected today ... Actually I'm finished
:-)

Nice work



Re: FlexUnit 4.2 ant build broken

2014-04-25 Thread Justin Mclean
Hi,

Thanks for fining that - just out of interest what platform were you on?

Justin


RE: FlexUnit 4.2 ant build broken

2014-04-25 Thread Michael A. Labriola
By the way: I read in this post [1] that FlexUnit 4.2 will support Code 
Coverage with Apparat. When will this be available?
People are needed to work on it

Jason Gardner did some great work on this [1], but it would require work to get 
it into Apache. This is still the goal for anyone who can help.

But I always get a java.lang.NoClasDefFoundError. Is this feature supposed 
to work?
Yes, it was all working at one point on the old FlexUnit build server (we kept 
metrics on our own code coverage) but is possible things have broken since then 
through various changes and certainly was never tested with Java 8. I will try 
to take a look at this when I can but can't promise a timeline yet.

Mike


[1] https://code.google.com/p/flexunit-with-code-coverage/



Re: FlexUnit announcement

2014-04-16 Thread Nicholas Kwiatkowski
Our website won't be updated until they get the cms buildbot fixed.
https://twitter.com/infrabot/status/456554060217204736

-Nick


On Wed, Apr 16, 2014 at 2:38 PM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

 I just sent out a tweet from the official @ApacheFlex twitter account:
 https://twitter.com/ApacheFlex
 Please retweet!

 Thanks,
 Om


 On Tue, Apr 15, 2014 at 6:07 PM, Nicholas Kwiatkowski nicho...@spoon.as
 wrote:

  Website has been updated, and the blog post has been published.
 
  The Apache CMS is not updating at the moment, so as soon as it's back up,
  we should be good.  I'll keep watching it.
 
  -Nick
 
 
  On Tue, Apr 15, 2014 at 8:15 PM, Justin Mclean jus...@classsoftware.com
  wrote:
 
   Sent!
  
 



Re: FlexUnit 4.2.0 release

2014-04-14 Thread Nicholas Kwiatkowski
Alex,

Did we end up adding the FlexUnit asdocs on dist?  I know it wasn't built
with the RC4 build, but we should distribute it.

-Nick


On Mon, Apr 14, 2014 at 12:24 AM, Alex Harui aha...@adobe.com wrote:



 On 4/13/14 5:40 PM, Justin Mclean jus...@classsoftware.com wrote:

 Hi,
 
  Although I am not sure if they will allow us to do a PR as it is not a
  major version n. You could definitely ask.
 
 I think the first Apache release counts as a major version, I'll ask.
 Didn't we do PR for 4.8 and/or 4.9?

 -Alex




Re: FlexUnit 4.2.0 release

2014-04-14 Thread Nicholas Kwiatkowski
Also looking for feedback on this new page :
http://flex.staging.apache.org/download-flexunit.html

If somebody could check for grammar, spelling, etc.   The dist downloads
still don't work 100% of the time yet, so you don't have to report those,
but everything else should be good.  I'll write the blog post this evening.
 We can stage it to publish tomorrow morning and make the announcements
then.

-Nick


On Mon, Apr 14, 2014 at 4:25 PM, Alex Harui aha...@adobe.com wrote:

 I'm not clear what Justin's plans are for the asdoc.  It looked like it
 was actually in the source package.  Maybe it can just be copied to dist.

 -Alex

 On 4/14/14 1:12 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

 Alex,
 
 Did we end up adding the FlexUnit asdocs on dist?  I know it wasn't built
 with the RC4 build, but we should distribute it.
 
 -Nick
 
 
 On Mon, Apr 14, 2014 at 12:24 AM, Alex Harui aha...@adobe.com wrote:
 
 
 
  On 4/13/14 5:40 PM, Justin Mclean jus...@classsoftware.com wrote:
 
  Hi,
  
   Although I am not sure if they will allow us to do a PR as it is not
 a
   major version n. You could definitely ask.
  
  I think the first Apache release counts as a major version, I'll ask.
  Didn't we do PR for 4.8 and/or 4.9?
 
  -Alex
 
 




Re: FlexUnit 4.2.0 release

2014-04-14 Thread Alex Harui
I read it relatively quickly, but didn't see anything obvious.

I did see the 'r' after FlexUnit.  Is it really a registered trademark?  I
hope the mark was part of the donationŠ

-Alex

On 4/14/14 1:53 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

Also looking for feedback on this new page :
http://flex.staging.apache.org/download-flexunit.html

If somebody could check for grammar, spelling, etc.   The dist downloads
still don't work 100% of the time yet, so you don't have to report those,
but everything else should be good.  I'll write the blog post this
evening.
 We can stage it to publish tomorrow morning and make the announcements
then.

-Nick


On Mon, Apr 14, 2014 at 4:25 PM, Alex Harui aha...@adobe.com wrote:

 I'm not clear what Justin's plans are for the asdoc.  It looked like it
 was actually in the source package.  Maybe it can just be copied to
dist.

 -Alex

 On 4/14/14 1:12 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote:

 Alex,
 
 Did we end up adding the FlexUnit asdocs on dist?  I know it wasn't
built
 with the RC4 build, but we should distribute it.
 
 -Nick
 
 
 On Mon, Apr 14, 2014 at 12:24 AM, Alex Harui aha...@adobe.com wrote:
 
 
 
  On 4/13/14 5:40 PM, Justin Mclean jus...@classsoftware.com wrote:
 
  Hi,
  
   Although I am not sure if they will allow us to do a PR as it is
not
 a
   major version n. You could definitely ask.
  
  I think the first Apache release counts as a major version, I'll
ask.
  Didn't we do PR for 4.8 and/or 4.9?
 
  -Alex
 
 





Re: FlexUnit 4.2.0 release

2014-04-14 Thread Justin Mclean
Hi,

 I'm not clear what Justin's plans are for the asdoc.  It looked like it
 was actually in the source package.  Maybe it can just be copied to dist.

Currently the docs are in the distribution but I don't see why they can't be in 
two places.

Thanks,
Justin

Re: FlexUnit 4.2.0 release

2014-04-14 Thread Justin Mclean
Hi,

 Also looking for feedback on this new page :
 http://flex.staging.apache.org/download-flexunit.html

Two of the download links are broken (missing the SDK version number) I'll fix.

Thanks,
Justin

Re: FlexUnit 4.2.0 release

2014-04-14 Thread Justin Mclean
Hi,

Checked all of the links but looks like one is broken:
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.zip

Anyone know an alternative link?

Thanks,
Justin


RE: FlexUnit 4.2.0 release

2014-04-14 Thread Michael A. Labriola
Download page with versions:

https://github.com/drewbourne/mockolate/downloads

Mike


-Original Message-
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Monday, April 14, 2014 4:56 PM
To: dev@flex.apache.org
Subject: Re: FlexUnit 4.2.0 release

Hi,

Checked all of the links but looks like one is broken:
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.zip

Anyone know an alternative link?

Thanks,
Justin


Re: FlexUnit 4.2.0 release

2014-04-13 Thread OmPrakash Muppirala
On Apr 13, 2014 3:59 PM, Justin Mclean justinmcl...@me.com wrote:

 Hi,

 The votes passed and I've placed 4.2.0 into the release area, it will
take 24 hours to propagate and then we can announce it to the world.

 The web site and blog needs an update - Nick do you need a hand with that?

 Also as this is the first Apache release of FlexUnit we might be able to
get an official Apache announce re the release? What do people think?

+1
Although I am not sure if they will allow us to do a PR as it is not a
major version n. You could definitely ask.

Thanks,
Om


 Thanks,
 Justin


Re: FlexUnit 4.2.0 release

2014-04-13 Thread Justin Mclean
Hi,

 Although I am not sure if they will allow us to do a PR as it is not a
 major version n. You could definitely ask.

I think the first Apache release counts as a major version, I'll ask.

Justin


Re: FlexUnit 4.2.0 release

2014-04-13 Thread Nicholas Kwiatkowski
I'll get the website readied for it tomorrow, and I'll watch the dist to
see when a majority of the sites have the bits.  Anybody want to send me a
quote or something I can include in the Blog post?

-Nick


On Sun, Apr 13, 2014 at 8:40 PM, Justin Mclean jus...@classsoftware.comwrote:

 Hi,

  Although I am not sure if they will allow us to do a PR as it is not a
  major version n. You could definitely ask.

 I think the first Apache release counts as a major version, I'll ask.

 Justin



Re: FlexUnit 4.2.0 release

2014-04-13 Thread Alex Harui


On 4/13/14 5:40 PM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

 Although I am not sure if they will allow us to do a PR as it is not a
 major version n. You could definitely ask.

I think the first Apache release counts as a major version, I'll ask.
Didn't we do PR for 4.8 and/or 4.9?

-Alex



RE: FlexUnit Tutorials

2014-04-02 Thread Maurice Amsellem
Once I finish converting the site to the CMS, please do add the IntelliJ 
tutorial -- that would actually be really useful for me as well :)

I will do.

Note that FlexUnit for IntelliJ has comprehensive description in IDEA online 
help already ( search: Testing ActionScript and Flex Application in online 
help),
So there is no point IMO to replicate this in the tutorial.
So I will rather put it as a step by step tutorial + pointers to the online 
documentation.

Maurice 

-Message d'origine-
De : Nicholas Kwiatkowski [mailto:nicho...@spoon.as] 
Envoyé : mercredi 2 avril 2014 01:53
À : dev@flex.apache.org
Objet : Re: FlexUnit Tutorials

I can't take credit for the verbiage -- that came from the folks at 
DigitalPrimates.

The version on the main site is not up to date.  Some pushes were snuck into 
the main site when the 3rd party community pages went online.  The Intro, 1st, 
2nd, and 3rd unit have been converted to the CMS, but the others haven't.  I 
still need to play with the bullets and their formatting.

Once I finish converting the site to the CMS, please do add the IntelliJ 
tutorial -- that would actually be really useful for me as well :)

-Nick


On Tue, Apr 1, 2014 at 6:53 PM, Maurice Amsellem  maurice.amsel...@systar.com 
wrote:

 Hi Nick, it's also on flex.a.o (because I published to add third-party 
 section).

 http://flex.apache.org/flexunit/tutorial/

 -Message d'origine-
 De : Nicholas Kwiatkowski [mailto:nicho...@spoon.as] Envoyé : mardi 1 
 avril 2014 23:49 À : dev@flex.apache.org Objet : FlexUnit Tutorials

 Hey Everybody,

 In anticiaption of FlexUnit becoming an official release, I've been 
 working on converting the old FlexUnit tutorial previously available 
 at http://docs.flexunit.org to be used within our website and CMS.

 Wanted to see if a few of you could take a peek at 
 http://flex.staging.apache.org/flexunit/tutorial/ and verify that the 
 first three units are in a usable manner.  If I get feedback that they 
 are, then I'll run through the rest of the units and finish converting 
 that content in the same manner.

 Thanks!

 -Nick



RE: FlexUnit Tutorials

2014-04-01 Thread Maurice Amsellem
Hi Nick, it's also on flex.a.o (because I published to add third-party section).

http://flex.apache.org/flexunit/tutorial/ 

-Message d'origine-
De : Nicholas Kwiatkowski [mailto:nicho...@spoon.as] 
Envoyé : mardi 1 avril 2014 23:49
À : dev@flex.apache.org
Objet : FlexUnit Tutorials

Hey Everybody,

In anticiaption of FlexUnit becoming an official release, I've been working on 
converting the old FlexUnit tutorial previously available at 
http://docs.flexunit.org to be used within our website and CMS.

Wanted to see if a few of you could take a peek at 
http://flex.staging.apache.org/flexunit/tutorial/ and verify that the first 
three units are in a usable manner.  If I get feedback that they are, then I'll 
run through the rest of the units and finish converting that content in the 
same manner.

Thanks!

-Nick


RE: FlexUnit Tutorials

2014-04-01 Thread Maurice Amsellem
Remarks:

- missing line between Summaries and Reviewing
- Reviewing the Course Prerequisistes  should not start with a bullet point

- Unit 1 ( Introducing) is fine, except bullet list which are not indented.
- Howevever, starting from Unit2, CMS formatting and headers have disappeared.

- would be nice to have a word on using FlexUnit in IDEA.

Otherwise, that's awesome tutorial!

Maurice 

-Message d'origine-
De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] 
Envoyé : mercredi 2 avril 2014 00:54
À : dev@flex.apache.org
Objet : RE: FlexUnit Tutorials

Hi Nick, it's also on flex.a.o (because I published to add third-party section).

http://flex.apache.org/flexunit/tutorial/ 

-Message d'origine-
De : Nicholas Kwiatkowski [mailto:nicho...@spoon.as] Envoyé : mardi 1 avril 
2014 23:49 À : dev@flex.apache.org Objet : FlexUnit Tutorials

Hey Everybody,

In anticiaption of FlexUnit becoming an official release, I've been working on 
converting the old FlexUnit tutorial previously available at 
http://docs.flexunit.org to be used within our website and CMS.

Wanted to see if a few of you could take a peek at 
http://flex.staging.apache.org/flexunit/tutorial/ and verify that the first 
three units are in a usable manner.  If I get feedback that they are, then I'll 
run through the rest of the units and finish converting that content in the 
same manner.

Thanks!

-Nick


Re: FlexUnit Tutorials

2014-04-01 Thread Nicholas Kwiatkowski
I can't take credit for the verbiage -- that came from the folks at
DigitalPrimates.

The version on the main site is not up to date.  Some pushes were snuck
into the main site when the 3rd party community pages went online.  The
Intro, 1st, 2nd, and 3rd unit have been converted to the CMS, but the
others haven't.  I still need to play with the bullets and their formatting.

Once I finish converting the site to the CMS, please do add the IntelliJ
tutorial -- that would actually be really useful for me as well :)

-Nick


On Tue, Apr 1, 2014 at 6:53 PM, Maurice Amsellem 
maurice.amsel...@systar.com wrote:

 Hi Nick, it's also on flex.a.o (because I published to add third-party
 section).

 http://flex.apache.org/flexunit/tutorial/

 -Message d'origine-
 De : Nicholas Kwiatkowski [mailto:nicho...@spoon.as]
 Envoyé : mardi 1 avril 2014 23:49
 À : dev@flex.apache.org
 Objet : FlexUnit Tutorials

 Hey Everybody,

 In anticiaption of FlexUnit becoming an official release, I've been
 working on converting the old FlexUnit tutorial previously available at
 http://docs.flexunit.org to be used within our website and CMS.

 Wanted to see if a few of you could take a peek at
 http://flex.staging.apache.org/flexunit/tutorial/ and verify that the
 first three units are in a usable manner.  If I get feedback that they are,
 then I'll run through the rest of the units and finish converting that
 content in the same manner.

 Thanks!

 -Nick



RE: FlexUnit was Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
BTW, was one of the enhancements automated test generation?  Maybe from 
metadata on the class?

There was a bigger project on that, yes, although we didn't get particularly 
far before the Apache switch so most of it was put on hold. Also, Flash Builder 
would create stubs for you based on the code model it had, so we don't go that 
route.

Mike


Re: FlexUnit was Unit tests in TLF

2014-03-24 Thread Alex Harui


On 3/24/14 9:22 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

BTW, was one of the enhancements automated test generation?  Maybe from
metadata on the class?

There was a bigger project on that, yes, although we didn't get
particularly far before the Apache switch so most of it was put on hold.
Also, Flash Builder would create stubs for you based on the code model it
had, so we don't go that route.
I'll have to ponder whether it would be faster to manually write and
maintain these tests or write a test generator.  It seems like you could
annotate with metadata and auto-generate a fair number of tests that way.

BTW, a key motivating factor in creating a set of FlexUnit tests is to try
to conform to that government standard you told me about.  Do you have a 5
sentence summary of what a test suite needs to cover?  Is it measured
purely by code coverage or do you have to have boundary tests, negative
tests, etc?

-Alex



RE: FlexUnit was Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
BTW, a key motivating factor in creating a set of FlexUnit tests is to try to 
conform to that government standard you told me about.  Do you have a 5 
sentence summary of what a test suite needs to cover?  Is it measured purely 
by code coverage or do you have to have boundary tests, negative tests, etc?

It was mostly governed by unit code coverage. I can do a little work and see if 
I can find the terminology again. Some areas are more strict than others.

Mike



RE: FlexUnit was Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
Sorry for being so noisy today, here is FlexUnit 4 for Contributors.

http://www.slideshare.net/michael.labriola/flexunit-4-for-contributors

It's a little older (written at the release of FlexUnit 4.0) but still relevant 
and is a good, and comparatively brief, way to understand how the major pieces 
fit together.

Mike


-Original Message-
From: Michael A. Labriola [mailto:labri...@digitalprimates.net] 
Sent: Sunday, March 23, 2014 11:57 AM
To: dev@flex.apache.org
Subject: FlexUnit was Unit tests in TLF

I put together a presentation years ago on FlexUnit for contributors that 
explained the architecture. I will find it and get that posted somewhere.

Additionally, if anyone is interested, I would be happy to do a session 
sometime on the internals of it as well as talk about what was in the future 
plan. We could do a connect or similar session. I am happy to share this 
knowledge with anyone who has the time to help. The core is solid and well 
tested, but there were a number of enhancements we never got to and it would be 
great to see that emerge from here someday.

Mike



Re: FlexUnit was Unit tests in TLF

2014-03-23 Thread piotrz
Hi Michael.

I would be happy to participate in such session. 

Piotr



-
Apache Flex Committer
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexUnit-was-Unit-tests-in-TLF-tp36204p36210.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexUnit was Unit tests in TLF

2014-03-23 Thread Alex Harui


On 3/23/14 9:57 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

I put together a presentation years ago on FlexUnit for contributors that
explained the architecture. I will find it and get that posted somewhere.

Additionally, if anyone is interested, I would be happy to do a session
sometime on the internals of it as well as talk about what was in the
future plan. We could do a connect or similar session. I am happy to
share this knowledge with anyone who has the time to help. The core is
solid and well tested, but there were a number of enhancements we never
got to and it would be great to see that emerge from here someday.
Personally, I'd rather just have you answer question on the list.  I find
that easier to go back and review than a connect session recording.

BTW, was one of the enhancements automated test generation?  Maybe from
metadata on the class?

-Alex



RE: FlexUnit GitHub

2014-02-24 Thread Kessler CTR Mark J
Anyway to just replace the repo with a text file that points them to a new URL?

Moved.txt  or such...

-Mark

-Original Message-
From: Michael A. Labriola [mailto:labri...@digitalprimates.net] 
Sent: Monday, February 24, 2014 12:00 PM
To: dev@flex.apache.org
Subject: FlexUnit GitHub


Going to check one last time before I just down this but I would like to take 
down the FlexUnit github repo. People continue to comment and attempt to work 
there and are frustrated because it's not active.

Any final objections or can I just do this...

Mike



Re: FlexUnit - code coverage pull request

2014-02-04 Thread João Fernandes
Hi Mike do you if anything has been done to solve the external dependencies
issue so it could be donated to FlexUnit?


On 9 October 2013 15:22, Michael A. Labriola
labri...@digitalprimates.netwrote:

 If the patch is small, they should just submit the patch in a JIRA and an
 ICLA is not required.

 It will eventually come in via jira but there are other hurdles to pass
 first. It is using work from others, likely binaries and a ton of other
 issues that all need to be resolved before the patch can be accepted.

 That's why I invited them to join the list and talk through it hear.
 Trying to move the conversations here instead of github. I am also going to
 make the decision on my own and turn off the flexunit github and site at
 the end of this month as no one seems to have an opinion as of late.

 Mike




-- 

João Fernandes


RE: FlexUnit - code coverage pull request

2014-02-04 Thread Michael A. Labriola
Hi Mike do you if anything has been done to solve the external dependencies 
issue so it could be donated to FlexUnit?

Nothing has been done.



Re: FlexUnit Cleanup Task

2014-01-29 Thread Alex Harui
BTW, Infra did say they can host flexunit.org, but they did not answer my
question about what form the files need to be.  It won't be any fun if we
have to convert it to mdtext.

-Alex

On 1/29/14 7:13 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

If anyone is looking for a way to help, the FlexUnit wiki pages were all
moved over but some of the internal links still point back to
FlexUnit.org instead of self-referencing and that seems to orphan some
content unless you know the URL.

It will be a while before I get to it, but a good simple task for anyone
that has time.

Thanks,
Mike



RE: FlexUnit Cleanup Task

2014-01-29 Thread Michael A. Labriola
BTW, Infra did say they can host flexunit.org, but they did not answer my 
question about what form the files need to be.  It won't be any fun if we have 
to convert it to mdtext.

So agree.

Mike



FlexUnit.org (was Re: FlexUnit Cleanup Task)

2014-01-29 Thread Alex Harui
So, were the files on flexunit.org in the original FlexUnit donation?  If
not, what is the licensing on the site content?  You may need to do
another donation.

-Alex

On 1/29/14 8:04 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

BTW, Infra did say they can host flexunit.org, but they did not answer
my question about what form the files need to be.  It won't be any fun
if we have to convert it to mdtext.

So agree.

Mike




RE: FlexUnit.org (was Re: FlexUnit Cleanup Task)

2014-01-29 Thread Michael A. Labriola
So, were the files on flexunit.org in the original FlexUnit donation?  If not, 
what is the licensing on the site content?  You may need to do another 
donation.

They likely weren't but I will look back at the language I wrote in the grant. 
No problem if I need to do another.

As far as the site though, I am more worried about the domain staying in tact 
than the content necessarily. The content was mostly blog style announcing new 
features and providing download links, etc.

Mike



Re: FlexUnit.org (was Re: FlexUnit Cleanup Task)

2014-01-29 Thread Alex Harui
My bad for not actually looking at the site.  I just tried though and it
isn't responding.  What do you mean by domain staying intact?  Are you
saying we should just map flexunit.org to a brand new site on Apache
hardware and not take any of the old content?

-Alex

On 1/29/14 9:28 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

So, were the files on flexunit.org in the original FlexUnit donation?
If not, what is the licensing on the site content?  You may need to do
another donation.

They likely weren't but I will look back at the language I wrote in the
grant. No problem if I need to do another.

As far as the site though, I am more worried about the domain staying in
tact than the content necessarily. The content was mostly blog style
announcing new features and providing download links, etc.

Mike




Re: FlexUnit.org (was Re: FlexUnit Cleanup Task)

2014-01-29 Thread Alex Harui


On 1/29/14 9:38 AM, Michael A. Labriola labri...@digitalprimates.net
wrote:

My bad for not actually looking at the site.  I just tried though and it
isn't responding.  What do you mean by domain staying intact?  Are you
saying we should just map flexunit.org to a brand new site on Apache
hardware and not take any of the old content?

Probably. And if there is something we discover is missing, I can donate
that content as needed.
OK.  Any chance you have the cycles to produce at least a landing page?
Let's try .html first and see if they require mdtext.  Then file a JIRA
for Infra and attach that page.  They said that's all they needed.  I'm
wondering if we should have some sort of vote first.  I guess I'll start a
lazy vote thread.

-Alex



Re: FlexUnit.org (was Re: FlexUnit Cleanup Task)

2014-01-29 Thread Erik de Bruin
Maybe we can ask Infra to point flexunit.org to
flex.apache.org/flexunit? That way we at least have a framework to
place the FlexUnit information in.

EdB



On Wed, Jan 29, 2014 at 6:43 PM, Alex Harui aha...@adobe.com wrote:


 On 1/29/14 9:38 AM, Michael A. Labriola labri...@digitalprimates.net
 wrote:

My bad for not actually looking at the site.  I just tried though and it
isn't responding.  What do you mean by domain staying intact?  Are you
saying we should just map flexunit.org to a brand new site on Apache
hardware and not take any of the old content?

Probably. And if there is something we discover is missing, I can donate
that content as needed.
 OK.  Any chance you have the cycles to produce at least a landing page?
 Let's try .html first and see if they require mdtext.  Then file a JIRA
 for Infra and attach that page.  They said that's all they needed.  I'm
 wondering if we should have some sort of vote first.  I guess I'll start a
 lazy vote thread.

 -Alex




-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


RE: FlexUnit - code coverage pull request

2013-10-09 Thread Michael A. Labriola
If the patch is small, they should just submit the patch in a JIRA and an ICLA 
is not required.

It will eventually come in via jira but there are other hurdles to pass first. 
It is using work from others, likely binaries and a ton of other issues that 
all need to be resolved before the patch can be accepted.

That's why I invited them to join the list and talk through it hear. Trying to 
move the conversations here instead of github. I am also going to make the 
decision on my own and turn off the flexunit github and site at the end of this 
month as no one seems to have an opinion as of late.

Mike



Re: FlexUnit - code coverage pull request

2013-10-08 Thread Justin Mclean
Hi,

I guess the first thing to sort out would be who actually wrote the code in 
that pull request (it's unclear to me) and have they all signed an ICLA?

Anyone know?

Thanks,
Justin

RE: FlexUnit - code coverage pull request

2013-10-08 Thread Michael A. Labriola
I guess the first thing to sort out would be who actually wrote the code in 
that pull request (it's unclear to me) and have they all signed an ICLA?

They have not yet. That was actually the origin of my previous comment on 
wondering if I can take the github repo and site offline and start redirecting 
here so I don't have to keep having that conversation with folks. In this case 
I already reached out to the committer, asked them to join here and volunteered 
to work through the process here if they would be willing to resubmit it as a 
patch against our repos.

Mike



RE: FlexUnit - code coverage pull request

2013-10-08 Thread Alex Harui
If the patch is small, they should just submit the patch in a JIRA and an ICLA 
is not required.

-Alex

From: Michael A. Labriola [labri...@digitalprimates.net]
Sent: Tuesday, October 08, 2013 6:41 PM
To: dev@flex.apache.org
Subject: RE: FlexUnit - code coverage pull request

I guess the first thing to sort out would be who actually wrote the code in 
that pull request (it's unclear to me) and have they all signed an ICLA?

They have not yet. That was actually the origin of my previous comment on 
wondering if I can take the github repo and site offline and start redirecting 
here so I don't have to keep having that conversation with folks. In this case 
I already reached out to the committer, asked them to join here and volunteered 
to work through the process here if they would be willing to resubmit it as a 
patch against our repos.

Mike



Re: FlexUnit License

2013-09-17 Thread Justin Mclean
Hi,

 Hamcrest looks like BSD, Mockolate looks like MIT. 

I spoke to Drew (developer of said libraries) and he confirmed:
Hamcrest-AS3 is BSD, same as Hamcrest for Java. Mockolate is MIT license. 

He may be also able to provide a more recent version of Mockolate.

Thanks,
Justin


Re: FlexUnit License

2013-09-17 Thread Avi Kessner
He may be also able to provide a more recent version of Mockolate.

Wow, awesome!
These should definitely go in the release notes when we have a chance.

brought to you by the letters A, V, and I
and the number 47


On Tue, Sep 17, 2013 at 11:11 AM, Justin Mclean jus...@classsoftware.comwrote:

 Hi,

  Hamcrest looks like BSD, Mockolate looks like MIT.

 I spoke to Drew (developer of said libraries) and he confirmed:
 Hamcrest-AS3 is BSD, same as Hamcrest for Java. Mockolate is MIT license.
 

 He may be also able to provide a more recent version of Mockolate.

 Thanks,
 Justin



RE: FlexUnit License

2013-09-17 Thread Michael A. Labriola
He may be also able to provide a more recent version of Mockolate.

This is good. FlexUnit may not be built against the latest right now as I 
believe there were some method signature changes, so it's possible upgrading to 
the latest will cause some minor library changes. I am also going to commit a 
change in the next week to allow FlexUnit to get stack traces in modern release 
players since this is now available in the player.

Mike



Re: FlexUnit License

2013-09-15 Thread Cyrill Zadra
Thanks Alex.  Checked it aswell and added those license to flexunit's repo.

Cyrill

On Sun, Sep 15, 2013 at 7:41 AM, Alex Harui aha...@adobe.com wrote:

 Labriola probably will know for sure, but it looks like it is bsd

 http://sourceforge.net/adobe/flexunit/wiki/License/

 -Alex

 On 9/14/13 7:53 AM, Alex Harui aha...@adobe.com wrote:

 Hamcrest looks like BSD, Mockolate looks like MIT.  If you google the
 first line of the license it finds the same text.  I didn't compare every
 line, so please double-check.
 
 The FlexUnitLIb.swc will need examining to find the classes within and
 hopefully the author of those classes.
 
 I'll try to find time to do that in about 14 hours if you haven't already.
 
 -Alex
 
 On 9/14/13 4:29 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:
 
 Thanks Erik...
 
 Now there are 3 libraries left:
 
 hamcrest -
 
 http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5
 .
 zip(License
 -
 https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE)
 mockolate -
 
 http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-fl
 e
 x-1.1.3.zip(License
 -
 https://github.com/drewbourne/mockolate/blob/master/LICENSE)
 
 Does anybody know if it's something special with hamcrest and mockalte
 library?
 
 flexunit1lib -
 
 https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUn
 i
 t1Lib.swc(License
 - ???)
 
 No clue what kind of license flexunit1lib has.
 
 Cyrill
 
 
 On Fri, Sep 13, 2013 at 6:30 PM, Erik de Bruin e...@ixsoftware.nl
 wrote:
 
  The first two are OK, the third may need something extra, according to
 [1]
 
  EdB
 
  1: http://www.apache.org/legal/3party.html
 
  On Fri, Sep 13, 2013 at 3:58 PM, Cyrill Zadra cyrill.za...@gmail.com
  wrote:
   Hi
  
   Just updated README file, which lists now all thirdparty libraries
 with
  its
   licenses. There are a few Apache libraries, which can be
 automatically
   downloaded in my opinion.
  
   Are BSD, MIT and CPL 1.0 compatible with Apache? Do those libraries
 need
  a
   prompt for a user to accept the license before download?
  
   Is there anybody who can help me here?
  
   Cyrill
 
 
 
  --
  Ix Multimedia Software
 
  Jan Luykenstraat 27
  3521 VB Utrecht
 
  T. 06-51952295
  I. www.ixsoftware.nl
 
 




Re: FlexUnit License

2013-09-14 Thread Cyrill Zadra
Thanks Erik...

Now there are 3 libraries left:

hamcrest -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.zip(License
-
https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE)
mockolate -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-flex-1.1.3.zip(License
-
https://github.com/drewbourne/mockolate/blob/master/LICENSE)

Does anybody know if it's something special with hamcrest and mockalte
library?

flexunit1lib -
https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUnit1Lib.swc(License
- ???)

No clue what kind of license flexunit1lib has.

Cyrill


On Fri, Sep 13, 2013 at 6:30 PM, Erik de Bruin e...@ixsoftware.nl wrote:

 The first two are OK, the third may need something extra, according to [1]

 EdB

 1: http://www.apache.org/legal/3party.html

 On Fri, Sep 13, 2013 at 3:58 PM, Cyrill Zadra cyrill.za...@gmail.com
 wrote:
  Hi
 
  Just updated README file, which lists now all thirdparty libraries with
 its
  licenses. There are a few Apache libraries, which can be automatically
  downloaded in my opinion.
 
  Are BSD, MIT and CPL 1.0 compatible with Apache? Do those libraries need
 a
  prompt for a user to accept the license before download?
 
  Is there anybody who can help me here?
 
  Cyrill



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl



Re: FlexUnit License

2013-09-14 Thread Alex Harui
Hamcrest looks like BSD, Mockolate looks like MIT.  If you google the
first line of the license it finds the same text.  I didn't compare every
line, so please double-check.

The FlexUnitLIb.swc will need examining to find the classes within and
hopefully the author of those classes.

I'll try to find time to do that in about 14 hours if you haven't already.

-Alex

On 9/14/13 4:29 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:

Thanks Erik...

Now there are 3 libraries left:

hamcrest -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5.
zip(License
-
https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE)
mockolate -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-fle
x-1.1.3.zip(License
-
https://github.com/drewbourne/mockolate/blob/master/LICENSE)

Does anybody know if it's something special with hamcrest and mockalte
library?

flexunit1lib -
https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUni
t1Lib.swc(License
- ???)

No clue what kind of license flexunit1lib has.

Cyrill


On Fri, Sep 13, 2013 at 6:30 PM, Erik de Bruin e...@ixsoftware.nl wrote:

 The first two are OK, the third may need something extra, according to
[1]

 EdB

 1: http://www.apache.org/legal/3party.html

 On Fri, Sep 13, 2013 at 3:58 PM, Cyrill Zadra cyrill.za...@gmail.com
 wrote:
  Hi
 
  Just updated README file, which lists now all thirdparty libraries
with
 its
  licenses. There are a few Apache libraries, which can be automatically
  downloaded in my opinion.
 
  Are BSD, MIT and CPL 1.0 compatible with Apache? Do those libraries
need
 a
  prompt for a user to accept the license before download?
 
  Is there anybody who can help me here?
 
  Cyrill



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl




Re: FlexUnit License

2013-09-14 Thread Alex Harui
Labriola probably will know for sure, but it looks like it is bsd

http://sourceforge.net/adobe/flexunit/wiki/License/

-Alex

On 9/14/13 7:53 AM, Alex Harui aha...@adobe.com wrote:

Hamcrest looks like BSD, Mockolate looks like MIT.  If you google the
first line of the license it finds the same text.  I didn't compare every
line, so please double-check.

The FlexUnitLIb.swc will need examining to find the classes within and
hopefully the author of those classes.

I'll try to find time to do that in about 14 hours if you haven't already.

-Alex

On 9/14/13 4:29 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:

Thanks Erik...

Now there are 3 libraries left:

hamcrest -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/mockolate-0.9.5
.
zip(License
-
https://github.com/drewbourne/hamcrest-as3/blob/master/hamcrest/LICENSE)
mockolate -
http://cloud.github.com/downloads/drewbourne/hamcrest-as3/hamcrest-as3-fl
e
x-1.1.3.zip(License
-
https://github.com/drewbourne/mockolate/blob/master/LICENSE)

Does anybody know if it's something special with hamcrest and mockalte
library?

flexunit1lib -
https://github.com/flexunit/flexunit/raw/master/FlexUnit4Test/libs/FlexUn
i
t1Lib.swc(License
- ???)

No clue what kind of license flexunit1lib has.

Cyrill


On Fri, Sep 13, 2013 at 6:30 PM, Erik de Bruin e...@ixsoftware.nl
wrote:

 The first two are OK, the third may need something extra, according to
[1]

 EdB

 1: http://www.apache.org/legal/3party.html

 On Fri, Sep 13, 2013 at 3:58 PM, Cyrill Zadra cyrill.za...@gmail.com
 wrote:
  Hi
 
  Just updated README file, which lists now all thirdparty libraries
with
 its
  licenses. There are a few Apache libraries, which can be
automatically
  downloaded in my opinion.
 
  Are BSD, MIT and CPL 1.0 compatible with Apache? Do those libraries
need
 a
  prompt for a user to accept the license before download?
 
  Is there anybody who can help me here?
 
  Cyrill



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl





Re: FlexUnit License

2013-09-13 Thread Erik de Bruin
The first two are OK, the third may need something extra, according to [1]

EdB

1: http://www.apache.org/legal/3party.html

On Fri, Sep 13, 2013 at 3:58 PM, Cyrill Zadra cyrill.za...@gmail.com wrote:
 Hi

 Just updated README file, which lists now all thirdparty libraries with its
 licenses. There are a few Apache libraries, which can be automatically
 downloaded in my opinion.

 Are BSD, MIT and CPL 1.0 compatible with Apache? Do those libraries need a
 prompt for a user to accept the license before download?

 Is there anybody who can help me here?

 Cyrill



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: FlexUnit open pull request from github

2013-09-03 Thread Alex Harui
FWIW, Adobe did not need to contact any of its prior patch providers
because the terms and conditions of providing the patch gave Adobe
ownership and therefore the right to donate.

Was there any similar agreement for FlexUnit?

-Alex

On 9/3/13 8:50 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:

Hi

There are still 4 patches for FlexUnit in JIRA which needs approvment by
their author. They only have to approve the move to Apache through a JIRA
comment . I tried to get in contact with them but was only successful with
one person.

https://issues.apache.org/jira/browse/FLEX-33571
https://issues.apache.org/jira/browse/FLEX-33573
https://issues.apache.org/jira/browse/FLEX-33574
https://issues.apache.org/jira/browse/FLEX-33575

I need some help here . Maybe someone knows here anyone of those authors
and have some direct contact.

Thanks
Cyrill



RE: FlexUnit

2013-09-02 Thread Pete Thomas
Thanks Mike

Makes sense, I'll remove and reinstall all it's a windows box so I'm guessing 
the .NET build file is calling another JVM 

Pete Thomas
tel: +44 (0)208 832 7179
www.dunnhumby.com
P please consider the environment before printing this email.


-Original Message-
From: Michael A. Labriola [mailto:labri...@digitalprimates.net] 
Sent: 30 August 2013 14:24
To: dev@flex.apache.org
Subject: RE: FlexUnit

It was 6 now it's 7 still failing :-(

Okay, the only thing that makes sense though is a mismatch. Possible there are 
two JDKs on the box, one that is in your JAVA_HOME but another being used for 
the compilation? I ask because this error is fairly well documented in the Java 
community for other projects as a version mismatch.

Mike

dunnhumby limited is a limited company registered in England and Wales with 
registered number 02388853 and VAT registered number 927 5871 83.
Our registered office is at Aurora House, 71-75 Uxbridge Road, London W5 5SL.
The contents of this message and any attachments to it are confidential and may 
be legally privileged.
If you have received this message in error you should delete it from your 
system immediately and advise the sender.
dunnhumby may monitor and record all emails. The views expressed in this email 
are those of the sender and not those of dunnhumby.



RE: FlexUnit

2013-09-02 Thread Avi Kessner
Are any of the mocking frameworks being donated to apache then?  The save
work great, it's just documentation and getting the stack working together
that I feel could be improved.
On 2 Sep 2013 17:45, Michael A. Labriola labri...@digitalprimates.net
wrote:

 Does flexUnit plan on making a mocking framework built in? The
 documentation on Mockolate and other frameworks seems to have just died mid
 devleopment, and the code doesn't match the docs or the forums anymore. :(
 brought to you by the letters A, V, and I and the number 47

 FlexUnit belongs to Apache. You are the plan.

 If you feel like writing a mocking framework, feel free. FlexUnit was
 designed to be agnostic to mocking framework. It works well with any of the
 major choices. I personally do not plan on writing another mocking
 framework at this point.

 Mike




RE: FlexUnit

2013-09-02 Thread Avi Kessner
Save = swcs.  Stupid autocorrect
On 2 Sep 2013 19:51, Avi Kessner akess...@gmail.com wrote:

 Are any of the mocking frameworks being donated to apache then?  The save
 work great, it's just documentation and getting the stack working together
 that I feel could be improved.
 On 2 Sep 2013 17:45, Michael A. Labriola labri...@digitalprimates.net
 wrote:

 Does flexUnit plan on making a mocking framework built in? The
 documentation on Mockolate and other frameworks seems to have just died mid
 devleopment, and the code doesn't match the docs or the forums anymore. :(
 brought to you by the letters A, V, and I and the number 47

 FlexUnit belongs to Apache. You are the plan.

 If you feel like writing a mocking framework, feel free. FlexUnit was
 designed to be agnostic to mocking framework. It works well with any of the
 major choices. I personally do not plan on writing another mocking
 framework at this point.

 Mike




RE: FlexUnit

2013-09-02 Thread Michael A. Labriola
Are any of the mocking frameworks being donated to apache then?  The save work 
great, it's just documentation and getting the stack working together that I 
feel could be improved.

I do not believe so. You can contact the authors about donations if others are 
interested as well. It is not my personal belief that all of the code needs to 
be owned by Apache for these projects to succeed.

Mike


Re: FlexUnit

2013-09-01 Thread Avi Kessner
Does flexUnit plan on making a mocking framework built in? The
documentation on Mockolate and other frameworks seems to have just
died mid devleopment, and the code doesn't match the docs or the
forums anymore. :(
brought to you by the letters A, V, and I
and the number 47


On Fri, Aug 30, 2013 at 4:24 PM, Michael A. Labriola
labri...@digitalprimates.net wrote:
It was 6 now it's 7 still failing :-(

 Okay, the only thing that makes sense though is a mismatch. Possible there 
 are two JDKs on the box, one that is in your JAVA_HOME but another being used 
 for the compilation? I ask because this error is fairly well documented in 
 the Java community for other projects as a version mismatch.

 Mike



RE: FlexUnit

2013-08-30 Thread Michael A. Labriola
It was 6 now it's 7 still failing :-(

Okay, the only thing that makes sense though is a mismatch. Possible there are 
two JDKs on the box, one that is in your JAVA_HOME but another being used for 
the compilation? I ask because this error is fairly well documented in the Java 
community for other projects as a version mismatch.

Mike



Re: FlexUnit

2013-08-29 Thread Avi Kessner
I'm sorry to go off topic, but this is really starting to fustrate me.
 If anyone is able to help me out over at stackOverflow I really
appreciate it!

http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexmojos-and-mockolate-to-work-together
brought to you by the letters A, V, and I
and the number 47


On Thu, Aug 29, 2013 at 6:11 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:
 Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I
 merge those changes also to develop branch and continue to work on this one?

 Cyrill


 On Thu, Aug 29, 2013 at 3:29 AM, Michael A. Labriola 
 labri...@digitalprimates.net wrote:


 In the FlexUnit repo right now there is only a master.

 I am creating a develop branch presently and pushing some changes we made
 to the flexunit tasks to support a URL instead of just a local file when
 executing tests.

 We should just make sure this gets integrated into master before the next
 release.

 Mike



Re: FlexUnit

2013-08-29 Thread Avi Kessner
Thanks.
I hate that word.. manually.
Is there a more recent version or alternative to mockolate as well?
And is this a multi day or multi hour process to mavenize the FDK?
brought to you by the letters A, V, and I
and the number 47


On Thu, Aug 29, 2013 at 1:11 PM, christofer.d...@c-ware.de
christofer.d...@c-ware.de wrote:
 Hi,

 Unit testing is a pretty tricky thing in Flexmojos. That's one of the things 
 I am intending on performing the largest changes the the new plugin. But from 
 your question I can see you are using an about 100 year old Version of 
 Flexmojos and Flex. I know I did quite a lot of tweaks and updates in the 
 flexunit Support when we were working on releasing flexunit 4.x. So I would 
 like to ask you to update so a somewhat reasonably new Version of flexmojos 
 ... 6.0.1 would be best ... but Keep in mind that you Need to manually 
 mavenize the FDK you want to use.

 Chris

 
 Von: Avi Kessner [akess...@gmail.com]
 Gesendet: Donnerstag, 29. August 2013 09:52
 An: dev@flex.apache.org
 Betreff: Re: FlexUnit

 I'm sorry to go off topic, but this is really starting to fustrate me.
  If anyone is able to help me out over at stackOverflow I really
 appreciate it!

 http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexmojos-and-mockolate-to-work-together
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 6:11 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:
 Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I
 merge those changes also to develop branch and continue to work on this one?

 Cyrill


 On Thu, Aug 29, 2013 at 3:29 AM, Michael A. Labriola 
 labri...@digitalprimates.net wrote:


 In the FlexUnit repo right now there is only a master.

 I am creating a develop branch presently and pushing some changes we made
 to the flexunit tasks to support a URL instead of just a local file when
 executing tests.

 We should just make sure this gets integrated into master before the next
 release.

 Mike



Re: FlexUnit

2013-08-29 Thread Avi Kessner
So legally we can't store these sdks for maven publicly?  I see 4.1 is
112MB, yech.
brought to you by the letters A, V, and I
and the number 47


On Thu, Aug 29, 2013 at 2:32 PM, christofer.d...@c-ware.de
christofer.d...@c-ware.de wrote:
 And I hate lawyers more than manually ;-)

 It's actually a Multi Minute process to Mavenize an FDK as I created the 
 Apache Flex Mavenizer for that (It actually also mavenizes Adobe Flex FDKs) 
 together with the Auto deployer you should have any Flex FDK mavenized and 
 deployed in minutes.

 https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x?src=search

 Chris

 
 Von: Avi Kessner [akess...@gmail.com]
 Gesendet: Donnerstag, 29. August 2013 12:33
 An: dev@flex.apache.org
 Betreff: Re: FlexUnit

 Thanks.
 I hate that word.. manually.
 Is there a more recent version or alternative to mockolate as well?
 And is this a multi day or multi hour process to mavenize the FDK?
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 1:11 PM, christofer.d...@c-ware.de
 christofer.d...@c-ware.de wrote:
 Hi,

 Unit testing is a pretty tricky thing in Flexmojos. That's one of the things 
 I am intending on performing the largest changes the the new plugin. But 
 from your question I can see you are using an about 100 year old Version of 
 Flexmojos and Flex. I know I did quite a lot of tweaks and updates in the 
 flexunit Support when we were working on releasing flexunit 4.x. So I would 
 like to ask you to update so a somewhat reasonably new Version of flexmojos 
 ... 6.0.1 would be best ... but Keep in mind that you Need to manually 
 mavenize the FDK you want to use.

 Chris

 
 Von: Avi Kessner [akess...@gmail.com]
 Gesendet: Donnerstag, 29. August 2013 09:52
 An: dev@flex.apache.org
 Betreff: Re: FlexUnit

 I'm sorry to go off topic, but this is really starting to fustrate me.
  If anyone is able to help me out over at stackOverflow I really
 appreciate it!

 http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexmojos-and-mockolate-to-work-together
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 6:11 AM, Cyrill Zadra cyrill.za...@gmail.com wrote:
 Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I
 merge those changes also to develop branch and continue to work on this one?

 Cyrill


 On Thu, Aug 29, 2013 at 3:29 AM, Michael A. Labriola 
 labri...@digitalprimates.net wrote:


 In the FlexUnit repo right now there is only a master.

 I am creating a develop branch presently and pushing some changes we made
 to the flexunit tasks to support a URL instead of just a local file when
 executing tests.

 We should just make sure this gets integrated into master before the next
 release.

 Mike



Re: FlexUnit

2013-08-29 Thread Avi Kessner
Oh, and thank you.  mavenizing was very quick and easy , deploying on
the other hand.. (atleast I don't have to do it manually)

brought to you by the letters A, V, and I
and the number 47


On Thu, Aug 29, 2013 at 5:06 PM, Avi Kessner akess...@gmail.com wrote:
 So legally we can't store these sdks for maven publicly?  I see 4.1 is
 112MB, yech.
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 2:32 PM, christofer.d...@c-ware.de
 christofer.d...@c-ware.de wrote:
 And I hate lawyers more than manually ;-)

 It's actually a Multi Minute process to Mavenize an FDK as I created the 
 Apache Flex Mavenizer for that (It actually also mavenizes Adobe Flex FDKs) 
 together with the Auto deployer you should have any Flex FDK mavenized and 
 deployed in minutes.

 https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x?src=search

 Chris

 
 Von: Avi Kessner [akess...@gmail.com]
 Gesendet: Donnerstag, 29. August 2013 12:33
 An: dev@flex.apache.org
 Betreff: Re: FlexUnit

 Thanks.
 I hate that word.. manually.
 Is there a more recent version or alternative to mockolate as well?
 And is this a multi day or multi hour process to mavenize the FDK?
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 1:11 PM, christofer.d...@c-ware.de
 christofer.d...@c-ware.de wrote:
 Hi,

 Unit testing is a pretty tricky thing in Flexmojos. That's one of the 
 things I am intending on performing the largest changes the the new plugin. 
 But from your question I can see you are using an about 100 year old 
 Version of Flexmojos and Flex. I know I did quite a lot of tweaks and 
 updates in the flexunit Support when we were working on releasing flexunit 
 4.x. So I would like to ask you to update so a somewhat reasonably new 
 Version of flexmojos ... 6.0.1 would be best ... but Keep in mind that you 
 Need to manually mavenize the FDK you want to use.

 Chris

 
 Von: Avi Kessner [akess...@gmail.com]
 Gesendet: Donnerstag, 29. August 2013 09:52
 An: dev@flex.apache.org
 Betreff: Re: FlexUnit

 I'm sorry to go off topic, but this is really starting to fustrate me.
  If anyone is able to help me out over at stackOverflow I really
 appreciate it!

 http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexmojos-and-mockolate-to-work-together
 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 6:11 AM, Cyrill Zadra cyrill.za...@gmail.com 
 wrote:
 Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I
 merge those changes also to develop branch and continue to work on this 
 one?

 Cyrill


 On Thu, Aug 29, 2013 at 3:29 AM, Michael A. Labriola 
 labri...@digitalprimates.net wrote:


 In the FlexUnit repo right now there is only a master.

 I am creating a develop branch presently and pushing some changes we made
 to the flexunit tasks to support a URL instead of just a local file when
 executing tests.

 We should just make sure this gets integrated into master before the next
 release.

 Mike



Re: FlexUnit

2013-08-29 Thread Nick Collins
Would a reasonable compromise be to  add the mavenizing of the FDK as an
option to the installer? Where all I need do is check a box saying Use
Apache Flex with Maven, and have the installer take care of converting the
FDK to the maven format and adding it to my local Maven repository.


On Thu, Aug 29, 2013 at 9:06 AM, Avi Kessner akess...@gmail.com wrote:

 Oh, and thank you.  mavenizing was very quick and easy , deploying on
 the other hand.. (atleast I don't have to do it manually)

 brought to you by the letters A, V, and I
 and the number 47


 On Thu, Aug 29, 2013 at 5:06 PM, Avi Kessner akess...@gmail.com wrote:
  So legally we can't store these sdks for maven publicly?  I see 4.1 is
  112MB, yech.
  brought to you by the letters A, V, and I
  and the number 47
 
 
  On Thu, Aug 29, 2013 at 2:32 PM, christofer.d...@c-ware.de
  christofer.d...@c-ware.de wrote:
  And I hate lawyers more than manually ;-)
 
  It's actually a Multi Minute process to Mavenize an FDK as I created
 the Apache Flex Mavenizer for that (It actually also mavenizes Adobe Flex
 FDKs) together with the Auto deployer you should have any Flex FDK
 mavenized and deployed in minutes.
 
 
 https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x?src=search
 
  Chris
 
  
  Von: Avi Kessner [akess...@gmail.com]
  Gesendet: Donnerstag, 29. August 2013 12:33
  An: dev@flex.apache.org
  Betreff: Re: FlexUnit
 
  Thanks.
  I hate that word.. manually.
  Is there a more recent version or alternative to mockolate as well?
  And is this a multi day or multi hour process to mavenize the FDK?
  brought to you by the letters A, V, and I
  and the number 47
 
 
  On Thu, Aug 29, 2013 at 1:11 PM, christofer.d...@c-ware.de
  christofer.d...@c-ware.de wrote:
  Hi,
 
  Unit testing is a pretty tricky thing in Flexmojos. That's one of the
 things I am intending on performing the largest changes the the new plugin.
 But from your question I can see you are using an about 100 year old
 Version of Flexmojos and Flex. I know I did quite a lot of tweaks and
 updates in the flexunit Support when we were working on releasing flexunit
 4.x. So I would like to ask you to update so a somewhat reasonably new
 Version of flexmojos ... 6.0.1 would be best ... but Keep in mind that you
 Need to manually mavenize the FDK you want to use.
 
  Chris
 
  
  Von: Avi Kessner [akess...@gmail.com]
  Gesendet: Donnerstag, 29. August 2013 09:52
  An: dev@flex.apache.org
  Betreff: Re: FlexUnit
 
  I'm sorry to go off topic, but this is really starting to fustrate me.
   If anyone is able to help me out over at stackOverflow I really
  appreciate it!
 
 
 http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexmojos-and-mockolate-to-work-together
  brought to you by the letters A, V, and I
  and the number 47
 
 
  On Thu, Aug 29, 2013 at 6:11 AM, Cyrill Zadra cyrill.za...@gmail.com
 wrote:
  Great! .. I pushed my changes always to makeFlexUnitApacheReady.
 Shall I
  merge those changes also to develop branch and continue to work on
 this one?
 
  Cyrill
 
 
  On Thu, Aug 29, 2013 at 3:29 AM, Michael A. Labriola 
  labri...@digitalprimates.net wrote:
 
 
  In the FlexUnit repo right now there is only a master.
 
  I am creating a develop branch presently and pushing some changes we
 made
  to the flexunit tasks to support a URL instead of just a local file
 when
  executing tests.
 
  We should just make sure this gets integrated into master before the
 next
  release.
 
  Mike
 



RE: FlexUnit

2013-08-29 Thread Michael A. Labriola
Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I 
merge those changes also to develop branch and continue to work on this one?

I think that's a good idea and we can keep merging back to develop. I always 
work in my own local branches in either case.

I have a bunch of small additional changes I will be integrating over the next 
month or so. Just things that were on my list for a long time.

Mike



RE: FlexUnit

2013-08-29 Thread Pete Thomas
Hi Mike

Our FlexUnit tests have started to fail lately. The JVM on the build server was 
updated... or at least changed not sure which.

The error we are getting is: 

[flexunit] java.lang.NoSuchMethodError: java.lang.String.isEmpty()

I'm pretty sure we have using the latest version of FlexUnit, can you shed any 
light on this.

Pete Thomas
tel: +44 (0)208 832 7179
www.dunnhumby.com
P please consider the environment before printing this email.

-Original Message-
From: Michael A. Labriola [mailto:labri...@digitalprimates.net] 
Sent: 29 August 2013 15:41
To: dev@flex.apache.org
Subject: RE: FlexUnit

Great! .. I pushed my changes always to makeFlexUnitApacheReady. Shall I 
merge those changes also to develop branch and continue to work on this one?

I think that's a good idea and we can keep merging back to develop. I always 
work in my own local branches in either case.

I have a bunch of small additional changes I will be integrating over the next 
month or so. Just things that were on my list for a long time.

Mike

dunnhumby limited is a limited company registered in England and Wales with 
registered number 02388853 and VAT registered number 927 5871 83.
Our registered office is at Aurora House, 71-75 Uxbridge Road, London W5 5SL.
The contents of this message and any attachments to it are confidential and may 
be legally privileged.
If you have received this message in error you should delete it from your 
system immediately and advise the sender.
dunnhumby may monitor and record all emails. The views expressed in this email 
are those of the sender and not those of dunnhumby.



  1   2   >