Package com.volantis.styling.sheet

Examples of com.volantis.styling.sheet.CompiledStyleSheetMock


        final StyleSheetCompilerMock styleSheetCompilerMock =
                new StyleSheetCompilerMock("styleSheetCompilerMock",
                                           expectations);

        final CompiledStyleSheetMock compiledStyleSheetMock =
                new CompiledStyleSheetMock("compiledStyleSheetMock",
                                           expectations);

        final FragmentMock fragmentMock = LayoutTestHelper.createFragmentMock(
                "fragmentMock", expectations, canvasLayoutMock);
View Full Code Here


                .returns(environmentContextMock).any();

        context.initialisePage(
            new Volantis() {
                public CompiledStyleSheet getDefaultStyleSheet() {
                    return new CompiledStyleSheetMock(
                            "CompiledStyleSheetMock", expectations);
                }

                public RuntimeProject getDefaultProject() {
                    return projectMock;
View Full Code Here

        // todo: later: this should return a real project object so that we
        // can avoid using test specific code paths within the code.
        pageContext.expects.getCurrentProject().returns(null);

        if (!rel.equals("mcs:layout")) {
            CompiledStyleSheetMock compiledStyleSheet =
                    new CompiledStyleSheetMock("compiledStyleSheet",
                            expectations);

            pageContext.expects.retrieveThemeStyleSheet("test").
                    returns(compiledStyleSheet);
        }
View Full Code Here

        renderer = new DeviceLayoutRenderer(layoutAttributesFactoryMock);
    }

    private void setupStyling() {

        final CompiledStyleSheetMock layoutCompiledStyleSheetMock =
                new CompiledStyleSheetMock("layoutCompiledStyleSheetMock",
                                           expectations);

        final CompiledStyleSheetMock themeCompiledStyleSheetMock =
                new CompiledStyleSheetMock("themeCompiledStyleSheetMock",
                                           expectations);

        final CompiledStyleSheetCollection compiledStyleSheets =
                new CompiledStyleSheetCollection();
View Full Code Here

TOP

Related Classes of com.volantis.styling.sheet.CompiledStyleSheetMock

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.