corrected dependencies, partly corrected tests

This commit is contained in:
Jochen Staerk
2016-01-17 16:54:59 +01:00
parent af90f09255
commit b0d0e93943
3 changed files with 25 additions and 4 deletions

View File

@@ -118,6 +118,12 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
{
return null;
}
@Override
public String getCurrency()
{
return "EUR";
}
@Override
public IZUGFeRDExportableItem[] getZFItems()
@@ -399,13 +405,11 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
PDDocument doc;
try
{
doc = PDDocument.load(SOURCE_PDF);
// automatically add Zugferd to all outgoing invoices
ZUGFeRDExporter ze = new ZUGFeRDExporter();
ze.PDFmakeA3compliant(doc, "My Application", System.getProperty("user.name"), true);
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
ze.PDFattachZugferdFile(doc, this);
doc.save(TARGET_PDF);
doc.close();
ze.export(TARGET_PDF);
}
catch (IOException e)
{

View File

@@ -118,6 +118,12 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
return null;
}
@Override
public String getCurrency()
{
return "EUR";
}
@Override
public IZUGFeRDExportableItem[] getZFItems()
{