Index: Tools/Test/Report.cls.xml
===================================================================
diff -u -r2159 -r2162
--- Tools/Test/Report.cls.xml (.../Report.cls.xml) (revision 2159)
+++ Tools/Test/Report.cls.xml (.../Report.cls.xml) (revision 2162)
@@ -248,7 +248,7 @@
. If ..IsSuccess(namespace,index,suite) { Set status="Passed", styleClass="goed" } Else {Set status="Failed",styleClass="fout" }
. If +result
. If &html<
#(status)# | >
- . Else &html<#(status_" "_$p(result,":",2,99))# | >
+ . Else &html<#(status_" "_$p(result,"~",2,99))# | >
. &html<>
&html<>
Quit $$$OK
@@ -303,7 +303,7 @@
. . If ..IsSuccess(namespace,index,suite,case) { Set color="green",status="Passed" } Else { Set color="red",status="Failed"}
. . If +result
. . If &html<#(status)# | >
- . . Else &html<#(status_" "_$p(result,":",2,99))# | >
+ . . Else &html<#(status_" "_$p(result,"~",2,99))# | >
. . &html<>
. . If $data(@GlobalForTimings@(index,case)) Do
. . . &html< #($tr(@GlobalForTimings@(index,case),".",","))# >
@@ -353,7 +353,7 @@
. If ..IsSuccess(namespace,index,suite,case,method) { Set color="green",status="Passed" } Else { Set color="red",status="Failed" }
. If +result
. If &html< | #(status)# | >
- . Else &html<#(status_" "_$p(result,":",2,99))# | >
+ . Else &html<#(status_" "_$p(result,"~",2,99))# | >
. &html<>
&html<>
Quit $$$OK
@@ -386,8 +386,8 @@
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))# | >
+ . &html<#($p(result,"~",2))# | >
+ . &html<#($p(result,"~",3,99))# | >
. If ..IsSuccess(namespace,index,suite,case,method,action) { Set color="green",status="Passed" } Else { Set color="red",status="Failed" }
. &html<#(status)# | >
. &html<
>
Index: Tools/Test/Manager.cls.xml
===================================================================
diff -u -r2123 -r2162
--- Tools/Test/Manager.cls.xml (.../Manager.cls.xml) (revision 2123)
+++ Tools/Test/Manager.cls.xml (.../Manager.cls.xml) (revision 2162)
@@ -365,7 +365,7 @@
Set suite=i%TheStack(i%TheStack,"suite")
Set case=i%TheStack(i%TheStack,"case")
Set method=i%TheStack(i%TheStack,"method")
- Set message="0:"_case_":"_method_":"_action_"():"_errortext
+ Set message="0~"_case_"~"_method_"~"_action_"()~"_errortext
If case="" {
Set i%TheLog(suite)=message
} Elseif method="" {
@@ -380,7 +380,12 @@
Exception:TECH.Exceptions.Exception,action:%String=""
-
@@ -410,7 +415,7 @@
Set method=i%TheStack(i%TheStack,"method")
If method="" Quit
Set next=$o(i%TheLog(suite,case,method,""),-1)+1
- Set i%TheLog(suite,case,method,next)="1:LogMessage:"_$g(message)
+ Set i%TheLog(suite,case,method,next)="1~LogMessage~"_$g(message)
Do ..PrintLine("LogMessage:"_$g(message),4)
Quit
]]>
@@ -435,9 +440,9 @@
@@ -516,7 +521,8 @@
do ..CollectFails(.suite,.case,.method,.action)
set itFails = ##class(TECH.ListIterator).%New(..Fails)
while itFails.HasNext() {
- write !,itFails.Next()
+ #dim Line As %String = itFails.Next()
+ write $$$CRLF_$piece(Line,"~",2)_".cls("_$piece(Line,"~",3)_")"_$translate($piece(Line,"~",4,99),"~",":")
}
]]>