Package com.volantis.mcs.protocols.menu.shared.renderer

Examples of com.volantis.mcs.protocols.menu.shared.renderer.DefaultVerticalSeparatorRenderer


    /**
     * Test the render method.
     */
    public void testRender() throws Exception {
        SeparatorRenderer renderer = new DefaultVerticalSeparatorRenderer(
                new TestDeprecatedLineBreakOutput());

        // Create expected
        String expected = DOMUtilities.provideDOMNormalizedString("<br/>");

        // Create the test buffer
        TestDOMOutputBuffer testBuffer = new TestDOMOutputBuffer();

        // Render using the test buffer
        renderer.render(testBuffer);

        // Extract the output from the rendering as a string.
        String actual = DOMUtilities.toString(testBuffer.getRoot());
        assertNotNull("The actual string should exist", actual);

View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.menu.shared.renderer.DefaultVerticalSeparatorRenderer

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.