Skip to content

Commit

Permalink
added failing test for same event including GTIN in dl form with/with…
Browse files Browse the repository at this point in the history
…out leading 0
  • Loading branch information
Echsecutor committed Jan 23, 2024
1 parent e1413be commit 87c4a77
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions tests/expected_equal/example_printing_event_dl_with_0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" ?>
<epcis:EPCISDocument xmlns:epcis="urn:epcglobal:epcis:xsd:1" xmlns:rcycle="http://ns.r-cycle.org/" schemaVersion="1.2" creationDate="2019-11-08T09:52:55.075Z">
<EPCISBody>
<EventList>
<extension>
<TransformationEvent>
<eventTime>2019-12-18T14:15:00.000+01:00</eventTime>
<eventTimeZoneOffset>+01:00</eventTimeZoneOffset>
<inputQuantityList>
<quantityElement>
<epcClass>https://id.gs1.org/01/04064074123453/10/245</epcClass>
<quantity>9500</quantity>
<uom>MTR</uom>
</quantityElement>
</inputQuantityList>
<outputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4064074.016392.91a3bx</epcClass>
<quantity>10</quantity>
</quantityElement>
</outputQuantityList>
<bizStep>urn:epcglobal:cbv:bizstep:commissioning</bizStep>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<readPoint>
<id>urn:epc:id:sgln:4064074.86214.3</id>
</readPoint>
<bizLocation>
<id>urn:epc:id:sgln:4064074.86214.0</id>
</bizLocation>

<rcycle:productionStep>printing</rcycle:productionStep>
<rcycle:productCategory>web</rcycle:productCategory>
<rcycle:productType>polymer</rcycle:productType>
</TransformationEvent>
<TransformationEvent>
<eventTime>2019-12-18T14:15:00.000+01:00</eventTime>
<eventTimeZoneOffset>+01:00</eventTimeZoneOffset>
<inputQuantityList>
<quantityElement>
<epcClass>https://id.gs1.org/01/4064074123453/10/245</epcClass>
<quantity>9500</quantity>
<uom>MTR</uom>
</quantityElement>
</inputQuantityList>
<outputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4064074.016392.91a3bx</epcClass>
<quantity>10</quantity>
</quantityElement>
</outputQuantityList>
<bizStep>urn:epcglobal:cbv:bizstep:commissioning</bizStep>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<readPoint>
<id>urn:epc:id:sgln:4064074.86214.3</id>
</readPoint>
<bizLocation>
<id>urn:epc:id:sgln:4064074.86214.0</id>
</bizLocation>

<rcycle:productionStep>printing</rcycle:productionStep>
<rcycle:productCategory>web</rcycle:productCategory>
<rcycle:productType>polymer</rcycle:productType>
</TransformationEvent>
<TransformationEvent>
<eventTime>2019-12-18T14:15:00.000+01:00</eventTime>
<eventTimeZoneOffset>+01:00</eventTimeZoneOffset>
<inputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4064074.912345.245</epcClass>
<quantity>9500</quantity>
<uom>MTR</uom>
</quantityElement>
</inputQuantityList>
<outputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4064074.016392.91a3bx</epcClass>
<quantity>10</quantity>
</quantityElement>
</outputQuantityList>
<bizStep>urn:epcglobal:cbv:bizstep:commissioning</bizStep>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<readPoint>
<id>urn:epc:id:sgln:4064074.86214.3</id>
</readPoint>
<bizLocation>
<id>urn:epc:id:sgln:4064074.86214.0</id>
</bizLocation>

<rcycle:productionStep>printing</rcycle:productionStep>
<rcycle:productCategory>web</rcycle:productCategory>
<rcycle:productType>polymer</rcycle:productType>
</TransformationEvent>
</extension>
</EventList>
</EPCISBody>
</epcis:EPCISDocument>

0 comments on commit 87c4a77

Please sign in to comment.