Add checkTestsHaveRun task to check tests have run (#28350)

Extend JUnitSuite to make sure the test is included in the report.

After merging this, nothing would happen. We should then invoke
`checkTestsHaveRun` from the jenkins nightly builds. That should then
fail the build until we merge #28347 and switch the nightly builds
to run on JDK11.
This commit is contained in:
Arnout Engelen 2019-12-13 11:29:20 +01:00 committed by GitHub
parent 7d51a8d5f9
commit 21fbfe6724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View file

@ -10,7 +10,9 @@ import org.junit.Test;
import java.util.concurrent.Flow;
public class JavaFlowSupportCompileTest {
import org.scalatest.junit.JUnitSuite;
public class JavaFlowSupportCompileTest extends JUnitSuite {
@Test
public void shouldCompile() throws Exception {
final Flow.Processor<String,String> processor = new Flow.Processor<String, String>() {