Commit 156801ee authored by jhargrave's avatar jhargrave

create dummy.txtx to point tests as a starter location...

used in cases where the starter file was renamed to _FAIL
parent 5fb14673
......@@ -45,13 +45,13 @@ public class RoundTripTranstableIT
@Test
public void transtableFiles() throws FileNotFoundException, URISyntaxException {
// run top level files (without config)
for (File file : IntegrationtestUtils.getTestFiles("/transtable/test01.xml.txt", Arrays.asList(".txt"))) {
for (File file : IntegrationtestUtils.getTestFiles("/transtable/dummy.txt", Arrays.asList(".txt"))) {
runTest(false, file, "okf_transtable", null);
runTest(true, file, "okf_transtable", null);
}
// run each subdirectory where we assume there is a custom config)
for(File d : IntegrationtestUtils.getSubDirs((new File(IntegrationtestUtils.class.getResource("/transtable/test01.xml.txt").toURI())).getParent()))
for(File d : IntegrationtestUtils.getSubDirs((new File(IntegrationtestUtils.class.getResource("/transtable/dummy.txt").toURI())).getParent()))
{
for(File c : IntegrationtestUtils.getConfigFile(d.getPath()))
{
......
......@@ -45,13 +45,13 @@ public class RoundTripTxmlIT
//@Ignore("Test fail: gtmt attribute difference, but new merge seems correct")
public void txmlFiles() throws FileNotFoundException, URISyntaxException {
// run top level files (without config)
for (File file : IntegrationtestUtils.getTestFiles("/txml/Test01.docx.txml", Arrays.asList(".txml"))) {
for (File file : IntegrationtestUtils.getTestFiles("/txml/dummy.txt", Arrays.asList(".txml"))) {
runTest(false, file, "okf_txml", null);
runTest(true, file, "okf_txml", null);
}
// run each subdirectory where we assume there is a custom config)
for(File d : IntegrationtestUtils.getSubDirs((new File(IntegrationtestUtils.class.getResource("/txml/Test01.docx.txml").toURI())).getParent()))
for(File d : IntegrationtestUtils.getSubDirs((new File(IntegrationtestUtils.class.getResource("/txml/dummy.txt").toURI())).getParent()))
{
for(File c : IntegrationtestUtils.getConfigFile(d.getPath()))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment