This is a test class for FrameObjectDictionaryTest and is intended to contain all FrameObjectDictionaryTest Unit Tests.
More...
This is a test class for FrameObjectDictionaryTest and is intended to contain all FrameObjectDictionaryTest Unit Tests.
void OKW.Test_FrameObjectDictionary.InitTest |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014-09-28
109 actual = this.target.GetObjectByName(
"Rechner",
"Taste_3");
113 bool object_Exists = this.target.__FrameObjectDictionary.ContainsKey(
"Rechner");
114 Assert.AreEqual(
true, object_Exists);
117 object_Exists = this.target.__FrameObjectDictionary.ContainsKey(
"Rechner.Taste_3");
118 Assert.AreEqual(
true, object_Exists);
124 object_Exists = this.target.__FrameObjectDictionary.ContainsKey(
"Rechner");
125 Assert.AreEqual(
false, object_Exists);
128 object_Exists = this.target.__FrameObjectDictionary.ContainsKey(
"Rechner.Taste_3");
129 Assert.AreEqual(
false, object_Exists);
void OKW.Test_FrameObjectDictionary.TC_CreatInstanceByObjectName__OKWFrameObjectWindowNotFoundException |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014-09-28
195 actual = this.target.GetObjectByName(
"RechnerNotExists",
"Taste_3");
199 catch ( OKWFrameObjectWindowNotFoundException )
201 Assert.Pass(
"OKWFrameObjectWindowNotFoundException wurde ausgelöst, das ist für diesen Test OK!");
205 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
206 System.Console.WriteLine(
"Nachricht: " + e.Message);
207 Assert.Fail(
"Falsche Exception: " + e.Message);
void OKW.Test_FrameObjectDictionary.TC_CreatInstanceByObjectName_OKWFrameObjectChildNotFoundException |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014-09-28
235 actual = this.target.GetObjectByName(
"Rechner",
"TasteNotExists");
239 catch (OKWFrameObjectChildNotFoundException)
241 Assert.Pass(
"OKWFrameObjectWindowNotFoundException wurde ausgelöst, das ist für diesen Test OK!");
245 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
246 System.Console.WriteLine(
"Nachricht: " + e.Message);
247 Assert.Fail(
"Falsche Exception: " + e.Message);
void OKW.Test_FrameObjectDictionary.TC_CreatInstanceByObjectName_OKWFrameObjectWindowNotFoundException_1 |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014-09-28
155 actual = this.target.GetObjectByName(
"RechnerNotExists");
159 catch ( OKWFrameObjectWindowNotFoundException )
161 Assert.Pass(
"OKWFrameObjectWindowNotFoundException wurde ausgelöst, das ist für diesen Test OK!");
165 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
166 System.Console.WriteLine(
"Nachricht: " + e.Message);
167 Assert.Fail(
"Falsche Exception: " + e.Message);
The documentation for this class was generated from the following file:
- OKW/Test/OKW_FrameObjectDictionary__Test__.cs