Skip to content

Commit

Permalink
Import TestEngine interface from org.junit.platform.engine package
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed May 16, 2018
1 parent 3fb6012 commit 4c2bbbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion junit5-modular-world/src/main/ice.cream/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
* http://www.eclipse.org/legal/epl-v20.html
*/

import org.junit.platform.engine.TestEngine;

module ice.cream {
requires org.junit.platform.engine;

provides org.junit.platform.engine.TestEngine with ice.cream.Machine;
provides TestEngine with ice.cream.Machine;
}
4 changes: 3 additions & 1 deletion junit5-modular-world/src/test/ice.cream/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
* http://www.eclipse.org/legal/epl-v20.html
*/

import org.junit.platform.engine.TestEngine;

open module ice.cream {
//
// copied from "main"
//
requires org.junit.platform.engine;

provides org.junit.platform.engine.TestEngine with ice.cream.Machine;
provides TestEngine with ice.cream.Machine;

//
// test dependencies
Expand Down

0 comments on commit 4c2bbbe

Please sign in to comment.