Salome HOME
9d3ec6362cbb75f8db49e0f135ea036d8cba8729
[samples/datafiles.git] / Superv / Python / GraphErrMsgs.py
1 #  Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 from SuperV import *
23
24 import sys
25
26 GraphErrMsgs = Graph( "GraphErrMsgs" )
27
28 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/SyrStruct.xml'
29
30 GraphErrMsgs.Import( anXmlFile )
31
32 exec GraphErrMsgs.ListNodes( 'GraphErrMsgs' )
33 # ==> m3,m3incr,incra,div2,incrb,SyrComponent,forN,whileNotOne,fori,whileEven,EndOfforN,EndOfwhileNotOne,EndOffori,EndOfwhileEven,ifNotEven,EndOfifNotEven
34
35 exec ifNotEven.ListPorts()
36 # ==> IifNotEvenSyrComponent,IifNotEvenN,IifNotEvenK,IifNotEvenGate,OifNotEvenOdd,OifNotEvenEven,OifNotEvenSyrComponent,OifNotEvenN,OifNotEvenK,OifNotEvenDefault
37
38 exec EndOfifNotEven.ListPorts()
39 # ==> IEndOfifNotEvenN,IEndOfifNotEvenK,IEndOfifNotEvenDefault,OEndOfifNotEvenN,OEndOfifNotEvenK,OEndOfifNotEvenGate
40
41 aLink = GraphErrMsgs.Link( OifNotEvenEven , IEndOfifNotEvenN )
42 if aLink != None :
43     print "Error link from OifNotEvenEven to IEndOfifNotEvenN was created"
44     print "GraphErrMsgs test failed"
45     sys.exit(1)
46
47 exec EndOfwhileEven.ListPorts()
48 # ==> IEndOfwhileEvenSyrComponent,IEndOfwhileEvenN,IEndOfwhileEvenK,IEndOfwhileEvenGate,OEndOfwhileEvenSyrComponent,OEndOfwhileEvenN,OEndOfwhileEvenK,OEndOfwhileEvenGate
49
50 exec EndOffori.ListPorts()
51 # ==> IEndOfforii,IEndOfforiK,IEndOfforiGate,OEndOfforii,OEndOfforiK,OEndOfforiGate
52
53 aLink = GraphErrMsgs.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
54 aLink.destroy()
55
56 aLink = GraphErrMsgs.Link( OEndOfforiK , IEndOfifNotEvenK )
57 aLink.destroy()
58
59 aLink = GraphErrMsgs.Link( OifNotEvenN , IEndOfifNotEvenK )
60 if aLink == None :
61     print "Error link from OifNotEvenN to IEndOfifNotEvenK was not created"
62     print "GraphErrMsgs test failed"
63     sys.exit(1)
64
65 exec whileEven.ListPorts()
66 # ==>IwhileEvenSyrComponent,IwhileEvenN,IwhileEvenK,IwhileEvenGate,OwhileEvenSyrComponent,OwhileEvenN,OwhileEvenK,OwhileEvenGate
67
68 aLink = GraphErrMsgs.Link( OifNotEvenK , IwhileEvenK )
69 aLink.destroy()
70
71 aLink = GraphErrMsgs.Link( OifNotEvenOdd , IwhileEvenK )
72 if aLink != None :
73     print "Error link from OifNotEvenOdd to IwhileEvenK was created"
74     print "GraphErrMsgs test failed"
75     sys.exit(1)
76
77 aLink = GraphErrMsgs.Link( OifNotEvenDefault , IwhileEvenK )
78 if aLink != None :
79     print "Error link from OifNotEvenDefault to IwhileEvenK was created"
80     print "GraphErrMsgs test failed"
81     sys.exit(1)
82
83 exec div2.ListPorts()
84 # ==> Idiv2anEvenInteger,Idiv2Gate,Odiv2anInteger,Odiv2Gate
85
86 aLink = GraphErrMsgs.Link( OwhileEvenN , Idiv2Gate )
87 if aLink != None :
88     print "Error link from OwhileEvenN to Idiv2Gate was created"
89     print "GraphErrMsgs test failed"
90     sys.exit(1)
91
92 print "GraphErrMsgs Errors Messages :"
93 print GraphErrMsgs.Messages()
94
95 RunOk = GraphErrMsgs.Run()
96 if RunOk != 0 :
97     print "Error : Success call to Run"
98     print "GraphErrMsgs test failed"
99     sys.exit(1)
100
101 GraphErrMsgs.DoneW()
102
103 print "GraphErrMsgs Errors Messages :"
104 print GraphErrMsgs.Messages()
105
106
107 from SuperV import *
108
109 # GraphBadInputInLoop
110 GraphBadInputInLoop = Graph( "GraphBadInputInLoop" )
111
112 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop.xml'
113
114 GraphBadInputInLoop.Import( anXmlFile )
115
116 RunOk = GraphBadInputInLoop.Run()
117 if RunOk != 0 :
118     print "Error : Success call to Run"
119     print "GraphBadInputInLoop test failed"
120     sys.exit(1)
121
122 GraphBadInputInLoop.DoneW()
123
124 print "GraphBadInputInLoop Errors Messages :"
125 print GraphBadInputInLoop.Messages()
126
127
128
129 from SuperV import *
130
131 # GraphBadInputInLoop1
132 GraphBadInputInLoop1 = Graph( "GraphBadInputInLoop1" )
133
134 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop1.xml'
135
136 GraphBadInputInLoop1.Import( anXmlFile )
137
138 RunOk = GraphBadInputInLoop1.Run()
139 if RunOk != 0 :
140     print "Error : Success call to Run"
141     print "GraphBadInputInLoop1 test failed"
142     sys.exit(1)
143
144 GraphBadInputInLoop1.DoneW()
145
146 print "GraphBadInputInLoop1 Errors Messages :"
147 print GraphBadInputInLoop1.Messages()
148
149
150
151 from SuperV import *
152
153 # GraphBadInputInLoop2
154 GraphBadInputInLoop2 = Graph( "GraphBadInputInLoop2" )
155
156 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop2.xml'
157
158 GraphBadInputInLoop2.Import( anXmlFile )
159
160 RunOk = GraphBadInputInLoop2.Run()
161 if RunOk != 0 :
162     print "Error : Success call to Run"
163     print "GraphBadInputInLoop2 test failed"
164     sys.exit(1)
165
166 GraphBadInputInLoop2.DoneW()
167
168 print "GraphBadInputInLoop2 Errors Messages :"
169 print GraphBadInputInLoop2.Messages()
170
171
172
173 from SuperV import *
174
175 # GraphBadInputInLoop3
176 GraphBadInputInLoop3 = Graph( "GraphBadInputInLoop3" )
177
178 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadInputInLoop3.xml'
179
180 GraphBadInputInLoop3.Import( anXmlFile )
181
182 RunOk = GraphBadInputInLoop3.Run()
183 if RunOk != 0 :
184     print "Error : Success call to Run"
185     print "GraphBadInputInLoop3 test failed"
186     sys.exit(1)
187
188 GraphBadInputInLoop3.DoneW()
189
190 print "GraphBadInputInLoop3 Errors Messages :"
191 print GraphBadInputInLoop3.Messages()
192
193
194
195 from SuperV import *
196
197 # GraphBadOutputOfLoop
198 GraphBadOutputOfLoop = Graph( "GraphBadOutputOfLoop" )
199
200 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop.xml'
201
202 GraphBadOutputOfLoop.Import( anXmlFile )
203
204 RunOk = GraphBadOutputOfLoop.Run()
205 if RunOk != 0 :
206     print "Error : Success call to Run"
207     print "GraphBadOutputOfLoop test failed"
208     sys.exit(1)
209
210 GraphBadOutputOfLoop.DoneW()
211
212 print "GraphBadOutputOfLoop Errors Messages :"
213 print GraphBadOutputOfLoop.Messages()
214
215
216
217 from SuperV import *
218
219 # GraphBadOutputOfLoop1
220 GraphBadOutputOfLoop1 = Graph( "GraphBadOutputOfLoop1" )
221
222 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop1.xml'
223
224 GraphBadOutputOfLoop1.Import( anXmlFile )
225
226 RunOk = GraphBadOutputOfLoop1.Run()
227 if RunOk != 0 :
228     print "Error : Success call to Run"
229     print "GraphBadOutputOfLoop1 test failed"
230     sys.exit(1)
231
232 GraphBadOutputOfLoop1.DoneW()
233
234 print "GraphBadOutputOfLoop1 Errors Messages :"
235 print GraphBadOutputOfLoop1.Messages()
236
237
238
239 from SuperV import *
240
241 # GraphBadOutputOfLoop2
242 GraphBadOutputOfLoop2 = Graph( "GraphBadOutputOfLoop2" )
243
244 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphBadOutputOfLoop2.xml'
245
246 GraphBadOutputOfLoop2.Import( anXmlFile )
247
248 RunOk = GraphBadOutputOfLoop2.Run()
249 if RunOk != 0 :
250     print "Error : Success call to Run"
251     print "GraphBadOutputOfLoop2 test failed"
252     sys.exit(1)
253
254 GraphBadOutputOfLoop2.DoneW()
255
256 print "GraphBadOutputOfLoop2 Errors Messages :"
257 print GraphBadOutputOfLoop2.Messages()
258
259
260
261 from SuperV import *
262
263 # GraphConvertObjRefCheckNotCompatible
264 GraphConvertObjRefCheckNotCompatible = Graph( "GraphConvertObjRefCheckNotCompatible" )
265
266 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphConvertObjRefCheckNotCompatible.xml'
267
268 GraphConvertObjRefCheckNotCompatible.Import( anXmlFile )
269
270 RunOk = GraphConvertObjRefCheckNotCompatible.Run()
271 if RunOk != 0 :
272     print "Error : Success call to Run"
273     print "GraphConvertObjRefCheckNotCompatible test failed"
274     sys.exit(1)
275
276 GraphConvertObjRefCheckNotCompatible.DoneW()
277
278 print "GraphConvertObjRefCheckNotCompatible Errors Messages :"
279 print GraphConvertObjRefCheckNotCompatible.Messages()
280
281
282
283
284 from SuperV import *
285
286 # GraphWrongPythonFunctions
287 GraphWrongPythonFunctions = Graph( "GraphWrongPythonFunctions" )
288
289 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphWrongPythonFunctions.xml'
290
291 GraphWrongPythonFunctions.Import( anXmlFile )
292
293 RunOk = GraphWrongPythonFunctions.Run()
294 if RunOk != 0 :
295     print "Error : Success call to Run"
296     print "GraphWrongPythonFunctions test failed"
297     sys.exit(1)
298
299 GraphWrongPythonFunctions.DoneW()
300
301 print "GraphWrongPythonFunctions Errors Messages :"
302 print GraphWrongPythonFunctions.Messages()
303
304
305
306 from SuperV import *
307
308 # GraphWrongContainerOrComponent
309 GraphWrongContainerOrComponent = Graph( "GraphWrongContainerOrComponent" )
310
311 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphWrongContainerOrComponent.xml'
312
313 GraphWrongContainerOrComponent.Import( anXmlFile )
314
315 RunOk = GraphWrongContainerOrComponent.Run()
316 if RunOk == 0 :
317     print "Error : UnSuccess call to Run"
318     print "GraphWrongContainerOrComponent test failed"
319     sys.exit(1)
320
321 GraphWrongContainerOrComponent.DoneW()
322
323 print "GraphWrongContainerOrComponent Errors Messages :"
324 print GraphWrongContainerOrComponent.Messages()
325
326
327
328 from SuperV import *
329
330 # GraphLoopSwitchDefaultAborted
331 GraphLoopSwitchDefaultAborted = Graph( "GraphLoopSwitchDefaultAborted" )
332
333 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchDefaultAborted.xml'
334
335 GraphLoopSwitchDefaultAborted.Import( anXmlFile )
336
337 RunOk = GraphLoopSwitchDefaultAborted.Run()
338 if RunOk == 0 :
339     print "Error : UnSuccess call to Run"
340     print "GraphLoopSwitchDefaultAborted test failed"
341     sys.exit(1)
342
343 GraphLoopSwitchDefaultAborted.DoneW()
344
345 print "GraphLoopSwitchDefaultAborted Errors Messages :"
346 print GraphLoopSwitchDefaultAborted.Messages()
347
348
349
350 from SuperV import *
351
352 # GraphLoopSwitchOfSwitchAborted
353 GraphLoopSwitchOfSwitchAborted = Graph( "GraphLoopSwitchOfSwitchAborted" )
354
355 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchOfSwitchAborted.xml'
356
357 GraphLoopSwitchOfSwitchAborted.Import( anXmlFile )
358
359 RunOk = GraphLoopSwitchOfSwitchAborted.Run()
360 if RunOk == 0 :
361     print "Error : UnSuccess call to Run"
362     print "GraphLoopSwitchOfSwitchAborted test failed"
363     sys.exit(1)
364
365 GraphLoopSwitchOfSwitchAborted.DoneW()
366
367 print "GraphLoopSwitchOfSwitchAborted Errors Messages :"
368 print GraphLoopSwitchOfSwitchAborted.Messages()
369
370
371
372 from SuperV import *
373
374 # GraphLoopSwitchOfSwitchNOTValid
375 GraphLoopSwitchOfSwitchNOTValid = Graph( "GraphLoopSwitchOfSwitchNOTValid" )
376
377 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchOfSwitchNOTValid.xml'
378
379 GraphLoopSwitchOfSwitchNOTValid.Import( anXmlFile )
380
381 RunOk = GraphLoopSwitchOfSwitchNOTValid.Run()
382 if RunOk != 0 :
383     print "Error : Success call to Run"
384     print "GraphLoopSwitchOfSwitchNOTValid test failed"
385     sys.exit(1)
386
387 GraphLoopSwitchOfSwitchNOTValid.DoneW()
388
389 print "GraphLoopSwitchOfSwitchNOTValid Errors Messages :"
390 print GraphLoopSwitchOfSwitchNOTValid.Messages()
391
392
393 from SuperV import *
394
395 # GraphLoopSwitchsAborted
396 GraphLoopSwitchsAborted = Graph( "GraphLoopSwitchsAborted" )
397
398 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsAborted.xml'
399
400 GraphLoopSwitchsAborted.Import( anXmlFile )
401
402 RunOk = GraphLoopSwitchsAborted.Run()
403 if RunOk == 0 :
404     print "Error : UnSuccess call to Run"
405     print "GraphLoopSwitchsAborted test failed"
406     sys.exit(1)
407
408 GraphLoopSwitchsAborted.DoneW()
409
410 print "GraphLoopSwitchsAborted Errors Messages :"
411 print GraphLoopSwitchsAborted.Messages()
412
413
414
415 from SuperV import *
416
417 # GraphLoopSwitchsBranchesDefaultAborted
418 GraphLoopSwitchsBranchesDefaultAborted = Graph( "GraphLoopSwitchsBranchesDefaultAborted" )
419
420 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsBranchesDefaultAborted.xml'
421
422 GraphLoopSwitchsBranchesDefaultAborted.Import( anXmlFile )
423
424 RunOk = GraphLoopSwitchsBranchesDefaultAborted.Run()
425 if RunOk == 0 :
426     print "Error : UnSuccess call to Run"
427     print "GraphLoopSwitchsBranchesDefaultAborted test failed"
428     sys.exit(1)
429
430 GraphLoopSwitchsBranchesDefaultAborted.DoneW()
431
432 print "GraphLoopSwitchsBranchesDefaultAborted Errors Messages :"
433 print GraphLoopSwitchsBranchesDefaultAborted.Messages()
434
435
436
437 from SuperV import *
438
439 # GraphLoopSwitchsNOTValid
440 GraphLoopSwitchsNOTValid = Graph( "GraphLoopSwitchsNOTValid" )
441
442 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchsNOTValid.xml'
443
444 GraphLoopSwitchsNOTValid.Import( anXmlFile )
445
446 RunOk = GraphLoopSwitchsNOTValid.Run()
447 if RunOk != 0 :
448     print "Error : Success call to Run"
449     print "GraphLoopSwitchsNOTValid test failed"
450     sys.exit(1)
451
452 GraphLoopSwitchsNOTValid.DoneW()
453
454 print "GraphLoopSwitchsNOTValid Errors Messages :"
455 print GraphLoopSwitchsNOTValid.Messages()
456
457
458 from SuperV import *
459
460 # GraphSwitchCheckBranch2NOTValid
461 GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
462
463 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckBranch2NOTValid.xml'
464
465 GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
466
467 RunOk = GraphSwitchCheckBranch2NOTValid.Run()
468 if RunOk != 0 :
469     print "Error : Success call to Run"
470     print "GraphSwitchCheckBranch2NOTValid test failed"
471     sys.exit(1)
472
473 GraphSwitchCheckBranch2NOTValid.DoneW()
474
475 print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
476 print GraphSwitchCheckBranch2NOTValid.Messages()
477
478
479 from SuperV import *
480
481 # GraphSwitchCheckDefault1NOTValid
482 GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
483
484 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault1NOTValid.xml'
485
486 GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
487
488 RunOk = GraphSwitchCheckDefault1NOTValid.Run()
489 if RunOk != 0 :
490     print "Error : Success call to Run"
491     print "GraphSwitchCheckDefault1NOTValid test failed"
492     sys.exit(1)
493
494 GraphSwitchCheckDefault1NOTValid.DoneW()
495
496 print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
497 print GraphSwitchCheckDefault1NOTValid.Messages()
498
499
500 from SuperV import *
501
502 # GraphSwitchCheckDefault2NOTValid
503 GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
504
505 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid.xml'
506
507 GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
508
509 RunOk = GraphSwitchCheckDefault2NOTValid.Run()
510 if RunOk != 0 :
511     print "Error : Success call to Run"
512     print "GraphSwitchCheckDefault2NOTValid test failed"
513     sys.exit(1)
514
515 GraphSwitchCheckDefault2NOTValid.DoneW()
516
517 print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
518 print GraphSwitchCheckDefault2NOTValid.Messages()
519
520
521 from SuperV import *
522
523 # GraphSwitchCheckDefault2NOTValid1
524 GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
525
526 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid1.xml'
527
528 GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
529
530 RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
531 if RunOk != 0 :
532     print "Error : Success call to Run"
533     print "GraphSwitchCheckDefault2NOTValid1 test failed"
534     sys.exit(1)
535
536 GraphSwitchCheckDefault2NOTValid1.DoneW()
537
538 print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
539 print GraphSwitchCheckDefault2NOTValid1.Messages()
540
541
542 from SuperV import *
543
544 # GraphSwitchCheckDefault2NOTValid2
545 GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
546
547 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid2.xml'
548
549 GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
550
551 RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
552 if RunOk != 0 :
553     print "Error : Success call to Run"
554     print "GraphSwitchCheckDefault2NOTValid2 test failed"
555     sys.exit(1)
556
557 GraphSwitchCheckDefault2NOTValid2.DoneW()
558
559 print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
560 print GraphSwitchCheckDefault2NOTValid2.Messages()
561
562
563 from SuperV import *
564
565 # GraphSwitchCrash
566 GraphSwitchCrash = Graph( "GraphSwitchCrash" )
567
568 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCrash.xml'
569
570 GraphSwitchCrash.Import( anXmlFile )
571
572 RunOk = GraphSwitchCrash.Run()
573 if RunOk == 0 :
574     print "Error : UnSuccess call to Run"
575     print "GraphSwitchCrash test failed"
576     sys.exit(1)
577
578 GraphSwitchCrash.DoneW()
579
580 print "GraphSwitchCrash Errors Messages :"
581 print GraphSwitchCrash.Messages()
582
583
584 from SuperV import *
585
586 # GraphSwitchErrExec
587 GraphSwitchErrExec = Graph( "GraphSwitchErrExec" )
588
589 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchErrExec.xml'
590
591 GraphSwitchErrExec.Import( anXmlFile )
592
593 RunOk = GraphSwitchErrExec.Run()
594 if RunOk == 0 :
595     print "Error : UnSuccess call to Run"
596     print "GraphSwitchErrExec test failed"
597     sys.exit(1)
598
599 GraphSwitchErrExec.DoneW()
600
601 print "GraphSwitchErrExec Errors Messages :"
602 print GraphSwitchErrExec.Messages()
603
604
605 from SuperV import *
606
607 # GraphSwitchGatesNoDefaultAborted
608 GraphSwitchGatesNoDefaultAborted = Graph( "GraphSwitchGatesNoDefaultAborted" )
609
610 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchGatesNoDefaultAborted.xml'
611
612 GraphSwitchGatesNoDefaultAborted.Import( anXmlFile )
613
614 RunOk = GraphSwitchGatesNoDefaultAborted.Run()
615 if RunOk == 0 :
616     print "Error : UnSuccess call to Run"
617     print "GraphSwitchGatesNoDefaultAborted test failed"
618     sys.exit(1)
619
620 GraphSwitchGatesNoDefaultAborted.DoneW()
621
622 print "GraphSwitchGatesNoDefaultAborted Errors Messages :"
623 print GraphSwitchGatesNoDefaultAborted.Messages()
624
625
626 from SuperV import *
627
628 # GraphSwitchOutputNOTValid
629 GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
630
631 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchOutputNOTValid.xml'
632
633 GraphSwitchOutputNOTValid.Import( anXmlFile )
634
635 RunOk = GraphSwitchOutputNOTValid.Run()
636 if RunOk != 0 :
637     print "Error : Success call to Run"
638     print "GraphSwitchOutputNOTValid test failed"
639     sys.exit(1)
640
641 GraphSwitchOutputNOTValid.DoneW()
642
643 print "GraphSwitchOutputNOTValid Errors Messages :"
644 print GraphSwitchOutputNOTValid.Messages()
645
646
647 from SuperV import *
648
649 # GraphSyrControlAborted
650 GraphSyrControlAborted = Graph( "GraphSyrControlAborted" )
651
652 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAborted.xml'
653
654 GraphSyrControlAborted.Import( anXmlFile )
655
656 RunOk = GraphSyrControlAborted.Run()
657 if RunOk == 0 :
658     print "Error : UnSuccess call to Run"
659     print "GraphSyrControlAborted test failed"
660     sys.exit(1)
661
662 GraphSyrControlAborted.DoneW()
663
664 print "GraphSyrControlAborted Errors Messages :"
665 print GraphSyrControlAborted.Messages()
666
667
668 from SuperV import *
669
670 # GraphSyrControlAve
671 GraphSyrControlAve = Graph( "GraphSyrControlAve" )
672
673 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAve.xml'
674
675 GraphSyrControlAve.Import( anXmlFile )
676
677 RunOk = GraphSyrControlAve.Run()
678 if RunOk == 0 :
679     print "Error : Success call to Run"
680     print "GraphSyrControlAve test failed"
681     sys.exit(1)
682
683 GraphSyrControlAve.DoneW()
684
685 State = GraphSyrControlAve.State()
686 if State != SUPERV.DoneState:
687     Messages = GraphSyrControlAve.Messages()
688     print "Error GraphSyrControlAve has Messages :"
689     print Messages
690     sys.exit(1)
691
692
693 from SuperV import *
694
695 # GraphSyrControlAveValid
696 GraphSyrControlAveValid = Graph( "GraphSyrControlAveValid" )
697
698 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveValid.xml'
699
700 GraphSyrControlAveValid.Import( anXmlFile )
701
702 RunOk = GraphSyrControlAveValid.Run()
703 if RunOk == 0 :
704     print "Error : Success call to Run"
705     print "GraphSyrControlAveValid test failed"
706     sys.exit(1)
707
708 GraphSyrControlAveValid.DoneW()
709
710 Messages = GraphSyrControlAveValid.Messages()
711 State = GraphSyrControlAveValid.State()
712 if State != SUPERV.DoneState:
713     print "Error GraphSyrControlAveValid has Messages :"
714     print Messages
715     sys.exit(1)
716
717
718 from SuperV import *
719
720 # GraphSyrControlAveExecutable
721 GraphSyrControlAveExecutable = Graph( "GraphSyrControlAveExecutable" )
722
723 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveExecutable.xml'
724
725 GraphSyrControlAveExecutable.Import( anXmlFile )
726
727 RunOk = GraphSyrControlAveExecutable.Run()
728 if RunOk == 0 :
729     print "Error : UnSuccess call to Run"
730     print "GraphSyrControlAveExecutable test failed"
731     sys.exit(1)
732
733 GraphSyrControlAveExecutable.DoneW()
734
735 State = GraphSyrControlAveExecutable.State()
736 if State != SUPERV.DoneState:
737     Messages = GraphSyrControlAveExecutable.Messages()
738     print "Error GraphSyrControlAveExecutable has Messages :"
739     print Messages
740     sys.exit(1)
741
742
743 from SuperV import *
744
745 # GraphSyrControlAveNOTValid
746 GraphSyrControlAveNOTValid = Graph( "GraphSyrControlAveNOTValid" )
747
748 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveNOTValid.xml'
749
750 GraphSyrControlAveNOTValid.Import( anXmlFile )
751
752 RunOk = GraphSyrControlAveNOTValid.Run()
753 if RunOk != 0 :
754     print "Error : Success call to Run"
755     print "GraphSyrControlAveNOTValid test failed"
756     sys.exit(1)
757
758 GraphSyrControlAveNOTValid.DoneW()
759
760 print "GraphSyrControlAveNOTValid Errors Messages :"
761 print GraphSyrControlAveNOTValid.Messages()
762
763
764 from SuperV import *
765
766 # GraphSyrControlAveNOTValid1
767 GraphSyrControlAveNOTValid1 = Graph( "GraphSyrControlAveNOTValid1" )
768
769 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSyrControlAveNOTValid1.xml'
770
771 GraphSyrControlAveNOTValid1.Import( anXmlFile )
772
773 RunOk = GraphSyrControlAveNOTValid1.Run()
774 if RunOk != 0 :
775     print "Error : UnSuccess call to Run"
776     print "GraphSyrControlAveNOTValid1 test failed"
777     sys.exit(1)
778
779 GraphSyrControlAveNOTValid1.DoneW()
780
781 print "GraphSyrControlAveNOTValid1 Errors Messages :"
782 print GraphSyrControlAveNOTValid1.Messages()
783
784
785
786 from SuperV import *
787
788 # GraphSwitch
789 GraphSwitch = Graph( "GraphSwitch" )
790
791 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitch.xml'
792
793 GraphSwitch.Import( anXmlFile )
794
795 RunOk = GraphSwitch.Run()
796 if RunOk == 0 :
797     print "Error : UnSuccess call to Run"
798     print "GraphSwitch test failed"
799     sys.exit(1)
800
801 GraphSwitch.DoneW()
802
803 Messages = GraphSwitch.Messages()
804 if Messages != "" :
805     print "Error GraphSwitch has Messages :"
806     print Messages
807     sys.exit(1)
808
809
810 from SuperV import *
811
812 # GraphSwitchExecutable
813 GraphSwitchExecutable = Graph( "GraphSwitchExecutable" )
814
815 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchExecutable.xml'
816
817 GraphSwitchExecutable.Import( anXmlFile )
818
819 RunOk = GraphSwitchExecutable.Run()
820 if RunOk == 0 :
821     print "Error : UnSuccess call to Run"
822     print "GraphSwitchExecutable test failed"
823     sys.exit(1)
824
825 GraphSwitchExecutable.DoneW()
826
827 Messages = GraphSwitchExecutable.Messages()
828 if Messages != "" :
829     print "Error GraphSwitchExecutable has Messages :"
830     print Messages
831     sys.exit(1)
832
833
834 from SuperV import *
835
836 # GraphSwitchNOTExecutable
837 GraphSwitchNOTExecutable = Graph( "GraphSwitchNOTExecutable" )
838
839 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable.xml'
840
841 GraphSwitchNOTExecutable.Import( anXmlFile )
842
843 RunOk = GraphSwitchNOTExecutable.Run()
844 if RunOk != 0 :
845     print "Error : Success call to Run"
846     print "GraphSwitchNOTExecutable test failed"
847     sys.exit(1)
848
849 GraphSwitchNOTExecutable.DoneW()
850
851 print "GraphSwitchNOTExecutable Errors Messages :"
852 print GraphSwitchNOTExecutable.Messages()
853
854
855 from SuperV import *
856
857 # GraphSwitchNOTExecutable1
858 GraphSwitchNOTExecutable1 = Graph( "GraphSwitchNOTExecutable1" )
859
860 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable1.xml'
861
862 GraphSwitchNOTExecutable1.Import( anXmlFile )
863
864 RunOk = GraphSwitchNOTExecutable1.Run()
865 if RunOk != 0 :
866     print "Error : Success call to Run"
867     print "GraphSwitchNOTExecutable1 test failed"
868     sys.exit(1)
869
870 GraphSwitchNOTExecutable1.DoneW()
871
872 print "GraphSwitchNOTExecutable1 Errors Messages :"
873 print GraphSwitchNOTExecutable1.Messages()
874
875
876
877 from SuperV import *
878
879 # GraphSwitchNOTExecutable2
880 GraphSwitchNOTExecutable2 = Graph( "GraphSwitchNOTExecutable2" )
881
882 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchNOTExecutable2.xml'
883
884 GraphSwitchNOTExecutable2.Import( anXmlFile )
885
886 RunOk = GraphSwitchNOTExecutable2.Run()
887 if RunOk != 0 :
888     print "Error : Success call to Run"
889     print "GraphSwitchNOTExecutable2 test failed"
890     sys.exit(1)
891
892 GraphSwitchNOTExecutable2.DoneW()
893
894 print "GraphSwitchNOTExecutable2 Errors Messages :"
895 print GraphSwitchNOTExecutable2.Messages()
896
897
898
899 from SuperV import *
900
901 # GraphSwitchBranchGates
902 GraphSwitchBranchGates = Graph( "GraphSwitchBranchGates" )
903
904 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchBranchGates.xml'
905
906 GraphSwitchBranchGates.Import( anXmlFile )
907
908 RunOk = GraphSwitchBranchGates.Run()
909 if RunOk == 0 :
910     print "Error : UnSuccess call to Run"
911     print "GraphSwitchBranchGates test failed"
912     sys.exit(1)
913
914 GraphSwitchBranchGates.DoneW()
915
916 Messages = GraphSwitchBranchGates.Messages()
917 if Messages != "" :
918     print "Error GraphSwitchBranchGates has Messages :"
919     print Messages
920     sys.exit(1)
921
922
923 from SuperV import *
924
925 # GraphInLinesUnValid
926 GraphInLinesUnValid = Graph( "GraphInLinesUnValid" )
927
928 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphInLinesUnValid.xml'
929
930 GraphInLinesUnValid.Import( anXmlFile )
931
932 RunOk = GraphInLinesUnValid.Run()
933 if RunOk != 0 :
934     print "Error : Success call to Run"
935     print "GraphInLinesUnValid test failed"
936     sys.exit(1)
937
938 GraphInLinesUnValid.DoneW()
939
940 print "GraphInLinesUnValid Errors Messages :"
941 print GraphInLinesUnValid.Messages()
942
943
944
945 from SuperV import *
946
947 # GraphSwitchCheckBranch2NOTValid
948 GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
949
950 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckBranch2NOTValid.xml'
951
952 GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
953
954 RunOk = GraphSwitchCheckBranch2NOTValid.Run()
955 if RunOk != 0 :
956     print "Error : Success call to Run"
957     print "GraphSwitchCheckBranch2NOTValid test failed"
958     sys.exit(1)
959
960 GraphSwitchCheckBranch2NOTValid.DoneW()
961
962 print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
963 print GraphSwitchCheckBranch2NOTValid.Messages()
964
965
966
967 from SuperV import *
968
969 # GraphSwitchCheckDefault1NOTValid
970 GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
971
972 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault1NOTValid.xml'
973
974 GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
975
976 RunOk = GraphSwitchCheckDefault1NOTValid.Run()
977 if RunOk != 0 :
978     print "Error : Success call to Run"
979     print "GraphSwitchCheckDefault1NOTValid test failed"
980     sys.exit(1)
981
982 GraphSwitchCheckDefault1NOTValid.DoneW()
983
984 print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
985 print GraphSwitchCheckDefault1NOTValid.Messages()
986
987
988 from SuperV import *
989
990 # GraphSwitchCheckDefault2NOTValid
991 GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
992
993 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid.xml'
994
995 GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
996
997 RunOk = GraphSwitchCheckDefault2NOTValid.Run()
998 if RunOk != 0 :
999     print "Error : Success call to Run"
1000     print "GraphSwitchCheckDefault2NOTValid test failed"
1001     sys.exit(1)
1002
1003 GraphSwitchCheckDefault2NOTValid.DoneW()
1004
1005 print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
1006 print GraphSwitchCheckDefault2NOTValid.Messages()
1007
1008
1009
1010
1011 from SuperV import *
1012
1013 # GraphSwitchCheckDefault2NOTValid1
1014 GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
1015
1016 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid1.xml'
1017
1018 GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
1019
1020 RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
1021 if RunOk != 0 :
1022     print "Error : Success call to Run"
1023     print "GraphSwitchCheckDefault2NOTValid1 test failed"
1024     sys.exit(1)
1025
1026 GraphSwitchCheckDefault2NOTValid1.DoneW()
1027
1028 print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
1029 print GraphSwitchCheckDefault2NOTValid1.Messages()
1030
1031
1032
1033 from SuperV import *
1034
1035 # GraphSwitchCheckDefault2NOTValid2
1036 GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
1037
1038 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchCheckDefault2NOTValid2.xml'
1039
1040 GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
1041
1042 RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
1043 if RunOk != 0 :
1044     print "Error : Success call to Run"
1045     print "GraphSwitchCheckDefault2NOTValid2 test failed"
1046     sys.exit(1)
1047
1048 GraphSwitchCheckDefault2NOTValid2.DoneW()
1049
1050 print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
1051 print GraphSwitchCheckDefault2NOTValid2.Messages()
1052
1053
1054 from SuperV import *
1055
1056 # GraphLoopsCoupled
1057 GraphLoopsCoupled = Graph( "GraphLoopsCoupled" )
1058
1059 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopsCoupled.xml'
1060
1061 GraphLoopsCoupled.Import( anXmlFile )
1062
1063 RunOk = GraphLoopsCoupled.Run()
1064 if RunOk != 0 :
1065     print "Error : Success call to Run"
1066     print "GraphLoopsCoupled test failed"
1067     sys.exit(1)
1068
1069 GraphLoopsCoupled.DoneW()
1070
1071 print "GraphLoopsCoupled Errors Messages :"
1072 print GraphLoopsCoupled.Messages()
1073
1074
1075 from SuperV import *
1076
1077 # GraphLoopGates
1078 GraphLoopGates = Graph( "GraphLoopGates" )
1079
1080 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopGates.xml'
1081
1082 GraphLoopGates.Import( anXmlFile )
1083
1084 RunOk = GraphLoopGates.Run()
1085 if RunOk == 0 :
1086     print "Error : UnSuccess call to Run"
1087     print "GraphLoopGates test failed"
1088     sys.exit(1)
1089
1090 GraphLoopGates.DoneW()
1091
1092 Messages = GraphSwitchBranchGates.Messages()
1093 if Messages != "" :
1094     print "Error GraphSwitchBranchGates has Messages :"
1095     print Messages
1096     sys.exit(1)
1097
1098
1099
1100 from SuperV import *
1101
1102 # GraphLoopGatesNOTValid
1103 GraphLoopGatesNOTValid = Graph( "GraphLoopGatesNOTValid" )
1104
1105 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopGatesNOTValid.xml'
1106
1107 GraphLoopGatesNOTValid.Import( anXmlFile )
1108
1109 RunOk = GraphLoopGatesNOTValid.Run()
1110 if RunOk != 0 :
1111     print "Error : Success call to Run"
1112     print "GraphLoopGatesNOTValid test failed"
1113     sys.exit(1)
1114
1115 GraphLoopGatesNOTValid.DoneW()
1116
1117 print "GraphLoopGatesNOTValid Errors Messages :"
1118 print GraphLoopGatesNOTValid.Messages()
1119
1120
1121 from SuperV import *
1122
1123 # GraphSwitchManyCases
1124 GraphSwitchManyCases = Graph( "GraphSwitchManyCases" )
1125
1126 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchManyCases.xml'
1127
1128 GraphSwitchManyCases.Import( anXmlFile )
1129
1130 RunOk = GraphSwitchManyCases.Run()
1131 if RunOk == 0:
1132     print "Error : UnSuccess call to Run"
1133     print "GraphSwitchManyCases test failed"
1134     sys.exit(1)
1135
1136 GraphSwitchManyCases.DoneW()
1137
1138 print "GraphSwitchManyCases Errors Messages :"
1139 print GraphSwitchManyCases.Messages()
1140
1141
1142
1143 from SuperV import *
1144
1145 # GraphLoopTwoBranches
1146 GraphLoopTwoBranches = Graph( "GraphLoopTwoBranches" )
1147
1148 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopTwoBranches.xml'
1149
1150 GraphLoopTwoBranches.Import( anXmlFile )
1151
1152 RunOk = GraphLoopTwoBranches.Run()
1153 if RunOk == 0 :
1154     print "Error : UnSuccess call to Run"
1155     print "GraphLoopTwoBranches test failed"
1156     sys.exit(1)
1157
1158 GraphLoopTwoBranches.DoneW()
1159
1160 print "GraphLoopTwoBranches Errors Messages :"
1161 print GraphLoopTwoBranches.Messages()
1162
1163
1164
1165 from SuperV import *
1166
1167 # GraphSwitchOutputNOTValid
1168 GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
1169
1170 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphSwitchOutputNOTValid.xml'
1171
1172 GraphSwitchOutputNOTValid.Import( anXmlFile )
1173
1174 RunOk = GraphSwitchOutputNOTValid.Run()
1175 if RunOk != 0 :
1176     print "Error : Success call to Run"
1177     print "GraphSwitchOutputNOTValid test failed"
1178     sys.exit(1)
1179
1180 GraphSwitchOutputNOTValid.DoneW()
1181
1182 print "GraphSwitchOutputNOTValid Errors Messages :"
1183 print GraphSwitchOutputNOTValid.Messages()
1184
1185
1186
1187 from SuperV import *
1188
1189 # GraphLoopSwitch
1190 GraphLoopSwitch = Graph( "GraphLoopSwitch" )
1191
1192 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitch.xml'
1193
1194 GraphLoopSwitch.Import( anXmlFile )
1195
1196 RunOk = GraphLoopSwitch.Run()
1197 if RunOk == 0 :
1198     print "Error : UnSuccess call to Run"
1199     print "GraphLoopSwitch test failed"
1200     sys.exit(1)
1201
1202 GraphLoopSwitch.DoneW()
1203
1204 Messages = GraphLoopSwitch.Messages()
1205 if Messages != "" :
1206     print "Error GraphLoopSwitch has Messages :"
1207     print Messages
1208     sys.exit(1)
1209
1210
1211
1212 from SuperV import *
1213
1214 # GraphLoopSwitchGateDefault
1215 GraphLoopSwitchGateDefault = Graph( "GraphLoopSwitchGateDefault" )
1216
1217 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchGateDefault.xml'
1218
1219 GraphLoopSwitchGateDefault.Import( anXmlFile )
1220
1221 RunOk = GraphLoopSwitchGateDefault.Run()
1222 if RunOk == 0 :
1223     print "Error : UnSuccess call to Run"
1224     print "GraphLoopSwitchGateDefault test failed"
1225     sys.exit(1)
1226
1227 GraphLoopSwitchGateDefault.DoneW()
1228
1229 Messages = GraphLoopSwitchGateDefault.Messages()
1230 if Messages != "" :
1231     print "Error GraphLoopSwitchGateDefault has Messages :"
1232     print Messages
1233     sys.exit(1)
1234
1235
1236 from SuperV import *
1237
1238 # GraphLoopSwitchGatesDefault
1239 GraphLoopSwitchGatesDefault = Graph( "GraphLoopSwitchGatesDefault" )
1240
1241 anXmlFile = os.getenv('DATA_DIR') + '/Superv/Graphs/GraphLoopSwitchGatesDefault.xml'
1242
1243 GraphLoopSwitchGatesDefault.Import( anXmlFile )
1244
1245 RunOk = GraphLoopSwitchGatesDefault.Run()
1246 if RunOk == 1 :
1247     print "Error : Success call to Run"
1248     print "GraphLoopSwitchGatesDefault test failed"
1249     sys.exit(1)
1250
1251 GraphLoopSwitchGatesDefault.DoneW()
1252
1253 print "GraphLoopSwitchGatesDefault Errors Messages :"
1254 print GraphLoopSwitchGatesDefault.Messages()