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.co
>"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
I would look at your code again. I don't think it's doing what you think it's
doing. A few things including that slice returns a shallow copy. You make a
copy and pass the original up.
However, you don't need a rule at all. Just do this work in the loader.
Load your data but ensure you only pas
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 Fl
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
PROBLEM:
[Test(dataProvider=dp)]
public function checkColumnWidthOnGapChangeTest(dpData:Object):void
{
}
>If I add my data provider to the test above it will launch 100 times, but only
>two cases from this xml file is for this test.
This is just not how you are supposed to use this feature. It's