Exemplo n.º 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();
      }
    }
  }
Exemplo n.º 2
0
 @After
 public void tearDown() {
   filter.close();
 }