Re: Unit tests in TLF

2015-01-08 Thread Harbs
On a second look, it looks like GeneralFunctionsTest is causing the error. It changes the resourceStringFunction, but does not set it back to the default one. (although I’m not sure why not — it should be changed back in the finally block). On Jan 8, 2015, at 10:56 AM, Harbs

Re: Unit tests in TLF

2015-01-07 Thread piotrz
Hi, I have removed Ignore tag from the test spanElementReplaceTextInvalidPos - ElementOperationTest. There is something interesting happening there which might not be exactly related to the TLF. We have this part of code. https://paste.apache.org/44I4 It's failing because it do not find text

Re: Unit tests in TLF

2014-10-06 Thread Harbs
Cool! I just committed my table work to a “tables” branch. Any suggestions on how to handle testing for that would be very welcome. On Oct 6, 2014, at 8:53 AM, piotrz piotrzarzyck...@gmail.com wrote: I have merged my code to develop branch. I saw that TLF build correctly so I can assume that

RE: Unit tests in TLF

2014-10-06 Thread Michael A. Labriola
I have merged my code to develop branch. I saw that TLF build correctly so I can assume that everything is working fine. :) Nice work. Congratulations and good job

RE: Unit tests in TLF

2014-10-06 Thread piotrz
Thanks Michael. Your help was crucial. :) I hope to push next part of TLF tests soon to develop branch. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p41123.html Sent from

Re: Unit tests in TLF

2014-10-01 Thread Erik de Bruin
Next general question. Do you think guys that I should merge my code to TLF develope branch ? I'm not sure how this build script will be working on the machine where we are building our Flex SDK - while tests it is launching flash player projector. This should be OK. If your setup works

Re: Unit tests in TLF

2014-10-01 Thread piotrz
Ok Thanks Erik. I will try to merge today my branch into develop. Will see what will blow up ;) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40978.html Sent from the Apache

Re: Unit tests in TLF

2014-09-30 Thread piotrz
Ok Thanks to Michael I'm done and TLF script building whole project and launching all tests (13 classes) witch I rewritten to Flex Unit 4. Will be working on the next. Harbs I would like give a try to launch these tests on your code - you have changed probably a lot in current TLF. I know that

RE: Unit tests in TLF

2014-09-29 Thread Michael A. Labriola
I have missed something from your previous response and didn't try CIListener. - I am really sorry about it. Now it is working, I can move forward. No problems at all. I just wanted to know if you had tried so I could help you debug it.

RE: Unit tests in TLF

2014-09-28 Thread piotrz
Hi Guys, I have created small project with FU and ant script. It's building this project and launching FU tests unfortunately situation is exactly the same. I'm waiting for the response - http://images.devs-on.net/Image/IbrK3QRfZHwy8PDh-Obszar.png Flash Player is opening and launching tests. My

RE: Unit tests in TLF

2014-09-28 Thread Michael A. Labriola
Hi, Asking again, are you using the CIListener or the AIRCIListener? Those are the components that do this work for you. Mike -Original Message- From: piotrz [mailto:piotrzarzyck...@gmail.com] Sent: Sunday, September 28, 2014 2:45 PM To: dev@flex.apache.org Subject: RE: Unit tests

RE: Unit tests in TLF

2014-09-28 Thread piotrz
Hi Michael, I have missed something from your previous response and didn't try CIListener. - I am really sorry about it. Now it is working, I can move forward. Thank you Michael! Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Unit tests in TLF

2014-09-23 Thread Harbs
That’s great! I’d love to run the tests on my work of TLF before I try to merge it back into the main code base. If you have some time to help me with that, it would be awesome. Harbs On May 8, 2014, at 9:58 AM, piotrz piotrzarzyck...@gmail.com wrote: Hi Guys! I have committed my changes

Re: Unit tests in TLF

2014-09-23 Thread piotrz
Hi Harbs, If someone help me beat this problem couple of tests will be ready for you for sure. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p40883.html Sent from the

RE: Unit tests in TLF

2014-09-23 Thread Michael A. Labriola
Piotr- Should I dispatch some event through the - flexunituirunner:TestRunnerBase ? If you are using any of the flexunit CI pieces they take care of that communication back to the launching process for you. I don't know if you are or are not. Dispatching an event is not ideal as the

RE: Unit tests in TLF

2014-09-23 Thread piotrz
Are you saying that app should automatically respond to my script - ok I will try to build small project with Unit Tests and Ant to see whether it will work. Maybe I have to in somehow reorganize current TLF unit test project. Thanks Michael will back with the results. Piotr - Apache

Re: Unit tests in TLF

2014-09-22 Thread piotrz
Hi Guys, I would like to build tlf unit tests and running from ant build.xml file these tests. I did it without a problem: target name=flexunnit_tests flexunit swf=${output.dir}/apps/automation_apps/bin/VellumUnit.swf timeout=18 player=flash

Re: Unit tests in TLF

2014-05-18 Thread piotrz
Hi Alex, Sorry for the delay. I did try to put folder witch contains simple.xml file and other files require for Test cases. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context:

Re: Unit tests in TLF

2014-05-13 Thread Alex Harui
Excellent! Thanks for woking on it. What did you try putting into the FP trust file? On 5/7/14 11:58 PM, piotrz piotrzarzyck...@gmail.com wrote: Hi Guys! I have committed my changes related to Flex Unit TLF tests to FlexUnit4TestsTLF branch. TLF tests are consists with testApps - this is TLF

Re: Unit tests in TLF

2014-05-11 Thread piotrz
Hi Guys! I have committed my changes related to Flex Unit TLF tests to FlexUnit4TestsTLF branch. TLF tests are consists with testApps - this is TLF editor - http://www.adobe.com/devnet-apps/tlf/demo/ automation_apps - it contains logic for launch tests, read some data from xml files witch have

Re: Unit tests in TLF

2014-05-03 Thread piotrz
I have managed to build unit tests applications for TLF using ant. The result of this build is Flex application witch we could manually launch in the browser and start unit tests. I think this is not what we are looking for yes ? How should it work? Similar to mustella tests ? 1) built of TLF

Re: Unit tests in TLF

2014-05-03 Thread Alex Harui
If you can launch the test automatically, that would be best, IMO. -Alex On 5/3/14 5:20 AM, piotrz piotrzarzyck...@gmail.com wrote: I have managed to build unit tests applications for TLF using ant. The result of this build is Flex application witch we could manually launch in the browser and

Re: Unit tests in TLF

2014-05-03 Thread Justin Mclean
Hi, If you can launch the test automatically, that would be best, IMO. But having test to run is certainly better than the current situation were we can't run the tests. Check in it if it's an improvement over before (which sounds like it is) and if it doesn't break anything else. Thanks,

Re: Unit tests in TLF

2014-04-06 Thread piotrz
After a lot of modifications I've managed to run first test's class with Flex Unit 4.2 RC3 - AccessibilityMethodsTest. But I need some confirmation about my direction. In TLF automation_apps project we have TestDescriptorRunner which implements this interface - http://bit.ly/1jQwerN - Thanks to

Re: Unit tests in TLF

2014-04-06 Thread Alex Harui
Thanks for working on it. If it is easier to hook most tests to cilistener that is probably a good achievement. A custom runner for performance and memory could probably wait. Sent via the PANTECH Discover, an ATT 4G LTE smartphone. piotrz piotrzarzyck...@gmail.com wrote: After a lot of

Re: Unit tests in TLF

2014-03-26 Thread piotrz
I did small progress with running TLF tests. Successfully build all apps which have been used for tests purposes - It wasn't so easy. Next steps are: 1) Clean up code a bit. 2) Try to run at least one test. 3) Run ant script Piotr :) - Apache Flex Committer piotrzarzyck...@gmail.com --

Re: Unit tests in TLF

2014-03-26 Thread Alex Harui
Excellent. Thanks for working on it. On 3/26/14 1:58 PM, piotrz piotrzarzyck...@gmail.com wrote: I did small progress with running TLF tests. Successfully build all apps which have been used for tests purposes - It wasn't so easy. Next steps are: 1) Clean up code a bit. 2) Try to run at least

Re: Unit tests in TLF

2014-03-24 Thread Alex Harui
On 3/24/14 9:26 AM, Michael A. Labriola labri...@digitalprimates.net wrote: OK, I didn't see any non-Flex apps around the runners. The deal is the mx and Spark apps can't wrap the runners and load in FlexJS classes at the same time. I think I'll just have to replace the Spark app with a

RE: Unit tests in TLF

2014-03-24 Thread Michael A. Labriola
FlexJS will keep metadata on the JS side, probably as simple properties on the classes and/or functions. I imagine we'll write a library that abstracts the fetching of metadata and returns it as an array of strings or maybe as JSON. If we could easily retrofit the metadata fetching in

Re: Unit tests in TLF

2014-03-23 Thread Alex Harui
If you've got the time, go for it! It would be better if TLF was tested by other Apache Flex technology. I found when trying to get FlexUnit to work with FlexJS that there is some work needed there as well since the FlexUnit demos use mx or Spark applications around the runners. I think we'll

RE: Unit tests in TLF

2014-03-23 Thread Michael A. Labriola
I found when trying to get FlexUnit to work with FlexJS that there is some work needed there as well since the FlexUnit demos use mx or Spark applications around the runners. Alex, this isn't completely true and I can help you with it. The runner itself is entirely AS only, no Flex

RE: Unit tests in TLF

2014-03-23 Thread piotrz
Hi Michael. Thank you for your response. I'm going to remove all of references to this library and replace it to current version of FlexUnit. Michael tests which I see in TLF doesn't looks like tests which could be run through FlexUnit 4. I will probably have to modify all of them to run with

Re: Unit tests in TLF

2014-03-23 Thread piotrz
Thanks Alex I will try to do that. Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36211.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: Unit tests in TLF

2014-03-23 Thread piotrz
Thanks Michael if so I will study carefully everything and will try. :) Piotr - Apache Flex Committer piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Unit-tests-in-TLF-tp36199p36214.html Sent from the Apache Flex Development

Re: Unit tests in TLF

2014-03-23 Thread Alex Harui
On 3/23/14 9:51 AM, Michael A. Labriola labri...@digitalprimates.net wrote: I found when trying to get FlexUnit to work with FlexJS that there is some work needed there as well since the FlexUnit demos use mx or Spark applications around the runners. Alex, this isn't completely true and I can