-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finished adding delete tests and removed unused methods
- Loading branch information
1 parent
01e7787
commit f03021d
Showing
50 changed files
with
764 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
taric_parsers/tests/measure_parsers/importer_examples/measurement_unit_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="3"> | ||
<oub:transmission xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0" | ||
xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>1</oub:transaction.id> | ||
<oub:record.code>210</oub:record.code> | ||
<oub:subrecord.code>00</oub:subrecord.code> | ||
<oub:record.sequence.number>3</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:measurement.unit> | ||
<oub:measurement.unit.code>XXX</oub:measurement.unit.code> | ||
<oub:validity.start.date>2021-01-11</oub:validity.start.date> | ||
<oub:validity.end.date>2022-01-01</oub:validity.end.date> | ||
</oub:measurement.unit> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
</env:envelope> |
22 changes: 22 additions & 0 deletions
22
taric_parsers/tests/measure_parsers/importer_examples/measurement_unit_qualifier_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="3"> | ||
<oub:transmission xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0" | ||
xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>1</oub:transaction.id> | ||
<oub:record.code>215</oub:record.code> | ||
<oub:subrecord.code>00</oub:subrecord.code> | ||
<oub:record.sequence.number>3</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:measurement.unit.qualifier> | ||
<oub:measurement.unit.qualifier.code>A</oub:measurement.unit.qualifier.code> | ||
<oub:validity.start.date>2021-01-11</oub:validity.start.date> | ||
<oub:validity.end.date>2022-01-01</oub:validity.end.date> | ||
</oub:measurement.unit.qualifier> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
</env:envelope> |
22 changes: 22 additions & 0 deletions
22
...tests/measure_parsers/importer_examples/measurement_unit_qualifier_description_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="3"> | ||
<oub:transmission xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0" | ||
xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>1</oub:transaction.id> | ||
<oub:record.code>215</oub:record.code> | ||
<oub:subrecord.code>05</oub:subrecord.code> | ||
<oub:record.sequence.number>3</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:measurement.unit.qualifier.description> | ||
<oub:measurement.unit.qualifier.code>A</oub:measurement.unit.qualifier.code> | ||
<oub:language.id>ZZ</oub:language.id> | ||
<oub:description>Some Description with changes</oub:description> | ||
</oub:measurement.unit.qualifier.description> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
</env:envelope> |
22 changes: 22 additions & 0 deletions
22
taric_parsers/tests/measure_parsers/importer_examples/monetary_unit_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="3"> | ||
<oub:transmission xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0" | ||
xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>1</oub:transaction.id> | ||
<oub:record.code>225</oub:record.code> | ||
<oub:subrecord.code>00</oub:subrecord.code> | ||
<oub:record.sequence.number>3</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:monetary.unit> | ||
<oub:monetary.unit.code>ZZZ</oub:monetary.unit.code> | ||
<oub:validity.start.date>2021-01-11</oub:validity.start.date> | ||
<oub:validity.end.date>2022-01-01</oub:validity.end.date> | ||
</oub:monetary.unit> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
</env:envelope> |
23 changes: 23 additions & 0 deletions
23
taric_parsers/tests/measure_parsers/importer_examples/monetary_unit_description_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="3"> | ||
<oub:transmission xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0" | ||
xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>1</oub:transaction.id> | ||
<oub:record.code>225</oub:record.code> | ||
<oub:subrecord.code>05</oub:subrecord.code> | ||
<oub:record.sequence.number>3</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:monetary.unit.description> | ||
<oub:monetary.unit.code>ZZZ</oub:monetary.unit.code> | ||
<oub:language.id>zz</oub:language.id> | ||
<oub:description>Some Description with changes</oub:description> | ||
</oub:monetary.unit.description> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
|
||
</env:envelope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
taric_parsers/tests/quota_parser/importer_examples/quota_association_DELETE.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<env:envelope id="000001" xmlns="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" | ||
xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<env:transaction id="1"> | ||
<env:app.message id="7"> | ||
<oub:transmission xmlns:oub="urn:publicid:-:DGTAXUD:TARIC:MESSAGE:1.0" | ||
xmlns:env="urn:publicid:-:DGTAXUD:GENERAL:ENVELOPE:1.0"> | ||
<oub:record> | ||
<oub:transaction.id>19971104</oub:transaction.id> | ||
<oub:record.code>370</oub:record.code> | ||
<oub:subrecord.code>05</oub:subrecord.code> | ||
<oub:record.sequence.number>1</oub:record.sequence.number> | ||
<oub:update.type>2</oub:update.type> | ||
<oub:quota.association> | ||
<oub:main.quota.definition.sid>99</oub:main.quota.definition.sid> | ||
<oub:sub.quota.definition.sid>100</oub:sub.quota.definition.sid> | ||
<oub:relation.type>EQ</oub:relation.type> | ||
<oub:coefficient>1.1</oub:coefficient> | ||
</oub:quota.association> | ||
</oub:record> | ||
</oub:transmission> | ||
</env:app.message> | ||
</env:transaction> | ||
</env:envelope> |
Oops, something went wrong.