Package org.rendersnake.site

Source Code of org.rendersnake.site.MenuBarTest

package org.rendersnake.site;

import java.io.IOException;

import junit.framework.TestCase;

import org.rendersnake.HtmlCanvas;
import org.rendersnake.internal.HtmlServletCanvas;
import org.rendersnake.site.components.MenuBar;
import org.rendersnake.tools.PrettyWriter;

public class MenuBarTest extends TestCase {
    public void testRender() throws IOException {
        MenuBar mb = new MenuBar("examples.html");
        HtmlCanvas html = new HtmlServletCanvas(null,null,new PrettyWriter());
        html.render(mb);
        System.out.println(html.toHtml());
    }
}
TOP

Related Classes of org.rendersnake.site.MenuBarTest

TOP
Copyright © 2018 www.massapi.com. 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.