tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1076197 - /tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java
Date Wed, 02 Mar 2011 12:42:34 GMT
Author: markt
Date: Wed Mar  2 12:42:34 2011
New Revision: 1076197

URL: http://svn.apache.org/viewvc?rev=1076197&view=rev
Log:
Better test for APR

Modified:
    tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java

Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java?rev=1076197&r1=1076196&r2=1076197&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/TestCustomSsl.java Wed Mar  2 12:42:34 2011
@@ -50,7 +50,7 @@ public class TestCustomSsl extends Tomca
         
         Tomcat tomcat = getTomcatInstance();
         Connector connector = tomcat.getConnector();
-        if (connector.getProtocol().indexOf("Apr") > -1) {
+        if (connector.getProtocolHandlerClassName().contains("Apr")) {
             // This test is only for JSSE based SSL connectors
             return;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message