Package org.pentaho.platform.web.servlet

Examples of org.pentaho.platform.web.servlet.HttpWebService.doGet()


    request.setSession( session );
    request.setupAddParameter( "action", "securitydetails" ); //$NON-NLS-1$//$NON-NLS-2$
    request.setupAddParameter( "details", "all" ); //$NON-NLS-1$ //$NON-NLS-2$
    MockHttpServletResponse response = new MockHttpServletResponse();
    HttpWebService servlet = new HttpWebService();
    servlet.doGet( request, response );
    assertTrue( "missing or invalid SOAP wrapper elements", //$NON-NLS-1$
        isSoapValid( response.getOutputStreamContent() ) );
    assertTrue( "missing or invalid users, roles, or acls elements", //$NON-NLS-1$
        isBodyValid( response.getOutputStreamContent() ) );
    // System.out.println(response.getOutputStreamContent());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.