jetty-start / fleshing out with spdy test case

This commit is contained in:
Joakim Erdfelt 2013-08-26 16:08:08 -07:00
parent 25ef708b48
commit 29670845e7
7 changed files with 30 additions and 12 deletions

View File

@ -1,5 +1,6 @@
DEPEND=server,npn
DEPEND=server
DEPEND=npn
LIB=lib/spdy/*.jar

View File

@ -57,9 +57,9 @@ public class TestUseCases
}
@Test
public void testWithModuleDownload() throws Exception
public void testWithSpdy() throws Exception
{
assertUseCase("home","base.with.module.download","assert-with-module-download.txt");
assertUseCase("home","base.enable.spdy","assert-enable-spdy.txt");
}
@Test

View File

@ -2,6 +2,8 @@
XML|${jetty.home}/etc/jetty-jmx.xml
XML|${jetty.home}/etc/jetty.xml
XML|${jetty.home}/etc/jetty-http.xml
XML|${jetty.home}/etc/jetty-ssl.xml
XML|${jetty.home}/etc/jetty-spdy.xml
# The LIBs we expect (order is irrelevant)
LIB|${jetty.home}/lib/jetty-continuation-TEST.jar
@ -13,12 +15,22 @@ LIB|${jetty.home}/lib/jetty-server-TEST.jar
LIB|${jetty.home}/lib/jetty-util-TEST.jar
LIB|${jetty.home}/lib/jetty-xml-TEST.jar
LIB|${jetty.home}/lib/servlet-api-3.1.jar
LIB|${jetty.home}/lib/spdy/spdy-client-TEST.jar
LIB|${jetty.home}/lib/spdy/spdy-http-server-TEST.jar
LIB|${jetty.home}/lib/spdy/spdy-http-common-TEST.jar
LIB|${jetty.home}/lib/spdy/spdy-server-TEST.jar
LIB|${jetty.home}/lib/spdy/spdy-core-TEST.jar
# The Properties we expect (order is irrelevant)
PROP|jetty.port=9090
PROP|jetty.keystore=etc/keystore
PROP|jetty.keystore.password=friendly
PROP|jetty.keymanager.password=icecream
PROP|jetty.truststore=etc/keystore
PROP|jetty.truststore.password=sundae
# The Downloads
DOWNLOAD|http://repo1.maven.org/maven2/org/mortbay/jetty/npn/npn-boot/1.1.5.v20130313/npn-boot-1.1.5.v20130313.jar:lib/npn/npn-boot-1.1.5.v20130313.jar
# The Bootlib
BOOTLIB|-Xbootclasspath/p:lib/npn/npn-boot-1.1.5.v20130313.jar
BOOTLIB|-Xbootclasspath/p:lib/npn/npn-boot-1.1.5.v20130313.jar

View File

@ -0,0 +1,12 @@
--module=server,http,jmx,spdy
jetty.port=9090
# Some SSL keystore configuration
jetty.keystore=etc/keystore
jetty.keystore.password=friendly
jetty.keymanager.password=icecream
jetty.truststore=etc/keystore
jetty.truststore.password=sundae

View File

@ -1,4 +0,0 @@
DOWNLOAD=http://repo1.maven.org/maven2/org/mortbay/jetty/npn/npn-boot/1.1.5.v20130313/npn-boot-1.1.5.v20130313.jar:lib/npn/npn-boot-1.1.5.v20130313.jar
BOOTLIB=-Xbootclasspath/p:lib/npn/npn-boot-1.1.5.v20130313.jar

View File

@ -1,4 +0,0 @@
--module=server,http,jmx,npn
jetty.port=9090

View File

@ -1,5 +1,6 @@
DEPEND=server
DEPEND=npn
LIB=lib/spdy/*.jar