RFR: 7902649: Allow a testsuite to define several TestFilters specific for this suite
Dmitry Bessonov
dbessono at openjdk.java.net
Wed Apr 29 19:27:13 UTC 2020
On Wed, 29 Apr 2020 17:07:28 GMT, Dmitry Bessonov <dbessono at openjdk.org> wrote:
>> Currently TestSuite class has a method to override that returns only one test filter:
>>
>> TestFilter createTestFilter(TestEnvironment)
>>
>> There are situations when test suite has several test filters that it is forced however to hide behind an umbrella
>> filter. It is more natural and convenient to let test suite return a collection of atomized filters that would be
>> iterated on the JTHarness side and listed in the test run stats separately and informatively.
>
> Most complex changes are in ET_FilterHandler.java
After some conversations it is considered that a safer, less disturbing, more balanced, and actually
simpler-to-implement approach might be - just to allow TestSuite to return a composite test filter that would be
decomposed on the JTH side into several first class test filters.
-------------
PR: https://git.openjdk.java.net/jtharness/pull/2
More information about the jtharness-dev
mailing list