FishEye: Tag 45479 refers to a dead (removed) revision in file `vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteer/Test.cls.xml'. FishEye: No comparison available. Pass `N' to diff? Index: vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml =================================================================== diff -u -r45398 -r45479 --- vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml (.../Decrypteer/Test.cls.xml) (revision 45398) +++ vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml (.../Decrypteerder/Decrypteer/Test.cls.xml) (revision 45479) @@ -1,6 +1,6 @@ - + vhUnitTest.TestCase @@ -60,9 +60,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,HandelPersonalityRepositoryStub,,,SettingsManagerStub,KortingBewaarderMock,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,HandelPersonalityRepositoryStub,,SettingsManagerStub,KortingBewaarderMock,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.GebruikerId,"1") Do $$$AssertEquals(Response.GebruikerNaam,"") @@ -84,9 +84,9 @@ @@ -99,9 +99,9 @@ Set LoginParameterBepalerMock = ##class(vhTest.Mock.WSimpl.Unishop.Login.ParameterBepaler).%New() Do LoginParameterBepalerMock.VerwachtMethodCall("GeefLoginParameters",..DecrypteerRequestStub.Ref, ..DecrypteerRequestStub.DataOpt, ..DecrypteerRequestStub.Header.Taal, ..DecrypteerRequestStub.Header.GebruikerIp).ExactAantalKeer(1).DanReturn(..LoginParameters) - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerMock) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerMock) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.IsGeldig,"1") Do $$$AssertEquals(Response.KlantId,"") @@ -120,9 +120,9 @@ @@ -167,9 +167,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.IsGeldig,"1") If $$$AssertEquals(Response.ToegelatenLadetypes.Count(),2) { @@ -207,9 +207,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.IsGeldig,"1") If $$$AssertEquals(Response.ToegelatenLadetypes.Count(),2) { @@ -247,9 +247,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerMock,,HandelKlantDataRepository,,,,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.IsGeldig,"1") If $$$AssertEquals(Response.ToegelatenLadetypes.Count(),2) { @@ -290,9 +290,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerStub, LoggerMock,HandelKlantDataRepository,,,,,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerStub, LoggerMock,HandelKlantDataRepository,,,,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.IsGeldig,"0") @@ -328,9 +328,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl",$$$ElkeWaarde).DanReturn("example.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerStub,,,HandelPersonalityRepositoryStub,WebshopSessionService,,SettingsManagerStub,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerStub,,,HandelPersonalityRepositoryStub,WebshopSessionService,SettingsManagerStub,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertEquals(Response.KlantId,"42") Do $$$AssertEquals(Response.IsGeldig,$$$True) @@ -351,9 +351,9 @@ Set UrlBepalerStub = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerStub.IndienMethodCall("GeefUrl","10").DanReturn("darotest.taorbox.com") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerStub,,,,,,,,UrlBepalerStub) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerStub,,,,,,,UrlBepalerStub) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do $$$AssertFalse(Response.IsGeldig) ]]> @@ -374,9 +374,9 @@ Set UrlBepalerMock = ##class(vhTest.Mock.APPS.EC.Webshop.UrlBepaler).%New() Do UrlBepalerMock.VerwachtMethodCall("GeefUrl","10").DanReturn("darotest.taorbox.com").ExactAantalKeer(0) - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(LoginParameterBepalerStub,,,,,,,,UrlBepalerMock) + Set Decrypteerder = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator.Decrypteerder).%New(LoginParameterBepalerStub,,,,,,,UrlBepalerMock) - #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Authenticator.Decrypteer(..DecrypteerRequestStub) + #dim Response As WS.Vhisie4.Auth.DecrypteerResponse = Decrypteerder.Decrypteer(..DecrypteerRequestStub) Do UrlBepalerMock.Verifieer() ]]> Index: vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/RegistreerContactGegevens/Test.cls.xml =================================================================== diff -u -r45475 -r45479 --- vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/RegistreerContactGegevens/Test.cls.xml (.../Test.cls.xml) (revision 45475) +++ vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/RegistreerContactGegevens/Test.cls.xml (.../Test.cls.xml) (revision 45479) @@ -43,7 +43,7 @@ Set KortingBewaarderMock = ##class(vhTest.Mock.WSimpl.Unishop.Login.KortingBewaarder).%New() Do KortingBewaarderMock.VerwachtMethodCall("BewaarMeegegevenKorting",RegistreerContactGegevensRequestStub.Ref,DataOpt).ExactAantalKeer(1) - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(,,HandelKlantDataRepositoryMock,HandelPersonalityRepositoryStub,,KlantDataBewaarderStub,SettingsManagerStub,KortingBewaarderMock,,KlantSessieDataBepalerStub) + Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(,HandelKlantDataRepositoryMock,HandelPersonalityRepositoryStub,,KlantDataBewaarderStub,SettingsManagerStub,KortingBewaarderMock,KlantSessieDataBepalerStub) #dim Response As WS.Vhisie4.Auth.RegistreerContactGegevensResponse = Authenticator.RegistreerContactGegevens(RegistreerContactGegevensRequestStub) Do HandelKlantDataRepositoryMock.Verifieer() @@ -122,7 +122,7 @@ Do SettingsManagerStub.IndienMethodCall("GeefVhisie4Prefix",HandelPersonalityStub).DanReturn("daro_") Do SettingsManagerStub.IndienMethodCall("GeefWebshopVerwerker",HandelPersonalityStub).DanReturn("DARO") - Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(,,HandelKlantDataRepositoryMock,HandelPersonalityRepositoryStub,WebshopSessionServiceStub,KlantDataBewaarderStub,SettingsManagerStub) + Set Authenticator = ##class(WSimpl.Vhisie4.Auth.HandelAuthenticator).%New(,HandelKlantDataRepositoryMock,HandelPersonalityRepositoryStub,WebshopSessionServiceStub,KlantDataBewaarderStub,SettingsManagerStub) #dim Response As WS.Vhisie4.Auth.RegistreerContactGegevensResponse = Authenticator.RegistreerContactGegevens(RegistreerContactGegevensRequestStub) Do HandelKlantDataRepositoryMock.Verifieer() Index: WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml =================================================================== diff -u --- WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml (revision 0) +++ WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml (revision 45479) @@ -0,0 +1,211 @@ + + + +TECH.RegisteredObject + + +WSimpl.Unishop.Login.ParameterBepaler +1 + + + +vhLib.Logger +1 + + + +WS.Vhisie4.Auth.DecrypteerResponse +1 + + + +WSimpl.Unishop.Login.KortingBewaarder +1 + + + +APPS.EC.Webshop.UrlBepaler +1 + + + +DOM.common.impl.HandelPersonalityRepository +1 + + + +WSimpl.Vhisie4.SettingsManager +1 + + + +APPS.EC.WebshopSessionService +1 + + + +DOM.VKP.impl.HandelKlantDataRepository +1 + + + +LoginParameterBepaler:WSimpl.Unishop.Login.ParameterBepaler,Logger:vhLib.Logger,HandelKlantDataRepository:DOM.VKP.impl.HandelKlantDataRepository,HandelPersonalityRepository:DOM.common.impl.HandelPersonalityRepository,WebshopSessionService:APPS.EC.WebshopSessionService,SettingsManager:WSimpl.Vhisie4.SettingsManager,LoginKortingBewaarder:WSimpl.Unishop.Login.KortingBewaarder,UrlBepaler:APPS.EC.Webshop.UrlBepaler +1 +1 +%Status +1 + + + + +DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest +WS.Vhisie4.Auth.DecrypteerResponse + + + + +DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest +1 +%Boolean + + + + +DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest,LoginParameters:WSimpl.Unishop.Login.ParametersHandel +1 + + + + +DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest,LoginParameters:WSimpl.Unishop.Login.ParametersHandel +1 + + + + +LoginParameters:WSimpl.Unishop.Login.ParametersHandel +1 +DOM.VKP.impl.HandelKlantData + + + + +LoginParameters:WSimpl.Unishop.Login.ParametersHandel +1 +DOM.common.dto.HandelKlantData + + + + + + Index: WSimpl/Vhisie4/Auth/HandelAuthenticator.cls.xml =================================================================== diff -u -r45475 -r45479 --- WSimpl/Vhisie4/Auth/HandelAuthenticator.cls.xml (.../HandelAuthenticator.cls.xml) (revision 45475) +++ WSimpl/Vhisie4/Auth/HandelAuthenticator.cls.xml (.../HandelAuthenticator.cls.xml) (revision 45479) @@ -8,16 +8,6 @@ 1 - -vhLib.Logger -1 - - - -DOM.VKP.VerkoopAPI -1 - - DOM.common.impl.HandelPersonalityRepository 1 @@ -48,39 +38,25 @@ 1 - -WS.Vhisie4.Auth.DecrypteerResponse -1 - - - -APPS.EC.Webshop.UrlBepaler -1 - - APPS.EC.KlantSessieDataBepaler 1 -LoginParameterBepaler:WSimpl.Unishop.Login.ParameterBepaler,Logger:vhLib.Logger,HandelKlantDataRepository:DOM.VKP.impl.HandelKlantDataRepository,HandelPersonalityRepository:DOM.common.impl.HandelPersonalityRepository,WebshopSessionService:APPS.EC.WebshopSessionService,KlantDataBewaarder:APPS.VKP.KlantDataBewaarder,SettingsManager:WSimpl.Vhisie4.SettingsManager,LoginKortingBewaarder:WSimpl.Unishop.Login.KortingBewaarder,UrlBepaler:APPS.EC.Webshop.UrlBepaler,KlantSessieDataBepaler:APPS.EC.KlantSessieDataBepaler +LoginParameterBepaler:WSimpl.Unishop.Login.ParameterBepaler,HandelKlantDataRepository:DOM.VKP.impl.HandelKlantDataRepository,HandelPersonalityRepository:DOM.common.impl.HandelPersonalityRepository,WebshopSessionService:APPS.EC.WebshopSessionService,KlantDataBewaarder:APPS.VKP.KlantDataBewaarder,SettingsManager:WSimpl.Vhisie4.SettingsManager,LoginKortingBewaarder:WSimpl.Unishop.Login.KortingBewaarder,KlantSessieDataBepaler:APPS.EC.KlantSessieDataBepaler 1 1 %Status 1 DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest WS.Vhisie4.Auth.DecrypteerResponse - - -DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest,LoginParameters:WSimpl.Unishop.Login.ParametersHandel -1 - - - - -DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest,LoginParameters:WSimpl.Unishop.Login.ParametersHandel -1 - - - - -DecrypteerRequest:WS.Vhisie4.Auth.DecrypteerRequest -1 -%Boolean - - - - -LoginParameters:WSimpl.Unishop.Login.ParametersHandel -1 -DOM.VKP.impl.HandelKlantData - - - RegistreerContactGegevensRequest:WS.Vhisie4.Auth.RegistreerContactGegevensRequest WS.Vhisie4.Auth.RegistreerContactGegevensResponse