Skip to content

Commit

Permalink
uncomment unittest for DateAnnotatorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
azbarcea committed Nov 19, 2017
1 parent e806b0e commit 5709aa1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ public void testParseDate() throws UIMAException {
dateAnnotator.dateType = org.apache.ctakes.ytex.uima.types.Date.class.getName();
dateAnnotator.process(jCas);
AnnotationIndex<Annotation> ytexDates = jCas.getAnnotationIndex(org.apache.ctakes.ytex.uima.types.Date.type);
/*Assert.assertTrue(ytexDates.iterator().hasNext());
Assert.assertTrue(ytexDates.iterator().hasNext());
String dateParsed = ((org.apache.ctakes.ytex.uima.types.Date)ytexDates.iterator().next()).getDate();
Assert.assertNotNull(dateParsed);
System.out.println(dateParsed);*/
System.out.println(dateParsed);
}

}

0 comments on commit 5709aa1

Please sign in to comment.