Package com.volantis.mcs.context

Examples of com.volantis.mcs.context.MarinerPageContextMock


        // Create test objects.
        XFFormElementImplMock formElement =
                new XFFormElementImplMock("formElement", expectations);
        MarinerRequestContextMock requestContext =
                new MarinerRequestContextMock("requestContext", expectations);
        MarinerPageContextMock pageContext =
                new MarinerPageContextMock("requestContext", expectations);
        FormDescriptorMock fd = new FormDescriptorMock("descriptor", expectations);

        privateSetUp();
        FormInstance form = new FormInstance(NDimensionalIndex.ZERO_DIMENSIONS);
View Full Code Here


        //   Create Mocks
        // =====================================================================

        volantisMock = new VolantisMock("volantisMock", expectations);

        pageContextMock = new MarinerPageContextMock("pageContextMock",
                expectations);

        requestContextMock = new MarinerRequestContextMock("requestContextMock",
                expectations);
View Full Code Here

        // =====================================================================
        //   Create Mocks
        // =====================================================================

        final MarinerPageContextMock pageContextMock =
                new MarinerPageContextMock("pageContextMock",
                        expectations);

        final ProjectManagerMock projectManagerMock =
                new ProjectManagerMock("projectManagerMock", expectations);
View Full Code Here

            throws Throwable {

        final String assetURL = "http://test.url";
        final String defaultSegment = "defaultSegment";

        final MarinerPageContextMock pageContextMock =
                new MarinerPageContextMock("pageContextMock",
                        expectations);
        protocol.setMarinerPageContext(pageContextMock);

        LinkAssetReference reference =
                new LiteralLinkAssetReference(assetURL);
View Full Code Here

    protected void setUp() throws Exception {
        super.setUp();
        menuElement = (MenuElementImpl) createTestablePAPIElement();
        requestContext = new MarinerRequestContextMock("requestContext",
                expectations);
        pageContext = new MarinerPageContextMock("pageContext", expectations);
        properties = new ShortcutPropertiesMock("properties", expectations);
    }
View Full Code Here

        // Create test objects.
        final String formSpecifier = "s0";
        final String contextPathString = "/context/";
        final FormDescriptor fd = new FormDescriptor();

        MarinerPageContextMock pageContext =
                new MarinerPageContextMock("pageContext", expectations);
        EnvironmentContextMock envContext =
                new EnvironmentContextMock("envContext", expectations);
        MarinerURL contextPathURL = new MarinerURL(contextPathString);
        protocol.setMarinerPageContext(pageContext);
        MarinerURL requestURL = new MarinerURL(requestPath);
View Full Code Here

        // =====================================================================
        //   Create Mocks
        // =====================================================================

        final MarinerPageContextMock pageContextMock =
                new MarinerPageContextMock("pageContextMock",
                        expectations);

        final ProjectManagerMock projectManagerMock =
                new ProjectManagerMock("projectManagerMock", expectations);
View Full Code Here

    // Javadoc inherited
    protected void setUp() throws Exception {
        super.setUp();
       
        // Create basic mocks
        marinerPageContextMock =  new MarinerPageContextMock("marinerPageContextMock", expectations);
        requestContextMock =  new MarinerRequestContextMock("requestContextMock", expectations);
        volantisMock = new VolantisMock("volantisMock", expectations);
        environmentContextMock = new EnvironmentContextMock("environmentContextMock", expectations);
       
        // Interconnect mocks
View Full Code Here

        super.setUp();

        context = new XDIMEContextInternalMock("context", expectations);
        requestContext =
                new MarinerRequestContextMock("requestContext", expectations);
        pageContext = new MarinerPageContextMock("pageContext", expectations);
        containerInstance = new ContainerInstanceMock("containerInstance",
                expectations);
        layoutContext = new DeviceLayoutContextMock("layoutContext",
                expectations);
        regionInstance = new RegionInstanceMock("regionInstance", expectations,
View Full Code Here

            new ProtocolRegistry.HTMLVersion4_0Factory(), device);
    }

    private MarinerRequestContextMock getMarinerRequestContextMock() {

        final MarinerPageContextMock pageContextMock =
            new MarinerPageContextMock("pageContextMock", expectations);
        final MarinerRequestContextMock requestContextMock =
            new MarinerRequestContextMock("requestContextMock", expectations);

        final DOMProtocol protocol = createProtocol();
        protocol.setMarinerPageContext(pageContextMock);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.context.MarinerPageContextMock

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.