You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreign handler MCHandlerTryToInvokeWithList(in Handler as any, inout Arguments as optional List, out Result as optional any) returns optional any binds to "<builtin>"
handler MCUnitTestHandlerThrowsImpl(in pHandler as any, in pDescription as String, in pBroken as Boolean, in pReason as String) returns nothing
variable tHandler as Thunk
put pHandler into tHandler
variable tArgList as optional List
variable tResult as optional any
variable tMaybeError as optional any
put [] into tArgList
unsafe
put MCHandlerTryToInvokeWithList(tHandler, tArgList, tResult) into tMaybeError
end unsafe
variable tHasError as Boolean
put tMaybeError is not nothing into tHasError
if tHasError then
test diagnostic tMaybeError
end if
if pBroken then
broken test pDescription when tHasError because pReason