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 6fd90f1e7 Javadoc test fixes (#751)
6fd90f1e7 is described below
commit 6fd90f1e7dcfab8d809f716214f0a5c9a1e20129
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Tue Oct 13 09:24:52 2026 +0100
Javadoc test fixes (#751)
---
.../java/org/apache/wss4j/dom/message/DerivedKeyTest.java | 14 +++++++-------
.../org/apache/wss4j/dom/message/EncryptionCRLTest.java | 2 +-
.../apache/wss4j/dom/message/SecurityContextTokenTest.java | 2 +-
.../apache/wss4j/dom/message/SignatureEncryptionTest.java | 2 +-
.../java/org/apache/wss4j/dom/saml/SamlConditionsTest.java | 2 +-
.../org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java | 2 +-
.../java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java | 2 +-
.../java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java | 2 +-
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java
index 0495585f4..2ccfb5aa5 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/DerivedKeyTest.java
@@ -405,13 +405,6 @@ public class DerivedKeyTest {
verify(encryptedSignedDoc);
}
- /**
- * Verifies the soap envelope
- * <p/>
- *
- * @param envelope
- * @throws Exception Thrown when there is a problem in verification
- */
/**
* A derived key signature verified against an AlgorithmSuite that states
a signature key
* derivation length. The requirement is denominated in bits and the
wsc:Length of the
@@ -528,6 +521,13 @@ public class DerivedKeyTest {
return secEngine.processSecurityHeader(doc, data);
}
+ /**
+ * Verifies the soap envelope
+ * <p/>
+ *
+ * @param doc the SOAP envelope to verify
+ * @throws Exception Thrown when there is a problem in verification
+ */
private WSHandlerResult verify(Document doc) throws Exception {
WSHandlerResult results =
secEngine.processSecurityHeader(doc, null, callbackHandler,
crypto);
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java
index 5f7e52c5c..cf2f7cf3c 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/EncryptionCRLTest.java
@@ -158,7 +158,7 @@ public class EncryptionCRLTest {
/**
* Verifies the soap envelope <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception
* Thrown when there is a problem in verification
*/
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java
index 46a1d1145..2e3a3ce02 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SecurityContextTokenTest.java
@@ -380,7 +380,7 @@ public class SecurityContextTokenTest {
/**
* Verifies the soap envelope <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception
* Thrown when there is a problem in verification
*/
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java
index 38ef0c49f..ad4a90208 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/SignatureEncryptionTest.java
@@ -500,7 +500,7 @@ public class SignatureEncryptionTest {
/**
* Verifies the soap envelope <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
*
* @return the <code>WSSecurityEngineResult</code>s from processing
*
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java
index 7bfd95d1a..bb5ee13de 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlConditionsTest.java
@@ -885,7 +885,7 @@ public class SamlConditionsTest {
* Verifies the soap envelope
* <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception Thrown when there is a problem in verification
*/
private WSHandlerResult verify(Document doc) throws Exception {
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java
index 4a44e9bc0..d87e6e626 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenDerivedTest.java
@@ -203,7 +203,7 @@ public class SamlTokenDerivedTest {
* Verifies the soap envelope
* <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception Thrown when there is a problem in verification
*/
private WSHandlerResult verify(Document doc) throws Exception {
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java
index 09849f56d..f931965d8 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenHOKTest.java
@@ -251,7 +251,7 @@ public class SamlTokenHOKTest {
* Verifies the soap envelope
* <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception Thrown when there is a problem in verification
*/
private WSHandlerResult verify(Document doc) throws Exception {
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java
index 4e541994f..668e2478d 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenSVTest.java
@@ -363,7 +363,7 @@ public class SamlTokenSVTest {
* Verifies the soap envelope
* <p/>
*
- * @param envelope
+ * @param doc the SOAP envelope to verify
* @throws Exception Thrown when there is a problem in verification
*/
private WSHandlerResult verify(Document doc) throws Exception {