Index: vhUnitTest/Manager.cls.xml =================================================================== diff -u -r1065 -r1066 --- vhUnitTest/Manager.cls.xml (.../Manager.cls.xml) (revision 1065) +++ vhUnitTest/Manager.cls.xml (.../Manager.cls.xml) (revision 1066) @@ -1,5 +1,5 @@ - + Adopted from InterSystems's %UnitTest.Manager by logist (Dimas ltd., Russia) @@ -12,7 +12,7 @@ vhLib.Macro 1 %RegisteredObject -62208,42576.680702 +62208,53791.127529 59429,65352.216564 0 @@ -177,9 +177,10 @@ . Set $zt= "MethErrorOnAfterAllTests" . Set sc=testcase.OnAfterAllTests() If $$$ISERR(sc) Do ..LogStateStatus(sc,"OnAfterAllTests") Quit . Goto Einde -MethErrorOnBeforeAllTests . Set zhend=$zh Do ..LogStateStatus($$$ERROR($$$CacheError),"OnBeforeAllTests") Goto Einde -MethErrorOnAfterAllTests . Set zhend=$zh Do ..LogStateStatus($$$ERROR($$$CacheError),"OnAfterAllTests") Goto Einde +MethErrorOnBeforeAllTests . Set zhend=$zh Do ..LogStateStatus($$$ERROR($$$CacheError,$ze_":"_$Text(@$Piece($ze,">",2,32767))),"OnBeforeAllTests") Goto Einde +MethErrorOnAfterAllTests . Set zhend=$zh Do ..LogStateStatus($$$ERROR($$$CacheError,$ze_":"_$Text(@$Piece($ze,">",2,32767))),"OnAfterAllTests") Goto Einde Einde + . Set $zt = "" . Kill testcase Do ..LogStateEnd(suite) ; @@ -347,6 +348,7 @@ . Set success=..DisplayFails(suite,case,method,action) Quit success } Elseif $d(case) { + If 'i%TheLog(suite,case) write i%TheLog(suite,case),!,! Set method="" For Set method=$o(i%TheLog(suite,case,method)) Quit:method="" Do Quit:success=0 . Set success=..DisplayFails(suite,case,method) Quit success @@ -390,5 +392,5 @@ ]]> - +