Will try to replicate. A couple of questions:
Are you using the same version of FlexUnit in both SDK 3.x and 4.x or different versions? There was a change to the way ordering worked for FlexUnit 4.1 beta, and there could be a problem there, so I just need to know where to look.
I was using the 4.0 version. I tried the beta build from the site and that didn't work either.
if you want i could get you a sample app with the libs i'm using.
Let me try to replicate it on my setup with that information and, if I cannot, I will get back to you for some additional help, however, your description seems pretty straight forward.
I'm using Flex 18.104.22.16859 with Air 2.0
Alright, the root of the problem is.... describeType()
Here is the describeType data returned for setupTest in Flex 4.x and 3.x
<method name="setupTest" declaredBy="tests::ActualTest" returnType="void"/>
<method name="setupTest" declaredBy="tests::ActualTest" returnType="void">
<arg key="order" value="2"/>
In Flex 3.x, it recognized the Before tag from the super class. In Flex 4.x, it does not. I will try to find out if there is anything we can do and start working on a hotfix for this... although it is going to be a real PITA as this will mean we need to recurse with describeType up the stack which will be painfully slow.
The weird thing is that this is a Flash Player method, not a Flex method. I tried making sure it wasn't a flash player version issue, but even building for the same version, the issue exists. For the moment, if you add duplicate Before metadata in the subclass, it works. I know that isn't a longer term solution but it might be the best I can offer for another day or so.
Nope, if that was the case none of your tests would get called and you would have a whole different set of issues.