OpenKeyWord  Version: 426, Datum:
OKW.Log.Log2NUnit Klassenreferenz
Klassendiagramm für OKW.Log.Log2NUnit:
Inheritance graph
Zusammengehörigkeiten von OKW.Log.Log2NUnit:
Collaboration graph

Öffentliche Methoden

void LogError (string fps_Message)
 LogError Function: Logs an error message to the results file. Mehr ...
 
void LogException (string fps_Message)
 LogException Function: Logs a Script Exception to the results file. Mehr ...
 
void LogFunctionEnd ()
 
void LogFunctionEnd (string fps_Return)
 
void LogFunctionEnd (bool fpb_Return)
 
void LogFunctionEnd (List< string > fpls_Return)
 
void LogFunctionStart (string fps_FunctionName, params string[] fpsParameter)
 
void LogKeyWordEnd ()
 
void LogKeyWordStart (string fps_KeyWordName, params string[] fpsParameter)
 
void LogPrint (string fps_Message)
 LogPrint Function: Prints the values of expressions to the results file. Mehr ...
 
void LogVerify (string fps_Actual, string fps_Expected)
 
void LogWarning (string fps_Message)
 LogWarning Function: Logs a warning to the results file. Mehr ...
 
void ResCloseList ()
 Closes the outline level. Mehr ...
 
void ResOpenList (string fps_Name)
 

Private Methoden

void BlankBefore ()
 

Private Attribute

string BlanksBefore = string.Empty
 
int LevelCounter = 0
 

Ausführliche Beschreibung

Definiert in Zeile 49 der Datei Log2NUnit.cs.

Dokumentation der Elementfunktionen

void OKW.Log.Log2NUnit.BlankBefore ( )
private

Definiert in Zeile 286 der Datei Log2NUnit.cs.

287  {
288  this.BlanksBefore = new string(' ', this.LevelCounter);
289  }

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void OKW.Log.Log2NUnit.LogError ( string  fps_Message)

LogError Function: Logs an error message to the results file.

Parameter
fps_Message

Implementiert OKW.Log.ILogger.

Definiert in Zeile 65 der Datei Log2NUnit.cs.

66  {
67  Log2NUnit_Console.GetInstance.Write(this.BlanksBefore + "Error: ");
68  Log2NUnit_Console.GetInstance.WriteLine(fps_Message);
69  }

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogException ( string  fps_Message)

LogException Function: Logs a Script Exception to the results file.

Parameter
fps_Message

Implementiert OKW.Log.ILogger.

Definiert in Zeile 76 der Datei Log2NUnit.cs.

77  {
78  Log2NUnit_Console.GetInstance.Write(this.BlanksBefore + "Exception: ");
79  Log2NUnit_Console.GetInstance.WriteLine(fps_Message);
80  }

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogFunctionEnd ( )

Implementiert OKW.Log.ILogger.

Definiert in Zeile 87 der Datei Log2NUnit.cs.

88  {
89  this.LogPrint("-------");
90  this.ResCloseList();
91  }
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogFunctionEnd ( string  fps_Return)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 98 der Datei Log2NUnit.cs.

99  {
100  this.ResOpenList("Return...");
101  this.LogPrint(fps_Return);
102  this.ResCloseList();
103  this.LogPrint("-------");
104  this.ResCloseList();
105  }
void ResOpenList(string fps_Name)
Definition: Log2NUnit.cs:274
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogFunctionEnd ( bool  fpb_Return)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 112 der Datei Log2NUnit.cs.

113  {
114  this.ResOpenList("Return...");
115  this.LogPrint(OKW_Helper.Boolean2String(fpb_Return));
116  this.ResCloseList();
117  this.LogPrint("-------");
118  this.ResCloseList();
119  }
void ResOpenList(string fps_Name)
Definition: Log2NUnit.cs:274
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogFunctionEnd ( List< string >  fpls_Return)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 126 der Datei Log2NUnit.cs.

127  {
128  this.ResOpenList("Return...");
129 
130  foreach (string Value in fpls_Return)
131  {
132  this.LogPrint(Value);
133  }
134 
135  this.ResCloseList();
136  this.LogPrint("-------");
137  this.ResCloseList();
138  }
void ResOpenList(string fps_Name)
Definition: Log2NUnit.cs:274
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogFunctionStart ( string  fps_FunctionName,
params string[]  fpsParameter 
)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 145 der Datei Log2NUnit.cs.

146  {
147  this.ResOpenList(fps_FunctionName);
148  this.ResOpenList("Parameter...");
149 
150  for (int i = 0; i < fpsParameter.Length; i += 2)
151  {
152  this.LogPrint(fpsParameter[i] + ": >>" + fpsParameter[i + 1] + "<<");
153  }
154 
155  this.ResCloseList();
156  this.LogPrint("-------");
157 
158  return;
159  }
void ResOpenList(string fps_Name)
Definition: Log2NUnit.cs:274
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogKeyWordEnd ( )

Implementiert OKW.Log.ILogger.

Definiert in Zeile 166 der Datei Log2NUnit.cs.

167  {
168  this.ResCloseList();
169  }
void ResCloseList()
Closes the outline level.
Definition: Log2NUnit.cs:255

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogKeyWordStart ( string  fps_KeyWordName,
params string[]  fpsParameter 
)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 176 der Datei Log2NUnit.cs.

177  {
178  String String2Print = fps_KeyWordName;
179 
180  // Keyword without parameter
181  if (fpsParameter.Length == 0)
182  {
183  // Keyword with one Parameter
184  String2Print = String2Print + "()";
185  }
186  // Keyword with one Parameter
187  else if (fpsParameter.Length == 1)
188  {
189  String2Print = String2Print + ": \"" + fpsParameter[0] + "\"";
190  }
191  // Keyword with two Parameters..
192  else if (fpsParameter.Length == 2)
193  {
194  String2Print = String2Print + ": \"" + fpsParameter[0] + "\" = \"" + fpsParameter[1] + "\"";
195  }
196  else
197  {
198  String2Print = String2Print + "(\"" + fpsParameter[0] + "\"";
199 
200  for (int i = 1; i < fpsParameter.Length; i++)
201  {
202  String2Print = String2Print + ", \"" + fpsParameter[i] + "\"";
203  }
204 
205  String2Print = String2Print + ")";
206  }
207 
208  this.ResOpenList(String2Print);
209 
210  return;
211  }
void ResOpenList(string fps_Name)
Definition: Log2NUnit.cs:274

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogPrint ( string  fps_Message)

LogPrint Function: Prints the values of expressions to the results file.

Parameter
fps_Message

Implementiert OKW.Log.ILogger.

Definiert in Zeile 218 der Datei Log2NUnit.cs.

219  {
220  Log2NUnit_Console.GetInstance.WriteLine(this.BlanksBefore + fps_Message);
221  }

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void OKW.Log.Log2NUnit.LogVerify ( string  fps_Actual,
string  fps_Expected 
)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 228 der Datei Log2NUnit.cs.

229  {
230  Log2NUnit_Console.GetInstance.WriteLine(this.BlanksBefore + fps_Expected);
231 
232  Assert.AreEqual(fps_Expected, fps_Actual);
233 
234  Log2NUnit_Console.GetInstance.WriteLine(this.BlanksBefore + " Actual = >>" + fps_Actual + "<<");
235 
236  // TODO: " Actual = >>" in Sprachdatei auslagern.
237  }

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.LogWarning ( string  fps_Message)

LogWarning Function: Logs a warning to the results file.

Parameter
fps_Message

Implementiert OKW.Log.ILogger.

Definiert in Zeile 244 der Datei Log2NUnit.cs.

245  {
246  Log2NUnit_Console.GetInstance.Write(this.BlanksBefore + "Warning: ");
247  Log2NUnit_Console.GetInstance.WriteLine(fps_Message);
248  }

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void OKW.Log.Log2NUnit.ResCloseList ( )

Closes the outline level.

Implementiert OKW.Log.ILogger.

Definiert in Zeile 255 der Datei Log2NUnit.cs.

256  {
257  if (this.LevelCounter > 0)
258  {
259  this.LevelCounter--;
260  }
261  else
262  {
263  this.LevelCounter = 0;
264  }
265 
266  this.BlankBefore();
267  }
void BlankBefore()
Definition: Log2NUnit.cs:286

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void OKW.Log.Log2NUnit.ResOpenList ( string  fps_Name)

Implementiert OKW.Log.ILogger.

Definiert in Zeile 274 der Datei Log2NUnit.cs.

275  {
276  this.LogPrint(fps_Name);
277  this.LevelCounter++;
278  this.BlankBefore();
279  }
void LogPrint(string fps_Message)
LogPrint Function: Prints the values of expressions to the results file.
Definition: Log2NUnit.cs:218
void BlankBefore()
Definition: Log2NUnit.cs:286

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: