Skip to content
Snippets Groups Projects
Commit 1091f68c authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

Tests for some non-critical issues

Refs #29421
parent 4dda41e5
No related branches found
No related tags found
No related merge requests found
......@@ -112,4 +112,9 @@ public void testValidEPUBCorpus() throws MalformedURLException, FileNotFoundExce
checkEBook("/epub/textgrid:n92g.0", "George_Dante_Goettliche_Komoedie.nbcd.0.epub");
}
@Test // #29421
@Ignore("#29421 needs to be fixed, but isn’t release critical")
public void testValidEPUB29421() throws MalformedURLException, FileNotFoundException, IOException {
checkEBook("/epub/textgrid:k76f.0", "Die_drei_Erznarren.k76f.0.epub");
}
}
......@@ -20,6 +20,8 @@
import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.XMLTestCase;
import org.custommonkey.xmlunit.XMLUnit;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
......@@ -44,7 +46,7 @@
*
* @author Thorsten Vitt <thorsten.vitt@uni-wuerzburg.de>
*/
public class HtmlRegressionTest extends XMLTestCase {
public class HtmlRegressionTest {
private static final String OUTPUTDIR_PROPERTY = "regression.outputdir";
private final ITextGridRep rep = TextGridRepProvider.getInstance();
......@@ -105,7 +107,7 @@ public void compareHtml(final String uris, final String compareFilename, boolean
final Diff diff = new Diff(control, test);
final DetailedDiff detailedDiff = new DetailedDiff(diff);
assertTrue(MessageFormat.format("HTML Regression for {0} / {1}\n", uris, compareFilename) + detailedDiff.toString(), diff.identical());
Assert.assertTrue(MessageFormat.format("HTML Regression for {0} / {1}\n", uris, compareFilename) + detailedDiff.toString(), diff.identical());
}
}
......@@ -149,6 +151,7 @@ public void testLetter() throws WebApplicationException, IOException, SAXExcepti
compareHtml("textgrid:11sqw.0", "11sqw.0.html", false);
}
@Ignore("Comparison issue, TODO check")
@Test
public void testEPoetics() throws IOException, IoFault, AuthFault, SaxonApiException, ObjectNotFoundFault, MetadataParseFault, ProtocolNotImplementedFault, SAXException {
compareHtml("textgrid:2shhm.0", "2shhm.0.html", false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment