cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r597329 - /incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java
Date Thu, 22 Nov 2007 08:09:42 GMT
Author: ningjiang
Date: Thu Nov 22 00:09:40 2007
New Revision: 597329

URL: http://svn.apache.org/viewvc?rev=597329&view=rev
Log:
Added more test for the setTLSServerParametersForPort

Modified:
    incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java

Modified: incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java?rev=597329&r1=597328&r2=597329&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java
(original)
+++ incubator/cxf/trunk/rt/transports/http-jetty/src/test/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineTest.java
Thu Nov 22 00:09:40 2007
@@ -104,8 +104,14 @@
         assertTrue("Protocol must be https", 
                    "https".equals(engine.getProtocol()));
         
+        factory.setTLSServerParametersForPort(9236, new TLSServerParameters());
+        engine = factory.createJettyHTTPServerEngine(9236, "https");
+        assertTrue("Protocol must be https", 
+                   "https".equals(engine.getProtocol()));
+        
         factory.destroyForPort(9234);
         factory.destroyForPort(9235);
+        factory.destroyForPort(9236);
     }
     
     



Mime
View raw message