Package br.com.caelum.tubaina.chunk

Examples of br.com.caelum.tubaina.chunk.ListChunk


    Assert.assertEquals("<ul>conteudo da lista</ul>", result);
  }
 
  @Test
  public void testListNumber() {
    ListChunk chunk = new ListChunk("number", text("conteudo da lista"));
    String result = getContent(chunk);
    Assert.assertEquals("<ol>conteudo da lista</ol>", result);
  }
View Full Code Here


    Assert.assertEquals("<ol>conteudo da lista</ol>", result);
  }
 
  @Test
  public void testListLetter() {
    ListChunk chunk = new ListChunk("letter", text("conteudo da lista"));
    String result = getContent(chunk);
    Assert.assertEquals("<ol class=\"letter\">conteudo da lista</ol>", result);
  }
View Full Code Here

    Assert.assertEquals("<ol class=\"letter\">conteudo da lista</ol>", result);
  }
 
  @Test
  public void testListRoman() {
    ListChunk chunk = new ListChunk("roman", text("conteudo da lista"));
    String result = getContent(chunk);
    Assert.assertEquals("<ol class=\"roman\">conteudo da lista</ol>", result);
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.chunk.ListChunk

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.