Index: vhUnitTest/APPS/common/TestData.cls.xml =================================================================== diff -u -r995 -r1011 --- vhUnitTest/APPS/common/TestData.cls.xml (.../TestData.cls.xml) (revision 995) +++ vhUnitTest/APPS/common/TestData.cls.xml (.../TestData.cls.xml) (revision 1011) @@ -1,9 +1,9 @@ - + 1 %RegisteredObject -62180,28821.930546 +62199,54544.620431 0 @@ -112,5 +112,5 @@ ]]> - + Index: vhUnitTest/APPS/common/StockNiveauServiceObj.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/common/StockNiveauServiceObj.cls.xml (revision 0) +++ vhUnitTest/APPS/common/StockNiveauServiceObj.cls.xml (revision 1011) @@ -0,0 +1,165 @@ + + + +DOM.DomeinContext +1 +vhUnitTest.TestCase +62199,55781.064385 +0 + + +DOM.PM.ProductAPI +1 + + + + +do ##class(vhUnitTest.Manager).RunTest("/display=all","APPS.common.StockNiveauServiceObj") +%Status + + + + +%Status + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: vhUnitTest/APPS/common/StockOverKinderenMock.cls.xml =================================================================== diff -u -r995 -r1011 --- vhUnitTest/APPS/common/StockOverKinderenMock.cls.xml (.../StockOverKinderenMock.cls.xml) (revision 995) +++ vhUnitTest/APPS/common/StockOverKinderenMock.cls.xml (.../StockOverKinderenMock.cls.xml) (revision 1011) @@ -1,9 +1,9 @@ - + 1 APPS.common.impl.StockOverKinderen -62179,29867.998605 +62199,51556.651184 0 @@ -16,7 +16,7 @@ -PRNr +PRNr:%Integer 1 %String -PRNr +PRNr:%Integer 1 %String -PRNr +PRNr:%Integer 1 %String -PRNr +PRNr:%Integer 1 %String - + Index: vhUnitTest/APPS/common/StockOverKinderen.cls.xml =================================================================== diff -u -r946 -r1011 --- vhUnitTest/APPS/common/StockOverKinderen.cls.xml (.../StockOverKinderen.cls.xml) (revision 946) +++ vhUnitTest/APPS/common/StockOverKinderen.cls.xml (.../StockOverKinderen.cls.xml) (revision 1011) @@ -1,9 +1,10 @@ - + +DOM.DomeinContext 1 vhUnitTest.TestCase -62168,36114.697704 +62199,51772.77863 0 @@ -37,17 +38,25 @@ set ^PRBS("BS",1002)="M\KP" set ^PRBS("BS",1002,"KIND.001")="1012\1\K\\\\\\\\P\" set ^PRBS("BS",1002,"KIND.002")="1013\1\K\\\\\\\\P\" - set ^PRBS("BS",1002,"KIND.003")="\1\\\\\\\\\P\" - set ^PRBS("BS",1002,"KIND.004")="\1\\\\\\\\\P\" - set ^PRBS("BS",1002,"KIND.005")="1014\1\K\\\\\\\\P\" - set ^PRBS("BS",1002,"KIND.006")="1015\1\K\\\\\\\\P\" + set ^PRBS("BS",1002,"KIND.003")="1014\1\K\\\\\\\\P\" + set ^PRBS("BS",1002,"KIND.004")="1015\1\K\\\\\\\\P\" - set ^PRBS("IP",1010,1000,"KIND.001")="H" - set ^PRBS("IP",1010,1001,"KIND.001")="H" + set ^PRBS("IP",1010,1000,"KIND.001")="K" + set ^PRBS("IP",1010,1001,"KIND.001")="K" - set ^PRBS("IP",1011,1000,"KIND.002")="H" - set ^PRBS("IP",1011,1001,"KIND.002")="H" + set ^PRBS("IP",1011,1000,"KIND.002")="K" + set ^PRBS("IP",1011,1001,"KIND.002")="K" + set ^PRBS("IP",1012,1000,"KIND.003")="K" + set ^PRBS("IP",1012,1002,"KIND.001")="K" + + set ^PRBS("IP",1013,1000,"KIND.004")="K" + set ^PRBS("IP",1013,1002,"KIND.002")="K" + + set ^PRBS("IP",1014,1002,"KIND.003")="K" + set ^PRBS("IP",1015,1002,"KIND.004")="K" + + quit ]]> @@ -60,6 +69,11 @@ kill ^PRBS("IP",1010) kill ^PRBS("IP",1011) + kill ^PRBS("IP",1012) + kill ^PRBS("IP",1013) + kill ^PRBS("IP",1014) + kill ^PRBS("IP",1015) + quit ]]> @@ -76,7 +90,7 @@ - + + + + + - + Index: vhUnitTest/APPS/common/StockOverKinderenObjMock.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/common/StockOverKinderenObjMock.cls.xml (revision 0) +++ vhUnitTest/APPS/common/StockOverKinderenObjMock.cls.xml (revision 1011) @@ -0,0 +1,54 @@ + + + +1 +APPS.common.impl.StockOverKinderenObj +62199,51507.824329 +0 + + +MoederProduct:DOM.PM.Product,StockType:APPS.common.enu.StockType,Datum:%Date="" +1 +1 +%Status + + + + +Product:DOM.PM.Product +1 +%String + + + + +Product:DOM.PM.Product +1 +%String + + + + +Product:DOM.PM.Product +1 +%String + + + + +Product:DOM.PM.Product +1 +%String + + + + + Index: vhUnitTest/APPS/common/StockNiveauService.cls.xml =================================================================== diff -u -r946 -r1011 --- vhUnitTest/APPS/common/StockNiveauService.cls.xml (.../StockNiveauService.cls.xml) (revision 946) +++ vhUnitTest/APPS/common/StockNiveauService.cls.xml (.../StockNiveauService.cls.xml) (revision 1011) @@ -1,11 +1,17 @@ - + +DOM.DomeinContext 1 vhUnitTest.TestCase -62173,33898.72156 +62199,54871.712609 0 + +DOM.PM.ProductAPI +1 + + do ##class(vhUnitTest.Manager).RunTest("/display=all","APPS.common.StockNiveauService") @@ -27,6 +33,7 @@ @@ -106,13 +113,13 @@ do $$$AssertEquals(implSNS.GeefAantalInReservatie(),0,"Controle aantal in reservatie") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("22.04.2011")) - do $$$AssertEquals(implSNS.GeefAantalInReservatie(),10,"Controle aantal in reservatie") + do $$$AssertEquals(implSNS.GeefAantalInReservatie(),10,"Controle aantal in reservatie - 22.04.2011") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("22.03.2011")) - do $$$AssertEquals(implSNS.GeefAantalInReservatie(),0,"Controle aantal in reservatie") + do $$$AssertEquals(implSNS.GeefAantalInReservatie(),0,"Controle aantal in reservatie - 22.03.2011") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("30.03.2011")) - do $$$AssertEquals(implSNS.GeefAantalInReservatie(),10,"Controle aantal in reservatie") + do $$$AssertEquals(implSNS.GeefAantalInReservatie(),10,"Controle aantal in reservatie - 30.03.2011") quit ]]> @@ -124,13 +131,13 @@ do $$$AssertEquals(implSNS.GeefAantalInOrder(),30,"Aantal op order") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("22.04.2011")) - do $$$AssertEquals(implSNS.GeefAantalInOrder(),30,"Aantal op order") + do $$$AssertEquals(implSNS.GeefAantalInOrder(),30,"Aantal op order - 22.04.2011") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("22.03.2011")) - do $$$AssertEquals(implSNS.GeefAantalInOrder(),0,"Aantal op order") + do $$$AssertEquals(implSNS.GeefAantalInOrder(),0,"Aantal op order - 22.03.2011") set implSNS = ##class(APPS.common.impl.StockNiveauService).%New(1000,$$INTDATE^vhDTyp("30.03.2011")) - do $$$AssertEquals(implSNS.GeefAantalInOrder(),10,"Aantal op order") + do $$$AssertEquals(implSNS.GeefAantalInOrder(),10,"Aantal op order - 30.03.2011") quit ]]> @@ -154,5 +161,5 @@ ]]> - + Index: vhUnitTest/APPS/common/StockOverKinderenObj.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/common/StockOverKinderenObj.cls.xml (revision 0) +++ vhUnitTest/APPS/common/StockOverKinderenObj.cls.xml (revision 1011) @@ -0,0 +1,178 @@ + + + +DOM.DomeinContext +1 +vhUnitTest.TestCase +62199,56685.42755 +0 + + + +do ##class(vhUnitTest.Manager).RunTest("/display=all","APPS.common.StockOverKinderen") +%Status + + + + + + + + + + + + +%Status + + + + + + + + + + + + + + + + + + + + + + + + + + + + +