Package com.adobe.epubcheck.util

Examples of com.adobe.epubcheck.util.ExtraReportTest


    List<MessageId> expectedWarnings = new ArrayList<MessageId>();
    List<MessageId> expectedFatalErrors = new ArrayList<MessageId>();

    testValidateDocument("xhtml/invalid/sch-001.xhtml",
        "application/xhtml+xml", expectedErrors, expectedWarnings, expectedFatalErrors,
        EPUBVersion.VERSION_3,false,new ExtraReportTest() {
          @Override
          public void test(ValidationReport testReport) {
            for (ItemReport error : testReport.errorList) {
              assertTrue("Error '"+error.message+"' has no line number.",error.line != -1);
              assertTrue("Error '"+error.message+"' has no column number.",error.column != -1);
View Full Code Here

TOP

Related Classes of com.adobe.epubcheck.util.ExtraReportTest

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.