You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2026/10/22 06:03:32 UTC

(ws-wss4j) branch 3_0_x-fixes updated: Rename DerivedKeyTests so Surefire runs it (#761)

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3_0_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/3_0_x-fixes by this push:
     new 6ae39f89a Rename DerivedKeyTests so Surefire runs it (#761)
6ae39f89a is described below

commit 6ae39f89a514f14cac2e023cb7ca0a3d61b21135
Author: Sharang Gupta <sh...@sharanggupta.dev>
AuthorDate: Thu Oct 22 06:49:29 2026 +0100

    Rename DerivedKeyTests so Surefire runs it (#761)
    
    The build only includes **/*Test.java, so the nine tests in
    ws-security-policy-stax's DerivedKeyTests were never executed.
    Renaming the class to DerivedKeyTest brings it in line with its
    siblings; all nine tests pass.
---
 .../policy/stax/test/{DerivedKeyTests.java => DerivedKeyTest.java}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTests.java b/ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTest.java
similarity index 99%
rename from ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTests.java
rename to ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTest.java
index 727d1e253..41bffc38e 100644
--- a/ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTests.java
+++ b/ws-security-policy-stax/src/test/java/org/apache/wss4j/policy/stax/test/DerivedKeyTest.java
@@ -40,7 +40,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.junit.jupiter.api.Assertions.fail;
 
-public class DerivedKeyTests extends AbstractPolicyTestBase {
+public class DerivedKeyTest extends AbstractPolicyTestBase {
 
     @Test
     public void testDerivedKeyInitiatorTokenPolicy() throws Exception {