Index: vhUnitTest/APPS/Halux/Planning/impl/BatchService/GeefProductLijnNamen/Test.cls.xml =================================================================== diff -u -r54301 -r72689 --- vhUnitTest/APPS/Halux/Planning/impl/BatchService/GeefProductLijnNamen/Test.cls.xml (.../Test.cls.xml) (revision 54301) +++ vhUnitTest/APPS/Halux/Planning/impl/BatchService/GeefProductLijnNamen/Test.cls.xml (.../Test.cls.xml) (revision 72689) @@ -9,9 +9,11 @@ #dim Namen As %ListOfDataTypes = ##class(%ListOfDataTypes).%New() Set Namen = ..GeefProductieLijnNamen(Categorie) + Do $$$AssertEquals(Namen.Count(), 3) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Een()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Drie()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Vier()) + Do $$$AssertNotInList(Namen, ##class(APPS.Halux.common.enu.ProductieLijn).Vijf()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).A()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).B()) ]]> @@ -23,10 +25,12 @@ #dim Namen As %ListOfDataTypes = ##class(%ListOfDataTypes).%New() Set Namen = ..GeefProductieLijnNamen(Categorie) + Do $$$AssertEquals(Namen.Count(), 3) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Een()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Twee()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Drie()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Vier()) + Do $$$AssertNotInList(Namen, ##class(APPS.Halux.common.enu.ProductieLijn).Vijf()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).A()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).B()) ]]> @@ -38,16 +42,54 @@ #dim Namen As %ListOfDataTypes = ##class(%ListOfDataTypes).%New() Set Namen = ..GeefProductieLijnNamen(Categorie) + Do $$$AssertEquals(Namen.Count(), 5) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Een()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Twee()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).Drie()) + Do $$$AssertNotInList(Namen, ##class(APPS.Halux.common.enu.ProductieLijn).Vier()) + Do $$$AssertInList(Namen, ##class(APPS.Halux.common.enu.ProductieLijn).Vijf()) Do $$$AssertNotInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).A()) Do $$$AssertInList(Namen,##class(APPS.Halux.common.enu.ProductieLijn).B()) ]]> - + + + + + + + + +