1 package com.tonbeller.wcf.web; 2 3 import java.io.IOException ; 4 5 import javax.xml.transform.TransformerException ; 6 7 import org.jaxen.JaxenException; 8 import org.xml.sax.SAXException ; 9 10 import com.meterware.httpunit.GetMethodWebRequest; 11 12 public class StatusLineTest extends HttpUnitTestCase { 13 14 public StatusLineTest(String arg0) { 15 super(arg0); 16 } 17 18 private void check(String name, String elemId) throws JaxenException, IOException , SAXException , TransformerException { 19 utils.check(name, "filter.xsl", elemId); 20 } 21 22 public void testStatusLine() throws Exception { 23 wc.sendRequest(new GetMethodWebRequest(servletUrl + "/statusline.jsp")); 24 check("statusline-01", "xmlcontent"); 25 } 26 27 } 28 | Popular Tags |