[SUREFIRE-2049] Upgrade Surefire Provider interface (original) (raw)

The interface SurefireProvider has several drawbacks:

1. method getSuites() should be deleted and substituted by a negotiation mechanism between the plugin process and surefire forked process. TODO: analyse as-is-status in the in-plugin mode
2. method invoke( Object forkTestSet ) has parameter of Java type Object. This should respect polymorphic approach.
3. analyse the impact of the method cancel()

blocks

Bug - A problem which impairs or prevents the functions of the product. SUREFIRE-2073 Test class filtering should be done in the particular fork JVM where the real test would run.

is duplicated by

Task - A task that needs to be done. SUREFIRE-1560 Rework SUREFIRE-1535. Use only FORKTESTSET and split SurefireProvider to two interfaces - currently has two responsibilities