updated the tests and sample files

This commit is contained in:
Jochen Staerk
2015-10-08 10:00:59 +02:00
parent 2c6a8af430
commit c4361a0aba
5 changed files with 8 additions and 8 deletions

View File

@@ -325,7 +325,7 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
ref = zi.getForeignReference(); ref = zi.getForeignReference();
} }
assertEquals(amount, "406.82"); assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC()); assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN()); assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName()); assertEquals(holder, getOwnOrganisationName());
@@ -343,8 +343,8 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
public void testZExport() public void testZExport()
{ {
final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20140703_502blanko.pdf"); final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20151008_504blanko.pdf");
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20140703_502newEdge.pdf"; final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504newEdge.pdf";
// the writing part // the writing part
PDDocument doc; PDDocument doc;
@@ -392,7 +392,7 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
ref = zi.getForeignReference(); ref = zi.getForeignReference();
} }
assertEquals(amount, "406.82"); assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC()); assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN()); assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName()); assertEquals(holder, getOwnOrganisationName());

View File

@@ -326,7 +326,7 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
ref = zi.getForeignReference(); ref = zi.getForeignReference();
} }
assertEquals(amount, "406.82"); assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC()); assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN()); assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName()); assertEquals(holder, getOwnOrganisationName());
@@ -343,8 +343,8 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
*/ */
public void testZExport() public void testZExport()
{ {
final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20140703_502blanko.pdf"); final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20151008_504blanko.pdf");
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20140703_502new.pdf"; final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504new.pdf";
// the writing part // the writing part
PDDocument doc; PDDocument doc;
@@ -392,7 +392,7 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
ref = zi.getForeignReference(); ref = zi.getForeignReference();
} }
assertEquals(amount, "406.82"); assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC()); assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN()); assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName()); assertEquals(holder, getOwnOrganisationName());