Skip to content

Commit ccca030

Browse files
committed
style changes
1 parent 9bf37a8 commit ccca030

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.2.0] - 2024-07-05
9+
10+
### Added
11+
- #14: Added a straightforward way to find and track coverage on all interoperability processes in the current namespace ([#14](https://github.com/intersystems/TestCoverage/issues/14))
12+
813
## [3.1.0] - 2024-01-17
914

1015
### Changed

cls/TestCoverage/Manager.cls

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Method GetInteropProcesses(Output tProcessIDs)
188188
Throw ##class(%Exception.SQL).CreateFromSQLCODE(SQLCODE,%msg)
189189
}
190190
if ('$LISTFIND(tProcessIDs, $Job)) {
191-
set $LIST(tProcessIDs, *+1) = $Job
191+
set tProcessIDs = tProcessIDs _ $ListBuild($Job)
192192
}
193193
}
194194

@@ -198,8 +198,7 @@ Method LogAssert(success, action, description, extra, args...)
198198
{
199199
do ##super(.success, .action, .description, .extra, args...)
200200
if (..InteroperabilityProcesses && (description = "StartProduction()")) {
201-
202-
do GetInteropProcesses(.tProcessIDs)
201+
do ..GetInteropProcesses(.tProcessIDs)
203202
set ..ProcessIDs = tProcessIDs
204203
$$$ThrowOnError(..EndCoverageTracking())
205204
$$$ThrowOnError(..StartCoverageTracking())
@@ -273,7 +272,7 @@ Method StartCoverageTracking() As %Status [ Private ]
273272
}
274273
ElseIf (..InteroperabilityProcesses)
275274
{
276-
do GetInteropProcesses(.tProcessIDs)
275+
do ..GetInteropProcesses(.tProcessIDs)
277276
}
278277
Set tMetrics = $ListBuild("RtnLine") _ $Select(..Timing:$ListBuild("Time","TotalTime"),1:"")
279278
$$$ThrowOnError(..Monitor.StartWithScope(tRelevantTargets,tMetrics,tProcessIDs))

0 commit comments

Comments
 (0)