@@ -592,6 +592,7 @@ Method OnAfterSaveResult(ByRef userparam)
592592{
593593 Try {
594594 Quit :'$IsObject (..Run )
595+ Do ##super (.userparam )
595596
596597 // Associate to unit test results.
597598 Do ..Run .TestResultsSetObjectId (..LogIndex )
@@ -630,6 +631,7 @@ ClassMethod OnBeforeAllTests(manager As TestCoverage.Manager, dir As %String, By
630631{
631632 Set tSC = $$$OK
632633 Try {
634+ Do ##super (.manager , .dir , .qstruct , .userparam )
633635 Set tCoverageClasses = $Get (userparam (" CoverageClasses" ))
634636 Set tCoverageRoutines = $Get (userparam (" CoverageRoutines" ))
635637 Set tCoverageDetail = $Get (userparam (" CoverageDetail" ))
@@ -717,6 +719,7 @@ ClassMethod OnAfterAllTests(manager As TestCoverage.Manager, dir As %String, ByR
717719{
718720 Set tSC = $$$OK
719721 Try {
722+ Do ##super (.manager , .dir , .qstruct , .userparam )
720723 If (manager .CoverageDetail = 0 ) {
721724 Set tSC = manager .EndCoverageTracking ()
722725 if (manager .ListenerManager ) {
@@ -742,6 +745,7 @@ Method OnBeforeAutoLoad(dir As %String, suite As %String, testspec As %String, B
742745{
743746 Set tSC = $$$OK
744747 Try {
748+ Do ##super (.dir , .suite , .testspec , .qstruct )
745749 // TODO: Flag to capture code coverage of compiling autoload classes? (e.g., to cover generators?)
746750 } Catch e {
747751 Set tSC = e .AsStatus ()
@@ -756,6 +760,7 @@ Method OnBeforeTestSuite(dir As %String, suite As %String, testspec As %String,
756760{
757761 Set tSC = $$$OK
758762 Try {
763+ Do ##super (.dir , .suite , .testspec , .qstruct )
759764 If ..DynamicTargets && (dir '= " " ) {
760765 // Determine coverage targets based on directory contents (looking for coverage.list in that directory or the nearest ancestor containing it).
761766 Set tSC = ..UpdateCoverageTargetsForTestDirectory (dir )
@@ -785,6 +790,7 @@ Method OnAfterTestSuite(dir As %String, suite As %String, testspec As %String, B
785790{
786791 Set tSC = $$$OK
787792 Try {
793+ Do ##super (.dir , .suite , .testspec , .qstruct )
788794
789795 If (..CoverageDetail = 1 ) {
790796 Set tSC = ..EndCoverageTracking ($Case (suite ," " :" (root)" ,:suite ))
@@ -806,6 +812,7 @@ Method OnBeforeTestCase(suite As %String, class As %String) As %Status
806812{
807813 Set tSC = $$$OK
808814 Try {
815+ Do ##super (.suite , .class , .testcase )
809816 Set ..CurrentTestClass = class
810817 Set ..CurrentTestMethod = " "
811818 if (..ListenerManager ) {
@@ -829,6 +836,7 @@ Method OnAfterTestCase(suite As %String, class As %String) As %Status
829836{
830837 Set tSC = $$$OK
831838 Try {
839+ Do ##super (.suite , .class , .testcase )
832840 If (..CoverageDetail = 2 ) {
833841 Set tSC = ..EndCoverageTracking (suite , class )
834842 }
@@ -850,6 +858,7 @@ Method OnBeforeOneTest(suite As %String, class As %String, method As %String) As
850858{
851859 Set tSC = $$$OK
852860 Try {
861+ Do ##super (.suite , .class , .method )
853862 Set ..CurrentTestMethod = method
854863 if (..ListenerManager ) {
855864 set tObj = {" message" : " Starting test method: " }
@@ -873,6 +882,7 @@ Method OnAfterOneTest(suite As %String, class As %String, method As %String) As
873882{
874883 Set tSC = $$$OK
875884 Try {
885+ Do ##super (.suite , .class , .method )
876886 If (..CoverageDetail = 3 ) {
877887 Set tSC = ..EndCoverageTracking (suite , class , method )
878888 }
0 commit comments