Package com.volantis.mcs.protocols.layouts

Examples of com.volantis.mcs.protocols.layouts.ContainerInstanceMock


        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,
                NDimensionalIndex.ZERO_DIMENSIONS);
View Full Code Here


     * @throws NoSuchFieldException if there was a problem running the test
     */
    public void testCaptionShouldBeWrittenOutByItemParent()
            throws XDIMEException, NoSuchFieldException {

        ContainerInstanceMock container =
                new ContainerInstanceMock("container", expectations);

        // This expectation is required in order to create the item element
        // with no parent element.
        contextMock.expects.getCurrentElement().returns(null);
        final MarinerRequestContextMock requestContext =
View Full Code Here

     * @throws NoSuchFieldException if there was a problem running the test
     */
    public void testCaptionShouldBeWrittenOutByControlParent()
            throws XDIMEException, NoSuchFieldException {

        ContainerInstanceMock container =
                new ContainerInstanceMock("container", expectations);

        // This expectation is required in order to create the control element
        // with no parent element.
        contextMock.expects.getCurrentElement().returns(null);
        final MarinerRequestContextMock requestContext =
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.layouts.ContainerInstanceMock

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.