45 using System.Collections.Generic;
68 string BlanksBefore =
string.Empty;
82 OKW_TestClipboard.Instance.LogValueAdd(this.BlanksBefore +
"Error: " + fps_Message);
93 OKW_TestClipboard.Instance.LogValueAdd(this.BlanksBefore +
"Exception: " + fps_Message);
144 foreach (
string Value
in fpls_Return)
164 for (
int i = 0; i < fpsParameter.Length; i += 2)
166 this.
LogPrint(fpsParameter[i] +
": >>" + fpsParameter[i + 1] +
"<<");
192 String String2Print = fps_KeyWordName;
195 if (fpsParameter.Length == 0)
198 String2Print = String2Print +
"()";
201 else if (fpsParameter.Length == 1)
203 String2Print = String2Print +
": \"" + fpsParameter[0] +
"\"";
206 else if (fpsParameter.Length == 2)
208 String2Print = String2Print +
": \"" + fpsParameter[0] +
"\" = \"" + fpsParameter[1] +
"\"";
213 String2Print = String2Print +
"(\"" + fpsParameter[0] +
"\"";
215 for (
int i = 1; i < fpsParameter.Length; i++)
217 String2Print = String2Print +
", \"" + fpsParameter[i] +
"\"";
220 String2Print = String2Print +
")";
243 public void LogVerify(
string fps_Actual,
string fps_Expected)
245 OKW_TestClipboard.Instance.LogValueAdd(this.BlanksBefore +
"Expected = >>" + fps_Expected +
"<<");
246 OKW_TestClipboard.Instance.LogValueAdd(this.BlanksBefore +
" Actual = >>" + fps_Actual +
"<<");
256 OKW_TestClipboard.Instance.LogValueAdd(this.BlanksBefore +
"Warning: " + fps_Message);
266 if (this.LevelCounter > 0)
272 this.LevelCounter = 0;
297 this.BlanksBefore =
new string(
' ', this.LevelCounter);
void ResCloseList()
Closes the outline level.
void LogFunctionStart(string fps_FunctionName, params string[] fpsParameter)
void LogWarning(string fps_Message)
LogWarning Function: Logs a warning to the results file.
Klasse enthält OKW-Hilfsfunktionen.
void LogFunctionEnd(List< string > fpls_Return)
void LogVerify(string fps_Actual, string fps_Expected)
Klasse dient zur Test der Logging-Ausgaben.
void LogFunctionEnd(bool fpb_Return)
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
void LogFunctionEnd(string fps_Return)
void LogError(string fps_Message)
LogError Function: Logs an error message to the results file.
Singelton Object. Stores a VAlue for Unittest Assertion.
Debug Logs are not a part of Interface. This functions are Implemented in Logger.cs a Log*Debug funct...
void LogKeyWordStart(string fps_KeyWordName, params string[] fpsParameter)
static string Boolean2String(bool fpbTrueOrFalse)
Konvertiert bool true/false nach string "true"/"false".
void ResOpenList(string fps_Name)
void LogException(string fps_Message)
LogException Function: Logs a Script Exception to the results file.