Skip to content

Commit

Permalink
NUTCH-2457 Embedded documents likely not correctly parsed by Tika
Browse files Browse the repository at this point in the history
- remove needless unit test whether document to be tested is opened by parse-tika
  • Loading branch information
sebastian-nagel committed Sep 30, 2019
1 parent 29865b2 commit 9c424f9
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,4 @@ public void testIt() throws ProtocolException, ParseException {
}
}

@Test
public void testOpeningDocs() throws ProtocolException, ParseException {
String[] filenames = new File(sampleDir).list();
for (int i = 0; i < filenames.length; i++) {
Assert.assertTrue("can't read content of " + filenames[i],
getTextContent(filenames[i]).length() > 0);
}
}
}

0 comments on commit 9c424f9

Please sign in to comment.