You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2023/10/20 22:38:42 UTC
[shiro] branch fix-it-name-2x created (now 85fc3ef18)
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a change to branch fix-it-name-2x
in repository https://gitbox.apache.org/repos/asf/shiro.git
at 85fc3ef18 Fix naming of WebContainer Tests/IT
This branch includes the following new commits:
new 85fc3ef18 Fix naming of WebContainer Tests/IT
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[shiro] 01/01: Fix naming of WebContainer Tests/IT
Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch fix-it-name-2x
in repository https://gitbox.apache.org/repos/asf/shiro.git
commit 85fc3ef18acbd5252d2a26a7228a6b31eabfefbc
Author: Brian Demers <bd...@apache.org>
AuthorDate: Thu Oct 19 15:00:45 2023 -0400
Fix naming of WebContainer Tests/IT
This is an integration tests, renaming the test as *IT, allows it to be skipped with `-DskipITs`, otherwise (without additional configuration) it will run as a unit test
---
.../test/web/jakarta/{WebContainerTest.java => WebContainerIT.java} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerTest.java b/samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerIT.java
similarity index 97%
rename from samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerTest.java
rename to samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerIT.java
index c8200f04b..aefb748d6 100644
--- a/samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerTest.java
+++ b/samples/web-jakarta/src/test/java/org/apache/shiro/test/web/jakarta/WebContainerIT.java
@@ -31,7 +31,7 @@ import java.net.URI;
import static jakarta.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED;
import static jakarta.ws.rs.core.MediaType.TEXT_HTML_TYPE;
-public class WebContainerTest extends JakartaAbstractContainerIT {
+public class WebContainerIT extends JakartaAbstractContainerIT {
@SuppressWarnings("checkstyle:MagicNumber")
@Test