Package com.volantis.mcs.themes

Examples of com.volantis.mcs.themes.StyleSheetMock


        SimpleSelectorSequenceBuilderMock sequenceBuilderMock =
                new SimpleSelectorSequenceBuilderMock("sequence builder",
                        expectations);

        StyleSheetMock styleSheetMock = new StyleSheetMock("style sheet",
                expectations);

        OutputStylesMock outputStylesMock = new OutputStylesMock(
                "output styles", expectations);
View Full Code Here


        stylesClassRuleExtractorMock =
                new StylesClassRuleExtractorMock("extractor", expectations);

        outputElementsMock = new OutputStyledElementListMock("elements", expectations);

        styleSheetMock = new StyleSheetMock("style sheet", expectations);

        elementMock1 = new ElementMock("element", expectations);

        elementMock2 = new ElementMock("element 2", expectations);
View Full Code Here

        // =====================================================================

        final PaneMock paneMock = LayoutTestHelper.createPaneMock(
                "paneMock", expectations, canvasLayoutMock);

        final StyleSheetMock styleSheetMock =
                new StyleSheetMock("styleSheetMock", expectations);

        final StyleSheetCompilerMock styleSheetCompilerMock =
                new StyleSheetCompilerMock("styleSheetCompilerMock",
                                           expectations);
View Full Code Here

        final VariantMock deviceVariantMock =
            new VariantMock("deviceVariantMock", expectations);
        deviceVariantMock.expects.getVariantType().returns(
            VariantType.THEME).any();
        final StyleSheetMock deviceStyleSheetMock =
            new StyleSheetMock("deviceStyleSheetMock", expectations);
        deviceStyleSheetMock.expects.getRules().returns(
            Collections.singletonList("device rule")).any();
        final ActivatedThemeContent deviceContent =
            new ActivatedThemeContent(deviceStyleSheetMock, true);
        deviceVariantMock.expects.getContent().returns(deviceContent).any();

        final VariantMock fallbackDeviceVariantMock =
            new VariantMock("fallbackDeviceVariantMock", expectations);
        fallbackDeviceVariantMock.expects.getVariantType().returns(
            VariantType.THEME).any();
        final StyleSheetMock fallbackDeviceStyleSheetMock =
            new StyleSheetMock("fallbackDeviceStyleSheetMock", expectations);
        fallbackDeviceStyleSheetMock.expects.getRules().returns(
            Collections.singletonList("fallback device rule")).any();
        final ActivatedThemeContent fallbackDeviceContent =
            new ActivatedThemeContent(fallbackDeviceStyleSheetMock, true);
        fallbackDeviceVariantMock.expects.getContent().returns(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.themes.StyleSheetMock

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.