forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(test): enable using GenericContainer without JUnit4 around
As a hack to work around testcontainers/testcontainers-java#970, we add these fake, empty classes. Copied from Spring project. See also: testcontainers/testcontainers-java#970
- Loading branch information
1 parent
ee88cfd
commit 600d209
Showing
2 changed files
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.junit.rules; | ||
|
||
/** | ||
* "Fake" class used as a replacement for Junit4-dependent classes. | ||
* See more at: <a href="https://github.com/testcontainers/testcontainers-java/issues/970"> | ||
* GenericContainer run from Jupiter tests shouldn't require JUnit 4.x library on runtime classpath | ||
* </a>. | ||
*/ | ||
@SuppressWarnings("unused") | ||
public interface TestRule { | ||
} |
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,11 @@ | ||
package org.junit.runners.model; | ||
|
||
/** | ||
* "Fake" class used as a replacement for Junit4-dependent classes. | ||
* See more at: <a href="https://github.com/testcontainers/testcontainers-java/issues/970"> | ||
* GenericContainer run from Jupiter tests shouldn't require JUnit 4.x library on runtime classpath | ||
* </a>. | ||
*/ | ||
@SuppressWarnings("unused") | ||
public class Statement { | ||
} |