Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Sommerhalder committed Jul 3, 2018
1 parent 12d504f commit d3ab786
Show file tree
Hide file tree
Showing 12 changed files with 994 additions and 9 deletions.
65 changes: 65 additions & 0 deletions onegov/gazette/tests/fixtures/KK01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version='1.0' encoding='UTF-8'?>
<KK01:publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:KK01="https://shab.ch/shab/KK01-export" xsi:schemaLocation="https://shab.ch/shab/KK01-export https://int.eshab.shab.ch/api/v1/schemas/shab/1.2/KK01-export.xsd">
<meta>
<id>a839d0d2-772e-47bc-b822-6fc21c15dcaa</id>
<rubric>KK</rubric>
<subRubric>KK01</subRubric>
<language>de</language>
<registrationOffice>
<id>allrubricsoffice</id>
<displayName>All rubrics office</displayName>
<street>Galgenfeldweg</street>
<streetNumber>150</streetNumber>
<swissZipCode>3006</swissZipCode>
<town>Bern</town>
<containsPostOfficeBox>true</containsPostOfficeBox>
<postOfficeBox>
<number>18</number>
<swissZipCode>3007</swissZipCode>
<town>Zurich</town>
</postOfficeBox>
</registrationOffice>
<publicationNumber>KK01-0000000008</publicationNumber>
<publicationState>PUBLISHED</publicationState>
<publicationDate>2018-07-02</publicationDate>
<expirationDate>2020-12-12</expirationDate>
<primaryTenantCode>shab</primaryTenantCode>
<onBehalfOf>String</onBehalfOf>
<legalRemedy>Meldung nach Art. 222 SchKG. Die Publikation betreffend Art, Verfahren, Eingabefrist usw. erfolgt später.</legalRemedy>
<cantons>AR</cantons>
<secondaryTenants>
<tenantCode>kabar</tenantCode>
<publicationDate>2018-07-02</publicationDate>
</secondaryTenants>
<title>
<de>Vorläufige Konkursanzeige Museum Company mit UID</de>
<en>Provisional announcement of bankruptcy Museum Company mit UID</en>
<it>Avviso provvisorio di apertura di fallimento Museum Company mit UID</it>
<fr>Avis préalable d'ouverture de faillite Museum Company mit UID</fr>
</title>
</meta>
<content>
<debtor>
<selectType>company</selectType>
<companies>
<noUID>false</noUID>
<company>
<name>Museum Company mit UID</name>
<uid>CHE-123.456.789</uid>
<uidOrganisationId>123456789</uidOrganisationId>
<uidOrganisationIdCategorie>CHE</uidOrganisationIdCategorie>
<legalForm>0106</legalForm>
<address>
<street>Grossmatt 144</street>
<swissZipCode>5618</swissZipCode>
<town>Bettwil</town>
</address>
</company>
</companies>
</debtor>
<or731b>No</or731b>
<resolutionDate>2018-05-03</resolutionDate>
<additionalLegalRemedy>Hier können ergänzende rechtliche Hinweise stehen</additionalLegalRemedy>
<remarks>110618_VIew</remarks>
</content>
</KK01:publication>
72 changes: 72 additions & 0 deletions onegov/gazette/tests/fixtures/KK02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version='1.0' encoding='UTF-8'?>
<KK02:publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:KK02="https://shab.ch/shab/KK02-export" xsi:schemaLocation="https://shab.ch/shab/KK02-export https://int.eshab.shab.ch/api/v1/schemas/shab/1.2/KK02-export.xsd">
<meta>
<id>4a6ccc6f-35ee-49a0-8819-b3a93261c958</id>
<rubric>KK</rubric>
<subRubric>KK02</subRubric>
<language>fr</language>
<registrationOffice>
<id>ba58f8a7-6a54-11e8-bbc0-0050569d0f01</id>
<displayName>Office des poursuites et faillites de l'Etat Genève - Faillites</displayName>
<street>Rue du Stand</street>
<streetNumber>46</streetNumber>
<swissZipCode>1204</swissZipCode>
<town>Genève</town>
<containsPostOfficeBox>false</containsPostOfficeBox>
<postOfficeBox/>
</registrationOffice>
<publicationNumber>KK02-0000000038</publicationNumber>
<publicationState>PUBLISHED</publicationState>
<publicationDate>2018-07-03</publicationDate>
<expirationDate>2023-07-03</expirationDate>
<primaryTenantCode>shab</primaryTenantCode>
<onBehalfOf>test_sur_mandat_de</onBehalfOf>
<legalRemedy>Notification selon LP 231, 232; ORFI, du 23 avril 1920, art. 29 et 123</legalRemedy>
<cantons>GE</cantons>
<secondaryTenants>
<tenantCode>kabge</tenantCode>
<publicationDate>2018-07-03</publicationDate>
</secondaryTenants>
<title>
<de>Konkurspublikation/Schuldenruf CK - HAIR SARL, en liquidation</de>
<en>Bankruptcy publication/call to creditors CK - HAIR SARL, en liquidation</en>
<it>Pubblicazione di fallimento/diffida ai creditori CK - HAIR SARL, en liquidation</it>
<fr>Publication de faillite/appel aux créanciers CK - HAIR SARL, en liquidation</fr>
</title>
</meta>
<content>
<proceeding>
<selectType>summary</selectType>
</proceeding>
<debtor>
<selectType>company</selectType>
<companies>
<noUID>false</noUID>
<company>
<name>CK - HAIR SARL, en liquidation</name>
<uid>CHE-260.477.536</uid>
<uidOrganisationId>260477536</uidOrganisationId>
<uidOrganisationIdCategorie>CHE</uidOrganisationIdCategorie>
<legalForm>0107</legalForm>
<address>
<street>chemin des Beaux-Champs</street>
<houseNumber>7</houseNumber>
<swissZipCode>1234</swissZipCode>
<town>Vessy</town>
</address>
<canton>GE</canton>
</company>
</companies>
</debtor>
<or731b>No</or731b>
<resolutionDate>2018-01-01</resolutionDate>
<additionalLegalRemedy>test_remarques_juridiques_complémentaires</additionalLegalRemedy>
<daysAfterPublication>30</daysAfterPublication>
<entryDeadline>2018-08-02</entryDeadline>
<commentEntryDeadline>test_commentaire_delai</commentEntryDeadline>
<registrationOffice>Office des poursuites et faillites de l'Etat Genève - Faillites
Rue du Stand 46
1204 Genève</registrationOffice>
<remarks>test_remaques_autres_indications_publication</remarks>
</content>
</KK02:publication>
73 changes: 73 additions & 0 deletions onegov/gazette/tests/fixtures/KK03.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version='1.0' encoding='UTF-8'?>
<KK03:publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:KK03="https://shab.ch/shab/KK03-export" xsi:schemaLocation="https://shab.ch/shab/KK03-export https://int.eshab.shab.ch/api/v1/schemas/shab/1.2/KK03-export.xsd">
<meta>
<id>2aee3297-6e4b-4eb2-91f8-c9387db43ffb</id>
<rubric>KK</rubric>
<subRubric>KK03</subRubric>
<language>de</language>
<registrationOffice>
<id>allrubricsoffice</id>
<displayName>All rubrics office</displayName>
<street>Galgenfeldweg</street>
<streetNumber>150</streetNumber>
<swissZipCode>3006</swissZipCode>
<town>Bern</town>
<containsPostOfficeBox>true</containsPostOfficeBox>
<postOfficeBox>
<number>18</number>
<swissZipCode>3007</swissZipCode>
<town>Zurich</town>
</postOfficeBox>
</registrationOffice>
<publicationNumber>KK03-0000000004</publicationNumber>
<publicationState>PUBLISHED</publicationState>
<publicationDate>2018-07-02</publicationDate>
<expirationDate>2020-12-12</expirationDate>
<primaryTenantCode>shab</primaryTenantCode>
<onBehalfOf>String</onBehalfOf>
<legalRemedy>Meldung nach SchKG 230, 230a. Das Konkursverfahren wird als geschlossen erklärt, falls nicht ein Gläubiger innert der obgenannten Frist die Durchführung verlangt und für die Deckung der Kosten den erwähnten Vorschuss leistet. Die Nachforderung weiterer Kostenvorschüsse bleibt vorbehalten.</legalRemedy>
<cantons>BL</cantons>
<secondaryTenants>
<tenantCode>kabbl</tenantCode>
<publicationDate>2018-07-02</publicationDate>
</secondaryTenants>
<title>
<de>Einstellung des Konkursverfahrens Burger Chef</de>
<en>Suspension of bankruptcy proceedings Burger Chef</en>
<it>Sospensione della procedura di fallimento Burger Chef</it>
<fr>Suspension de la procédure de faillite Burger Chef</fr>
</title>
</meta>
<content>
<debtor>
<selectType>company</selectType>
<companies>
<noUID>false</noUID>
<company>
<name>Burger Chef</name>
<uid>CHE-123.456.789</uid>
<uidOrganisationId>123456789</uidOrganisationId>
<uidOrganisationIdCategorie>CHE</uidOrganisationIdCategorie>
<legalForm>0106</legalForm>
<address>
<street>Bahnhofstrasse 25</street>
<swissZipCode>6525</swissZipCode>
<town>Gnosca</town>
</address>
</company>
</companies>
</debtor>
<or731b>No</or731b>
<resolutionDate>2018-08-03</resolutionDate>
<cessationDate>2018-05-03</cessationDate>
<advanceAmount>125.5</advanceAmount>
<additionalLegalRemedy>Hier können ergänzende rechtliche Hinweise stehen</additionalLegalRemedy>
<daysAfterPublication>30</daysAfterPublication>
<entryDeadline>2018-05-03</entryDeadline>
<commentEntryDeadline>Hier kann ein Kommentar stehen</commentEntryDeadline>
<registrationOffice>Konkursamt Bern
Patricia Test
8193 Test</registrationOffice>
<remarks>110618_VIew</remarks>
</content>
</KK03:publication>
76 changes: 76 additions & 0 deletions onegov/gazette/tests/fixtures/KK04.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?xml version='1.0' encoding='UTF-8'?>
<KK04:publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:KK04="https://shab.ch/shab/KK04-export" xsi:schemaLocation="https://shab.ch/shab/KK04-export https://int.eshab.shab.ch/api/v1/schemas/shab/1.2/KK04-export.xsd">
<meta>
<id>bcdc9914-13db-4b80-b46a-71bd2903f6ad</id>
<rubric>KK</rubric>
<subRubric>KK04</subRubric>
<language>de</language>
<registrationOffice>
<id>allrubricsoffice</id>
<displayName>All rubrics office</displayName>
<street>Galgenfeldweg</street>
<streetNumber>150</streetNumber>
<swissZipCode>3006</swissZipCode>
<town>Bern</town>
<containsPostOfficeBox>true</containsPostOfficeBox>
<postOfficeBox>
<number>18</number>
<swissZipCode>3007</swissZipCode>
<town>Zurich</town>
</postOfficeBox>
</registrationOffice>
<publicationNumber>KK04-0000000014</publicationNumber>
<publicationState>PUBLISHED</publicationState>
<publicationDate>2018-07-02</publicationDate>
<expirationDate>2020-12-12</expirationDate>
<primaryTenantCode>shab</primaryTenantCode>
<onBehalfOf>String</onBehalfOf>
<legalRemedy>Meldung nach SchKG 221, 249-250</legalRemedy>
<cantons>ZG</cantons>
<secondaryTenants>
<tenantCode>kabzg</tenantCode>
<publicationDate>2018-07-02</publicationDate>
</secondaryTenants>
<title>
<de>Kollokationsplan und Inventar American Appliance</de>
<en>Collocation plan and inventory American Appliance</en>
<it>Graduatoria e inventario American Appliance</it>
<fr>Etat de collocation et inventaire American Appliance</fr>
</title>
</meta>
<content>
<debtor>
<selectType>company</selectType>
<companies>
<noUID>false</noUID>
<company>
<name>American Appliance</name>
<uid>CHE-123.456.789</uid>
<uidOrganisationId>123456789</uidOrganisationId>
<uidOrganisationIdCategorie>CHE</uidOrganisationIdCategorie>
<legalForm>0106</legalForm>
<address>
<street>Hauptstrasse 35</street>
<swissZipCode>1870</swissZipCode>
<town>Monthey</town>
</address>
</company>
</companies>
</debtor>
<claimOfCreditors>
<daysAfterPublication>20</daysAfterPublication>
<entryDeadline>2018-05-03</entryDeadline>
<commentEntryDeadline>Kommentar zu Frist 1</commentEntryDeadline>
</claimOfCreditors>
<inventory>
<daysAfterPublication>10</daysAfterPublication>
<entryDeadline>2018-05-03</entryDeadline>
<commentEntryDeadline>Kommentar zu Frist 2</commentEntryDeadline>
</inventory>
<registrationOffice>Konkursamt Bern
Patricia Test
8193 Test</registrationOffice>
<additionalLegalRemedy>Hier können ergänzende rechtliche Hinweise stehen</additionalLegalRemedy>
<remarks>110618_VIew</remarks>
</content>
</KK04:publication>
70 changes: 70 additions & 0 deletions onegov/gazette/tests/fixtures/KK05.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version='1.0' encoding='UTF-8'?>
<KK05:publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:KK05="https://shab.ch/shab/KK05-export" xsi:schemaLocation="https://shab.ch/shab/KK05-export https://int.eshab.shab.ch/api/v1/schemas/shab/1.2/KK05-export.xsd">
<meta>
<id>996668e7-23da-4205-90e2-311c1eb58b41</id>
<rubric>KK</rubric>
<subRubric>KK05</subRubric>
<language>de</language>
<registrationOffice>
<id>allrubricsoffice</id>
<displayName>All rubrics office</displayName>
<street>Galgenfeldweg</street>
<streetNumber>150</streetNumber>
<swissZipCode>3006</swissZipCode>
<town>Bern</town>
<containsPostOfficeBox>true</containsPostOfficeBox>
<postOfficeBox>
<number>18</number>
<swissZipCode>3007</swissZipCode>
<town>Zurich</town>
</postOfficeBox>
</registrationOffice>
<publicationNumber>KK05-0000000021</publicationNumber>
<publicationState>PUBLISHED</publicationState>
<publicationDate>2018-07-02</publicationDate>
<expirationDate>2020-12-12</expirationDate>
<primaryTenantCode>shab</primaryTenantCode>
<onBehalfOf>String</onBehalfOf>
<legalRemedy>Meldung nach SchKG 263</legalRemedy>
<cantons>GE</cantons>
<secondaryTenants>
<tenantCode>kabge</tenantCode>
<publicationDate>2018-07-02</publicationDate>
</secondaryTenants>
<title>
<de>Verteilungsliste und Schlussrechnung Franklin Simon</de>
<en>Distribution list and final accounts Franklin Simon</en>
<it>Lista di ripartizione e conteggio finale Franklin Simon</it>
<fr>Liste de répartition et décompte final Franklin Simon</fr>
</title>
</meta>
<content>
<debtor>
<selectType>company</selectType>
<companies>
<noUID>false</noUID>
<company>
<name>Franklin Simon</name>
<uid>CHE-123.456.789</uid>
<uidOrganisationId>123456789</uidOrganisationId>
<uidOrganisationIdCategorie>CHE</uidOrganisationIdCategorie>
<legalForm>0106</legalForm>
<address>
<street>Bahnhofstrasse 114</street>
<swissZipCode>6656</swissZipCode>
<town>Golino</town>
</address>
</company>
</companies>
</debtor>
<locationCirculationAuthority>Hier stehen die Angaben zur Auflage</locationCirculationAuthority>
<additionalLegalRemedy>Hier können ergänzende rechtliche Hinweise stehen</additionalLegalRemedy>
<daysAfterPublication>10</daysAfterPublication>
<entryDeadline>2018-05-03</entryDeadline>
<commentEntryDeadline>Das ist der Kommentar zur Frist</commentEntryDeadline>
<registrationOffice>Konkursamt Bern
Patricia Test
8193 Test</registrationOffice>
<remarks>110618_VIew</remarks>
</content>
</KK05:publication>
Loading

0 comments on commit d3ab786

Please sign in to comment.