Package com.volantis.mcs.servlet

Examples of com.volantis.mcs.servlet.ByteArrayServletOutputStream


     * @throws IOException if there was a problem running the test
     */
    public void testValidRemappableObject() throws ServletException,
            IOException, ParserConfigurationException, SAXException {

        ByteArrayServletOutputStream os = new ByteArrayServletOutputStream();

        String expected ="<TEST/>";

        doTestRetrievePolicy(os, "image.mimg");

        String result = os.toString("UTF-8");

        // @todo later uncomment this - couldn't find XMLUnit on committal...
        assertXMLEquals("Image asset received did not match that expected",
                expected, result.trim());
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.servlet.ByteArrayServletOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.