コード例 #1
0
 @Test
 public void testOfx() throws FileNotFoundException, UtilsConfigurationException {
   Table actual = fOfx.toOfx(xmlStatus);
   saveXml(actual, fXml, false);
   Table expected = JaxbUtil.loadJAXB(fXml.getAbsolutePath(), Table.class);
   assertJaxbEquals(expected, actual);
 }
コード例 #2
0
 @Test
 public void testLatex() throws OfxAuthoringException, IOException, UtilsConfigurationException {
   Table actual = fOfx.toOfx(xmlStatus);
   LatexGridTableRenderer renderer = new LatexGridTableRenderer(cmm, dsm);
   renderer.render(actual);
   debug(renderer);
   save(renderer, fTxt);
   assertText(renderer, fTxt);
 }