-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add munit.internal.junitinterface.{PendingCommentTag, PendingTag}
- Loading branch information
Showing
6 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
junit-interface/src/main/java/munit/internal/junitinterface/PendingCommentTag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package munit.internal.junitinterface; | ||
|
||
public interface PendingCommentTag extends Tag {} |
3 changes: 3 additions & 0 deletions
3
junit-interface/src/main/java/munit/internal/junitinterface/PendingTag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package munit.internal.junitinterface; | ||
|
||
public interface PendingTag extends Tag {} |
3 changes: 3 additions & 0 deletions
3
munit/js-native/src/main/scala/munit/internal/junitinterface/PendingCommentTag.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package munit.internal.junitinterface | ||
|
||
trait PendingCommentTag extends Tag |
3 changes: 3 additions & 0 deletions
3
munit/js-native/src/main/scala/munit/internal/junitinterface/PendingTag.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package munit.internal.junitinterface | ||
|
||
trait PendingTag extends Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import munit.internal.junitinterface.{PendingCommentTag, PendingTag} | ||
|
||
package object munit { | ||
case class PendingComment(override val value: String) extends Tag(value) | ||
case class PendingComment(override val value: String) extends Tag(value) with PendingCommentTag | ||
|
||
val Ignore = new Tag("Ignore") | ||
val Only = new Tag("Only") | ||
val Flaky = new Tag("Flaky") | ||
val Fail = new Tag("Fail") | ||
val Pending = new Tag("Pending") | ||
val Pending = new Tag("Pending") with PendingTag | ||
val Slow = new Tag("Slow") | ||
} |