You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/10 09:49:07 UTC
(tomcat) branch 9.0.x updated: Switch expected and actual.
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new d3af6998fc Switch expected and actual.
d3af6998fc is described below
commit d3af6998fc1692d0abc1bcaf791479433543d1b4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jun 8 10:00:49 2026 +0100
Switch expected and actual.
The OpenSSL sourced list is the expected list. The parser sourced list
is the actual list.
---
.../net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
index 65c6b41385..07f5ead798 100644
--- a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
+++ b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
@@ -510,6 +510,12 @@ public class TestOpenSSLCipherConfigurationParser {
// First check the lists have the same entries
// Order is NOT important at this point. It is checked below.
+ Assert.assertEquals(
+ "Expected " + jsseCipherListFromOpenSSL.size() + " ciphers but got "
+ + jsseCipherListFromParser.size() + " for the specification '"
+ + specification + "'",
+ new TreeSet<>(jsseCipherListFromOpenSSL), new TreeSet<>(jsseCipherListFromParser));
+
Assert.assertEquals(
"Expected " + jsseCipherListFromParser.size() + " ciphers but got "
+ jsseCipherListFromOpenSSL.size() + " for the specification '"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org