Package org.asciidoctor.ast

Examples of org.asciidoctor.ast.RevisionInfo


  @Test
  public void revision_info_should_be_bound_into_revision_info_class() {
   
    DocumentHeader header = asciidoctor.readDocumentHeader(new File("target/test-classes/documentheaders.asciidoc"));
   
    RevisionInfo revisionInfo = header.getRevisionInfo();
   
    assertThat(revisionInfo.getDate(), is("2013-05-20"));
    assertThat(revisionInfo.getNumber(), is("1.0"));
    assertThat(revisionInfo.getRemark(), is("First draft"));
   
  }
View Full Code Here

TOP

Related Classes of org.asciidoctor.ast.RevisionInfo

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.