>
. &html<#(index)# | >
- . &html<#($zdatetime(^|namespace|LOG.UnitTestLog(index),5,3))# | >
+ . &html<#($zdatetime(@..#GlobalForLogging@(index),5,3))# | >
. Set succ=0,fail=0
- . Set suite="" For Set suite=$o(^|namespace|LOG.UnitTestLog(index,suite)) Quit:suite="" Do
+ . Set suite="" For Set suite=$o(@..#GlobalForLogging@(index,suite)) Quit:suite="" Do
. . If ..IsSuccess(namespace,index,suite) { Set succ=succ+1 } Else { Set fail=fail+1 }
. If fail &html<#(fail)# Test Suite#($s(fail=1:"",1:"s"))# Failed | > If 1
. Else &html<All Test Suites Passed | >
@@ -91,28 +101,29 @@
+1
1
-namespace,index
+namespace:%String,index:%Integer
%Status
>
&html<>
- If $d(^|namespace|LOG.UnitTestLog(index))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
+ If $d(@..#GlobalForLogging@(index))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
&html<>
&html<NameSpace: | #(namespace)# |
>
- &html<LogIndex: | #(index)# ( Test finished on #($zdatetime(^|namespace|LOG.UnitTestLog(index),5,3))# ) |
>
+ &html<LogIndex: | #(index)# ( Test finished on #($zdatetime(@..#GlobalForLogging@(index),5,3))# ) |
>
&html<
>
&html<
>
&html<>
&html<>
&html<Test Suites | >
&html<Status | >
&html<
>
- Set suite="" For Set suite=$o(^|namespace|LOG.UnitTestLog(index,suite)) Quit:suite="" Do
- . Set result=^|namespace|LOG.UnitTestLog(index,suite)
- . Set href="vhUnitTest.Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)
+ Set suite="" For Set suite=$o(@..#GlobalForLogging@(index,suite)) Quit:suite="" Do
+ . Set result=@..#GlobalForLogging@(index,suite)
+ . Set href=..#PackagePrefix_".Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)
. &html<>
- . If $data(^|namespace|LOG.UnitTestLog(index,suite))>1
+ . If $data(@..#GlobalForLogging@(index,suite))>1
. If &html<#(suite)# | >
. Else &html<#(suite)# | >
. If ..IsSuccess(namespace,index,suite) { Set color="green",status="Passed" } Else { Set color="red",status="Failed" }
@@ -126,16 +137,17 @@
+1
1
-namespace,index,suite
+namespace:%String,index:%String,suite:%String
%Status
>
&html<>
- If $d(^|namespace|LOG.UnitTestLog(index,suite))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
+ If $d(@..#GlobalForLogging@(index,suite))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
&html<>
&html<
>
@@ -145,11 +157,11 @@
&html<Status | >
&html<Tijd | >
&html<
>
- Set case="" For Set case=$o(^|namespace|LOG.UnitTestLog(index,suite,case)) Quit:case="" Do
- . Set result=^|namespace|LOG.UnitTestLog(index,suite,case)
- . Set href="vhUnitTest.Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)_"&CASE="_..EscapeURL(case)
+ Set case="" For Set case=$o(@..#GlobalForLogging@(index,suite,case)) Quit:case="" Do
+ . Set result=@..#GlobalForLogging@(index,suite,case)
+ . Set href=..#PackagePrefix_".Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)_"&CASE="_..EscapeURL(case)
. &html<>
- . If $data(^|namespace|LOG.UnitTestLog(index,suite,case))>1
+ . If $data(@..#GlobalForLogging@(index,suite,case))>1
. If &html<#(case)# | >
. Else &html<#(case)# | >
. If ..IsSuccess(namespace,index,suite,case) { Set color="green",status="Passed" } Else { Set color="red",status="Failed" }
@@ -164,16 +176,17 @@
+1
1
-namespace,index,suite,case
+namespace:%String,index:%String,suite:%String,case:%String
%Status
>
&html<>
- If $d(^|namespace|LOG.UnitTestLog(index,suite,case))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
+ If $d(@..#GlobalForLogging@(index,suite,case))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
&html<>
@@ -184,11 +197,11 @@
&html<Description | > // JCL - Method description toegevoegd
&html<Status | >
&html<
>
- Set method="" For Set method=$o(^|namespace|LOG.UnitTestLog(index,suite,case,method)) Quit:method="" Do
- . Set result=^|namespace|LOG.UnitTestLog(index,suite,case,method)
- . Set href="vhUnitTest.Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)_"&CASE="_..EscapeURL(case)_"&METHOD="_..EscapeURL(method)
+ Set method="" For Set method=$o(@..#GlobalForLogging@(index,suite,case,method)) Quit:method="" Do
+ . Set result=@..#GlobalForLogging@(index,suite,case,method)
+ . Set href=..#PackagePrefix_".Report.cls?NS="_..EscapeURL(namespace)_"&INDEX="_index_"&SUITE="_..EscapeURL(suite)_"&CASE="_..EscapeURL(case)_"&METHOD="_..EscapeURL(method)
. &html<>
- . If $data(^|namespace|LOG.UnitTestLog(index,suite,case,method))>1
+ . If $data(@..#GlobalForLogging@(index,suite,case,method))>1
. If &html<#(method)#() | >
. Else &html<#(method)#() | >
. If 1
@@ -204,16 +217,17 @@
+1
1
-namespace,index,suite,case,method
+namespace:%String,index:%String,suite:%String,case:%String,method:%String
%Status
>
&html<>
- If $d(^|namespace|LOG.UnitTestLog(index,suite,case,method))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
+ If $d(@..#GlobalForLogging@(index,suite,case,method))=0 &html<
Log Entry Doesn't Exist!> Quit $$$OK
&html<>
&html<NameSpace: | #(namespace)# |
>
- &html<LogIndex: | #(index)# ( Test finished on #($zdatetime(^|namespace|LOG.UnitTestLog(index),5,3))# ) |
>
+ &html<LogIndex: | #(index)# ( Test finished on #($zdatetime(@..#GlobalForLogging@(index),5,3))# ) |
>
&html<TestSuite: | #(suite)# |
>
&html<TestCase: | #(case)# |
>
&html<Method: | #(method)#() |
>
@@ -225,8 +239,8 @@
&html<Assert Description | >
&html<Status | >
&html<>
- Set action="" For Set action=$o(^|namespace|LOG.UnitTestLog(index,suite,case,method,action)) Quit:action="" Do
- . Set result=^|namespace|LOG.UnitTestLog(index,suite,case,method,action)
+ Set action="" For Set action=$o(@..#GlobalForLogging@(index,suite,case,method,action)) Quit:action="" Do
+ . Set result=@..#GlobalForLogging@(index,suite,case,method,action)
. &html<>
. &html<#($p(result,":",2))# | >
. &html<#($p(result,":",3,99))# | >
@@ -239,36 +253,38 @@
+1
1
-namespace,index
+namespace:%String,index:%String
%Status
+1
1
-namespace,index,suite,case,method,action
+namespace:%String,index:%String,suite:%String,case:%String,method:%String,action:%String
%Boolean
%Boolean
1
+
+
+1
+1
+1
+Tools.Test.Manager
+