Examples of XdocFile


Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

  private static final String RESULT_FILE = RESULT_DIR + "mytestmodel.xdoc.html";


  @Override
  public void testGenCodeWithLanguage() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "codeWithLanguageTest.xdoc");
    Document doc = (Document) file.getMainSection();
    generate(doc);
    validate(EXPECTATION_DIR + "codeWithLanguage.html", RESULT_DIR + "mytestmodel.xdoc-0.html");
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "codeWithLanguage.html", RESULT_DIR + "mytestmodel.xdoc-0.html");
  }

  @Override
  public void testGenCode() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "codeTest.xdoc");
    Document doc = (Document) file.getMainSection();
    generate(doc);
    validate(EXPECTATION_DIR + "code.html", RESULT_DIR + "mytestmodel.xdoc-0.html");
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "code.html", RESULT_DIR + "mytestmodel.xdoc-0.html");
  }

  @Override
  public void testARef() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "aRefTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "aRefExp.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "aRefExp.html", RESULT_FILE);
  }

  @Override
  public void testCodeRef() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "codeRef.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "codeRef.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "codeRef.html", RESULT_FILE);
  }

  @Override
  public void testComment() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "commentTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "commentTest.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "commentTest.html", RESULT_FILE);
  }

  @Override
  public void testImg() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "imgTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "imgTest.html", RESULT_FILE);
    validate(EXPECTATION_DIR + "test.png", RESULT_DIR + "test.png");
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "test.png", RESULT_DIR + "test.png");
  }

  @Override
  public void testLink() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "linkTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "linkTest.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "linkTest.html", RESULT_FILE);
  }

  @Override
  public void testRefText() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "namedRefAndTextTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "namedRefTextTest.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "namedRefTextTest.html", RESULT_FILE);
  }

  @Override
  public void testNestedList() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "nestedListTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "nestedListTest.html", RESULT_FILE);
  }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.XdocFile

    validate(EXPECTATION_DIR + "nestedListTest.html", RESULT_FILE);
  }

  @Override
  public void testSimpleRef() throws Exception {
    XdocFile file = pTest.getDocFromFile(ParserTest.TEST_FILE_DIR + "simpleRefTest.xdoc");
    generate(file.getMainSection());
    validate(EXPECTATION_DIR + "simpleRefTest.html", RESULT_FILE);
  }
View Full Code Here
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.