Hi, On Tue, Jul 15, 2014 at 10:03 AM, Francesco Mari <[email protected]> wrote: > ...I realized that this mechanism was required because when writing > SamplePerformanceTest [1] I had to resort to an anonymous inner class > to act as a listener to provide initialization and cleanup code for my > test...
[1| looks good to me, thanks for that! Adding it broke the sample integration tests but I just fixed that in http://svn.apache.org/r1610633 Are the warmup annotations tested elsewhere, to verify that the actually do what they claim to do in terms of number of calls, warmup time etc? I don't think [2] tests that. -Bertrand [1] https://svn.apache.org/repos/asf/sling/trunk/testing/samples/sample-tests/src/main/java/org/apache/sling/testing/samples/sampletests/SamplePerformanceTest.java [2] https://svn.apache.org/repos/asf/sling/trunk/testing/junit/performance/src/test/java/org/apache/sling/junit/performance/runner/PerformanceRunnerTest.java
