Index: APPS/AKP/AankoopControle/BLUM/impl/MultiGlobalLocker.cls.xml =================================================================== diff -u -r36789 -r36795 --- APPS/AKP/AankoopControle/BLUM/impl/MultiGlobalLocker.cls.xml (.../MultiGlobalLocker.cls.xml) (revision 36789) +++ APPS/AKP/AankoopControle/BLUM/impl/MultiGlobalLocker.cls.xml (.../MultiGlobalLocker.cls.xml) (revision 36795) @@ -21,8 +21,8 @@ timeout:%Integer=0 %Integer @@ -66,6 +67,7 @@ vhUnitTest.TestCase - + aTestName:%String + + + +aTestName:%String + @@ -47,8 +57,9 @@ #dim Substrings = ##class(TECH.ListUtils).CreateListOfDataTypes("Lijst locks kan niet leeg gemaakt worden terwijl er gelocked is") Do ..ZetVerwachteExceptie(##class(Tools.Test.VerwachteExceptie).%New(##class(TECH.Exceptions.GeneralErrorException).%ClassName(1),Substrings)) - do locker.ClearGlobalRefs() + + ;open lock cleared by on AfterOneTest ]]> @@ -68,7 +79,10 @@ do $$$AssertEquals(locker.Lock(),1) #dim Substrings = ##class(TECH.ListUtils).CreateListOfDataTypes("Nieuwe lock gevraagd terwijl er reeds gelocked is") Do ..ZetVerwachteExceptie(##class(Tools.Test.VerwachteExceptie).%New(##class(TECH.Exceptions.GeneralErrorException).%ClassName(1),Substrings)) + do locker.VoegToeGlobalRef(..#globalref2) + + ; OnAfterOneTest kuist openstaande lock op. ]]> @@ -85,7 +99,7 @@ ]]> - +