Package org.apache.myfaces.context.servlet

Examples of org.apache.myfaces.context.servlet.ServletContextMockImpl


    }


    protected ServletContext setUpServletContext()
    {
        ServletContextMockImpl servletContext = new ServletContextMockImpl();
        servletContext.addResource("/WEB-INF/faces-config.xml",
                                   RESOURCE_PATH + "/junit-faces-config.xml");
        servletContext.addResource("/WEB-INF/web.xml",
                                   RESOURCE_PATH + "/junit-web.xml");
        return servletContext;
    }
View Full Code Here


        super(name);
    }

    protected ServletContext setUpServletContext()
    {
        ServletContextMockImpl servletContextMock
                = (ServletContextMockImpl)super.setUpServletContext();
        servletContextMock.addResource(WEB_XML_SYSTEM_ID, WEB_XML_PATH_TEST);
        return servletContextMock;
    }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.context.servlet.ServletContextMockImpl

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.