Package de.agilecoders.wicket.core.markup.html.bootstrap.heading

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.heading.Heading


@Category(IntegrationTest.class)
public class HeadingTest extends WicketApplicationTest {

    @Test
    public void isInstantiableWithoutError() {
        Heading heading = new Heading("id");

        for (int i = 1; i <= 6; ++i) {
            tester().startComponentInPage(heading, Markup.of("<h" + i + " wicket:id='id'>Heading</h" + i + ">"));
            tester().assertNoErrorMessage();
        }
View Full Code Here


        }
    }

    @Test(expected = MarkupException.class)
    public void tagNameIsAsserted() {
        Heading heading = new Heading("id");

        tester().startComponentInPage(heading, Markup.of("<span wicket:id='id'>Heading</span>"));
    }
View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.markup.html.bootstrap.heading.Heading

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.