Skip to content

Commit

Permalink
add validation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Nov 4, 2024
1 parent feb1b28 commit b9176d1
Showing 1 changed file with 21 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,27 @@ public class ValidationTestData : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return new object[] { "Model/XmlSchema/Gitea/nsm-klareringsportalen.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/stami-mu-bestilling-2021.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/dat-aarligmelding-bemanning.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/dihe-redusert-foreldrebetaling-bhg.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/nbib-melding.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/udir-vfkl.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/dat-bilpleie-soknad.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/Kursdomene_BliTjenesteeier_M_2020-05-25_5703_34553_SERES.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/Kursdomene_BekrefteBruksvilkår_M_2020-05-25_5704_34554_SERES.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/stami-atid-databehandler-2022.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/stami-mu-databehandler-2021.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/skd-formueinntekt-skattemelding-v2.xsd" };
yield return new object[] { "Model/XmlSchema/Gitea/krt-1188a-1.xsd" };
yield return ["Model/XmlSchema/Gitea/nsm-klareringsportalen.xsd"];
yield return ["Model/XmlSchema/Gitea/stami-mu-bestilling-2021.xsd"];
yield return ["Model/XmlSchema/Gitea/dat-aarligmelding-bemanning.xsd"];
yield return ["Model/XmlSchema/Gitea/dihe-redusert-foreldrebetaling-bhg.xsd"];
yield return ["Model/XmlSchema/Gitea/nbib-melding.xsd"];
yield return ["Model/XmlSchema/Gitea/udir-vfkl.xsd"];
yield return ["Model/XmlSchema/Gitea/dat-bilpleie-soknad.xsd"];
yield return ["Model/XmlSchema/Gitea/Kursdomene_BliTjenesteeier_M_2020-05-25_5703_34553_SERES.xsd"];
yield return ["Model/XmlSchema/Gitea/Kursdomene_BekrefteBruksvilkår_M_2020-05-25_5704_34554_SERES.xsd"];
yield return ["Model/XmlSchema/Gitea/stami-atid-databehandler-2022.xsd"];
yield return ["Model/XmlSchema/Gitea/stami-mu-databehandler-2021.xsd"];
yield return ["Model/XmlSchema/Gitea/skd-formueinntekt-skattemelding-v2.xsd"];
yield return ["Model/XmlSchema/Gitea/krt-1188a-1.xsd"];

// xs:all test cases
// some of are not supported due to not precise date regex
// yield return ["Model/XmlSchema/XsAll/ferdigattest/v4/ferdigattest.xsd"];
// yield return ["Model/XmlSchema/XsAll/igangsettingstillatelse/v4/igangsettingstillatelse.xsd"];
// yield return ["Model/XmlSchema/XsAll/midlertidigbrukstillatelse/v4/midlertidigbrukstillatelse.xsd"];
yield return ["Model/XmlSchema/XsAll/planvarsel/v2/planvarsel.xsd"];


// Can generate non valid date string from regex
// yield return new object[] { "Model/XmlSchema/Gitea/hi-algeskjema.xsd" };
Expand Down

0 comments on commit b9176d1

Please sign in to comment.