示例#1
0
  @Test
  public void testAllExternalFiles() throws URISyntaxException {
    @SuppressWarnings("unused")
    Event event = null;

    for (String f : testFileList) {
      System.out.println(f);
      InputStream stream = RtfFullFileTest.class.getResourceAsStream("/" + f);
      filter.open(new RawDocument(stream, "windows-1252", locEN, locFR));
      while (filter.hasNext()) {
        event = filter.next();
      }
    }
  }
示例#2
0
 @After
 public void tearDown() {
   filter.close();
 }