Exemplo n.º 1
0
 @Test
 public void testCreateSampleDeliveryForm() {
   try {
     uk.ac.bbsrc.tgac.miso.core.util.FormUtils.createSampleDeliveryForm(
         generateSamples(), testSampleDeliveryFile, true);
   } catch (Exception e) {
     e.printStackTrace();
     TestCase.fail();
   }
 }
Exemplo n.º 2
0
 @Test
 public void testConvertToPdf() {
   try {
     OdfTextDocument oDoc =
         uk.ac.bbsrc.tgac.miso.core.util.FormUtils.createSampleDeliveryForm(
             generateSamples(), testSampleDeliveryFile, false);
     uk.ac.bbsrc.tgac.miso.core.util.FormUtils.convertToPDF(oDoc);
   } catch (Exception e) {
     e.printStackTrace();
     TestCase.fail();
   }
 }