Is that metadata supposed to go on static methods? I guess I assumed that, like [Before] and [After], they're supposed to go on instance methods. I've never had a reason to use [BeforeClass] and [AfterClass] in a real world project, so perhaps I should have looked at the FlexUnit examples more closely.
I'm not at my computer, so I can't look at the Reflection stuff right now. Greg might know, or I can look more closely later. - Josh On Sunday, September 22, 2019, Yishay Weiss <[email protected]> wrote: > Those are not working for me. > > I think the problem is that metadata is that only non-static methods are iterated when figuring out the meta-data. But then I run into a different problem, which is how to invoke a static method with reflection. > > Any ideas? > > -- -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev>
