Index: vhTest/Mock/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml =================================================================== diff -u -r49577 -r58828 --- vhTest/Mock/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml (.../DescriptionBepaler.cls.xml) (revision 49577) +++ vhTest/Mock/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml (.../DescriptionBepaler.cls.xml) (revision 58828) @@ -8,6 +8,13 @@ WSimpl.AX.CalculatedProduct.VariantDescriptionBepaler.DescriptionBepaler,Tools.Mock.MockClassBase right + +ProductTypeApi:DOM.PM.ProductTypeAPI="",Vertaler:DOM.common.Transl.Vertaler="",PlaatMateriaalKleurVertaler:DOM.common.Transl.Vertaler="" +%Status + + + Product:DOM.PM.Product,Taal:DOM.enu.Taal %String Index: vhUnitTest/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler/Test.cls.xml =================================================================== diff -u -r49592 -r58828 --- vhUnitTest/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler/Test.cls.xml (.../Test.cls.xml) (revision 49592) +++ vhUnitTest/WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler/Test.cls.xml (.../Test.cls.xml) (revision 58828) @@ -32,6 +32,7 @@ Do ProductMock.VerwachtMethodCall("GeefKleurOmschrijving", RandomTaal).DanReturn("") Do ProductMock.VerwachtMethodCall("GeefID").DanReturn(RandomProductId) Do ProductMock.VerwachtMethodCall("GeefIdentNr").DanReturn(RandomIdentNummer) + Do ProductMock.VerwachtMethodCall("GeefKleurVanKorttekst").DanReturn(" S/ S") #dim ProductTypeApiMock As vhTest.Mock.DOM.PM.ProductTypeAPI = ##class(vhTest.Mock.DOM.PM.ProductTypeAPI).%New() Do ProductTypeApiMock.VerwachtMethodCall("IsTaxLosseComponentenProduct", RandomProductId).DanReturn($$$True) @@ -57,6 +58,8 @@ Do ProductMock.VerwachtMethodCall("GeefID").DanReturn(RandomProductId) Do ProductMock.VerwachtMethodCall("GeefLangtekst", RandomTaal, $$$False).DanReturn(Vertaling) Do ProductMock.VerwachtMethodCall("GeefKleurOmschrijving", RandomTaal).DanReturn(Kleur) + Do ProductMock.VerwachtMethodCall("GeefKleurVanKorttekst").DanReturn(" S/ S") + #dim ProductTypeApiStub As vhTest.Mock.DOM.PM.ProductTypeAPI = ##class(vhTest.Mock.DOM.PM.ProductTypeAPI).%New() Do ProductTypeApiStub.IndienMethodCall("IsTaxLosseComponentenProduct", RandomProductId).DanReturn($$$False) Index: WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml =================================================================== diff -u -r49591 -r58828 --- WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml (.../DescriptionBepaler.cls.xml) (revision 49591) +++ WSimpl/AX/CalculatedProduct/VariantDescriptionBepaler/DescriptionBepaler.cls.xml (.../DescriptionBepaler.cls.xml) (revision 58828) @@ -13,8 +13,13 @@ 1 + +DOM.common.Transl.Vertaler +1 + + -ProductTypeApi:DOM.PM.ProductTypeAPI="",Vertaler:DOM.common.Transl.Vertaler="" +ProductTypeApi:DOM.PM.ProductTypeAPI="",Vertaler:DOM.common.Transl.Vertaler="",PlaatMateriaalKleurVertaler:DOM.common.Transl.Vertaler="" 1 1 %Status @@ -24,6 +29,7 @@ Set ..ProductTypeApi = $$$Inject(ProductTypeApi, ##class(DOM.PM.impl.ProductTypeAPIimpl).%New()) Set ..Vertaler = $$$Inject(Vertaler, ##class(DOM.common.Transl.impl.Vertaler).%New(VertaalGroepen)) + Set ..PlaatMateriaalKleurVertaler = ##class(DOM.DomeinContext).Instance().GeefVertaalAPI().GeefTaorKleurCodeVertaler() Quit $$$OK ]]> @@ -34,19 +40,28 @@ %String