3 GraphErrMsgs = Graph( "GraphErrMsgs" )
5 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/SyrStruct.xml'
7 GraphErrMsgs.Import( anXmlFile )
9 exec GraphErrMsgs.ListNodes( 'GraphErrMsgs' )
10 # ==> m3,m3incr,incra,div2,incrb,SyrComponent,forN,whileNotOne,fori,whileEven,EndOfforN,EndOfwhileNotOne,EndOffori,EndOfwhileEven,ifNotEven,EndOfifNotEven
12 exec ifNotEven.ListPorts()
13 # ==> IifNotEvenSyrComponent,IifNotEvenN,IifNotEvenK,IifNotEvenGate,OifNotEvenOdd,OifNotEvenEven,OifNotEvenSyrComponent,OifNotEvenN,OifNotEvenK,OifNotEvenDefault
15 exec EndOfifNotEven.ListPorts()
16 # ==> IEndOfifNotEvenN,IEndOfifNotEvenK,IEndOfifNotEvenDefault,OEndOfifNotEvenN,OEndOfifNotEvenK,OEndOfifNotEvenGate
18 aLink = GraphErrMsgs.Link( OifNotEvenEven , IEndOfifNotEvenN )
20 print "Error link from OifNotEvenEven to IEndOfifNotEvenN was created"
21 print "GraphErrMsgs test failed"
24 exec EndOfwhileEven.ListPorts()
25 # ==> IEndOfwhileEvenSyrComponent,IEndOfwhileEvenN,IEndOfwhileEvenK,IEndOfwhileEvenGate,OEndOfwhileEvenSyrComponent,OEndOfwhileEvenN,OEndOfwhileEvenK,OEndOfwhileEvenGate
27 exec EndOffori.ListPorts()
28 # ==> IEndOfforii,IEndOfforiK,IEndOfforiGate,OEndOfforii,OEndOfforiK,OEndOfforiGate
30 aLink = GraphErrMsgs.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
33 aLink = GraphErrMsgs.Link( OEndOfforiK , IEndOfifNotEvenK )
36 aLink = GraphErrMsgs.Link( OifNotEvenN , IEndOfifNotEvenK )
38 print "Error link from OifNotEvenN to IEndOfifNotEvenK was not created"
39 print "GraphErrMsgs test failed"
42 exec whileEven.ListPorts()
43 # ==>IwhileEvenSyrComponent,IwhileEvenN,IwhileEvenK,IwhileEvenGate,OwhileEvenSyrComponent,OwhileEvenN,OwhileEvenK,OwhileEvenGate
45 aLink = GraphErrMsgs.Link( OifNotEvenK , IwhileEvenK )
48 aLink = GraphErrMsgs.Link( OifNotEvenOdd , IwhileEvenK )
50 print "Error link from OifNotEvenOdd to IwhileEvenK was created"
51 print "GraphErrMsgs test failed"
54 aLink = GraphErrMsgs.Link( OifNotEvenDefault , IwhileEvenK )
56 print "Error link from OifNotEvenDefault to IwhileEvenK was created"
57 print "GraphErrMsgs test failed"
61 # ==> Idiv2anEvenInteger,Idiv2Gate,Odiv2anInteger,Odiv2Gate
63 aLink = GraphErrMsgs.Link( OwhileEvenN , Idiv2Gate )
65 print "Error link from OwhileEvenN to Idiv2Gate was created"
66 print "GraphErrMsgs test failed"
69 print "GraphErrMsgs Errors Messages :"
70 print GraphErrMsgs.Messages()
72 RunOk = GraphErrMsgs.Run()
74 print "Error : Success call to Run"
75 print "GraphErrMsgs test failed"
80 print "GraphErrMsgs Errors Messages :"
81 print GraphErrMsgs.Messages()
87 GraphBadInputInLoop = Graph( "GraphBadInputInLoop" )
89 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadInputInLoop.xml'
91 GraphBadInputInLoop.Import( anXmlFile )
93 RunOk = GraphBadInputInLoop.Run()
95 print "Error : Success call to Run"
96 print "GraphBadInputInLoop test failed"
99 GraphBadInputInLoop.DoneW()
101 print "GraphBadInputInLoop Errors Messages :"
102 print GraphBadInputInLoop.Messages()
108 # GraphBadInputInLoop1
109 GraphBadInputInLoop1 = Graph( "GraphBadInputInLoop1" )
111 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadInputInLoop1.xml'
113 GraphBadInputInLoop1.Import( anXmlFile )
115 RunOk = GraphBadInputInLoop1.Run()
117 print "Error : Success call to Run"
118 print "GraphBadInputInLoop1 test failed"
121 GraphBadInputInLoop1.DoneW()
123 print "GraphBadInputInLoop1 Errors Messages :"
124 print GraphBadInputInLoop1.Messages()
130 # GraphBadInputInLoop2
131 GraphBadInputInLoop2 = Graph( "GraphBadInputInLoop2" )
133 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadInputInLoop2.xml'
135 GraphBadInputInLoop2.Import( anXmlFile )
137 RunOk = GraphBadInputInLoop2.Run()
139 print "Error : Success call to Run"
140 print "GraphBadInputInLoop2 test failed"
143 GraphBadInputInLoop2.DoneW()
145 print "GraphBadInputInLoop2 Errors Messages :"
146 print GraphBadInputInLoop2.Messages()
152 # GraphBadInputInLoop3
153 GraphBadInputInLoop3 = Graph( "GraphBadInputInLoop3" )
155 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadInputInLoop3.xml'
157 GraphBadInputInLoop3.Import( anXmlFile )
159 RunOk = GraphBadInputInLoop3.Run()
161 print "Error : Success call to Run"
162 print "GraphBadInputInLoop3 test failed"
165 GraphBadInputInLoop3.DoneW()
167 print "GraphBadInputInLoop3 Errors Messages :"
168 print GraphBadInputInLoop3.Messages()
174 # GraphBadOutputOfLoop
175 GraphBadOutputOfLoop = Graph( "GraphBadOutputOfLoop" )
177 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadOutputOfLoop.xml'
179 GraphBadOutputOfLoop.Import( anXmlFile )
181 RunOk = GraphBadOutputOfLoop.Run()
183 print "Error : Success call to Run"
184 print "GraphBadOutputOfLoop test failed"
187 GraphBadOutputOfLoop.DoneW()
189 print "GraphBadOutputOfLoop Errors Messages :"
190 print GraphBadOutputOfLoop.Messages()
196 # GraphBadOutputOfLoop1
197 GraphBadOutputOfLoop1 = Graph( "GraphBadOutputOfLoop1" )
199 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadOutputOfLoop1.xml'
201 GraphBadOutputOfLoop1.Import( anXmlFile )
203 RunOk = GraphBadOutputOfLoop1.Run()
205 print "Error : Success call to Run"
206 print "GraphBadOutputOfLoop1 test failed"
209 GraphBadOutputOfLoop1.DoneW()
211 print "GraphBadOutputOfLoop1 Errors Messages :"
212 print GraphBadOutputOfLoop1.Messages()
218 # GraphBadOutputOfLoop2
219 GraphBadOutputOfLoop2 = Graph( "GraphBadOutputOfLoop2" )
221 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphBadOutputOfLoop2.xml'
223 GraphBadOutputOfLoop2.Import( anXmlFile )
225 RunOk = GraphBadOutputOfLoop2.Run()
227 print "Error : Success call to Run"
228 print "GraphBadOutputOfLoop2 test failed"
231 GraphBadOutputOfLoop2.DoneW()
233 print "GraphBadOutputOfLoop2 Errors Messages :"
234 print GraphBadOutputOfLoop2.Messages()
240 # GraphConvertObjRefCheckNotCompatible
241 GraphConvertObjRefCheckNotCompatible = Graph( "GraphConvertObjRefCheckNotCompatible" )
243 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphConvertObjRefCheckNotCompatible.xml'
245 GraphConvertObjRefCheckNotCompatible.Import( anXmlFile )
247 RunOk = GraphConvertObjRefCheckNotCompatible.Run()
249 print "Error : Success call to Run"
250 print "GraphConvertObjRefCheckNotCompatible test failed"
253 GraphConvertObjRefCheckNotCompatible.DoneW()
255 print "GraphConvertObjRefCheckNotCompatible Errors Messages :"
256 print GraphConvertObjRefCheckNotCompatible.Messages()
263 # GraphWrongPythonFunctions
264 GraphWrongPythonFunctions = Graph( "GraphWrongPythonFunctions" )
266 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphWrongPythonFunctions.xml'
268 GraphWrongPythonFunctions.Import( anXmlFile )
270 RunOk = GraphWrongPythonFunctions.Run()
272 print "Error : Success call to Run"
273 print "GraphWrongPythonFunctions test failed"
276 GraphWrongPythonFunctions.DoneW()
278 print "GraphWrongPythonFunctions Errors Messages :"
279 print GraphWrongPythonFunctions.Messages()
285 # GraphWrongContainerOrComponent
286 GraphWrongContainerOrComponent = Graph( "GraphWrongContainerOrComponent" )
288 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphWrongContainerOrComponent.xml'
290 GraphWrongContainerOrComponent.Import( anXmlFile )
292 RunOk = GraphWrongContainerOrComponent.Run()
294 print "Error : UnSuccess call to Run"
295 print "GraphWrongContainerOrComponent test failed"
298 GraphWrongContainerOrComponent.DoneW()
300 print "GraphWrongContainerOrComponent Errors Messages :"
301 print GraphWrongContainerOrComponent.Messages()
307 # GraphLoopSwitchDefaultAborted
308 GraphLoopSwitchDefaultAborted = Graph( "GraphLoopSwitchDefaultAborted" )
310 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchDefaultAborted.xml'
312 GraphLoopSwitchDefaultAborted.Import( anXmlFile )
314 RunOk = GraphLoopSwitchDefaultAborted.Run()
316 print "Error : UnSuccess call to Run"
317 print "GraphLoopSwitchDefaultAborted test failed"
320 GraphLoopSwitchDefaultAborted.DoneW()
322 print "GraphLoopSwitchDefaultAborted Errors Messages :"
323 print GraphLoopSwitchDefaultAborted.Messages()
329 # GraphLoopSwitchOfSwitchAborted
330 GraphLoopSwitchOfSwitchAborted = Graph( "GraphLoopSwitchOfSwitchAborted" )
332 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchOfSwitchAborted.xml'
334 GraphLoopSwitchOfSwitchAborted.Import( anXmlFile )
336 RunOk = GraphLoopSwitchOfSwitchAborted.Run()
338 print "Error : UnSuccess call to Run"
339 print "GraphLoopSwitchOfSwitchAborted test failed"
342 GraphLoopSwitchOfSwitchAborted.DoneW()
344 print "GraphLoopSwitchOfSwitchAborted Errors Messages :"
345 print GraphLoopSwitchOfSwitchAborted.Messages()
351 # GraphLoopSwitchOfSwitchNOTValid
352 GraphLoopSwitchOfSwitchNOTValid = Graph( "GraphLoopSwitchOfSwitchNOTValid" )
354 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchOfSwitchNOTValid.xml'
356 GraphLoopSwitchOfSwitchNOTValid.Import( anXmlFile )
358 RunOk = GraphLoopSwitchOfSwitchNOTValid.Run()
360 print "Error : Success call to Run"
361 print "GraphLoopSwitchOfSwitchNOTValid test failed"
364 GraphLoopSwitchOfSwitchNOTValid.DoneW()
366 print "GraphLoopSwitchOfSwitchNOTValid Errors Messages :"
367 print GraphLoopSwitchOfSwitchNOTValid.Messages()
372 # GraphLoopSwitchsAborted
373 GraphLoopSwitchsAborted = Graph( "GraphLoopSwitchsAborted" )
375 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchsAborted.xml'
377 GraphLoopSwitchsAborted.Import( anXmlFile )
379 RunOk = GraphLoopSwitchsAborted.Run()
381 print "Error : UnSuccess call to Run"
382 print "GraphLoopSwitchsAborted test failed"
385 GraphLoopSwitchsAborted.DoneW()
387 print "GraphLoopSwitchsAborted Errors Messages :"
388 print GraphLoopSwitchsAborted.Messages()
394 # GraphLoopSwitchsBranchesDefaultAborted
395 GraphLoopSwitchsBranchesDefaultAborted = Graph( "GraphLoopSwitchsBranchesDefaultAborted" )
397 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchsBranchesDefaultAborted.xml'
399 GraphLoopSwitchsBranchesDefaultAborted.Import( anXmlFile )
401 RunOk = GraphLoopSwitchsBranchesDefaultAborted.Run()
403 print "Error : UnSuccess call to Run"
404 print "GraphLoopSwitchsBranchesDefaultAborted test failed"
407 GraphLoopSwitchsBranchesDefaultAborted.DoneW()
409 print "GraphLoopSwitchsBranchesDefaultAborted Errors Messages :"
410 print GraphLoopSwitchsBranchesDefaultAborted.Messages()
416 # GraphLoopSwitchsNOTValid
417 GraphLoopSwitchsNOTValid = Graph( "GraphLoopSwitchsNOTValid" )
419 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchsNOTValid.xml'
421 GraphLoopSwitchsNOTValid.Import( anXmlFile )
423 RunOk = GraphLoopSwitchsNOTValid.Run()
425 print "Error : Success call to Run"
426 print "GraphLoopSwitchsNOTValid test failed"
429 GraphLoopSwitchsNOTValid.DoneW()
431 print "GraphLoopSwitchsNOTValid Errors Messages :"
432 print GraphLoopSwitchsNOTValid.Messages()
437 # GraphSwitchCheckBranch2NOTValid
438 GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
440 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckBranch2NOTValid.xml'
442 GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
444 RunOk = GraphSwitchCheckBranch2NOTValid.Run()
446 print "Error : Success call to Run"
447 print "GraphSwitchCheckBranch2NOTValid test failed"
450 GraphSwitchCheckBranch2NOTValid.DoneW()
452 print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
453 print GraphSwitchCheckBranch2NOTValid.Messages()
458 # GraphSwitchCheckDefault1NOTValid
459 GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
461 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault1NOTValid.xml'
463 GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
465 RunOk = GraphSwitchCheckDefault1NOTValid.Run()
467 print "Error : Success call to Run"
468 print "GraphSwitchCheckDefault1NOTValid test failed"
471 GraphSwitchCheckDefault1NOTValid.DoneW()
473 print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
474 print GraphSwitchCheckDefault1NOTValid.Messages()
479 # GraphSwitchCheckDefault2NOTValid
480 GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
482 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid.xml'
484 GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
486 RunOk = GraphSwitchCheckDefault2NOTValid.Run()
488 print "Error : Success call to Run"
489 print "GraphSwitchCheckDefault2NOTValid test failed"
492 GraphSwitchCheckDefault2NOTValid.DoneW()
494 print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
495 print GraphSwitchCheckDefault2NOTValid.Messages()
500 # GraphSwitchCheckDefault2NOTValid1
501 GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
503 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid1.xml'
505 GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
507 RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
509 print "Error : Success call to Run"
510 print "GraphSwitchCheckDefault2NOTValid1 test failed"
513 GraphSwitchCheckDefault2NOTValid1.DoneW()
515 print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
516 print GraphSwitchCheckDefault2NOTValid1.Messages()
521 # GraphSwitchCheckDefault2NOTValid2
522 GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
524 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid2.xml'
526 GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
528 RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
530 print "Error : Success call to Run"
531 print "GraphSwitchCheckDefault2NOTValid2 test failed"
534 GraphSwitchCheckDefault2NOTValid2.DoneW()
536 print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
537 print GraphSwitchCheckDefault2NOTValid2.Messages()
543 GraphSwitchCrash = Graph( "GraphSwitchCrash" )
545 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCrash.xml'
547 GraphSwitchCrash.Import( anXmlFile )
549 RunOk = GraphSwitchCrash.Run()
551 print "Error : UnSuccess call to Run"
552 print "GraphSwitchCrash test failed"
555 GraphSwitchCrash.DoneW()
557 print "GraphSwitchCrash Errors Messages :"
558 print GraphSwitchCrash.Messages()
564 GraphSwitchErrExec = Graph( "GraphSwitchErrExec" )
566 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchErrExec.xml'
568 GraphSwitchErrExec.Import( anXmlFile )
570 RunOk = GraphSwitchErrExec.Run()
572 print "Error : UnSuccess call to Run"
573 print "GraphSwitchErrExec test failed"
576 GraphSwitchErrExec.DoneW()
578 print "GraphSwitchErrExec Errors Messages :"
579 print GraphSwitchErrExec.Messages()
584 # GraphSwitchGatesNoDefaultAborted
585 GraphSwitchGatesNoDefaultAborted = Graph( "GraphSwitchGatesNoDefaultAborted" )
587 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchGatesNoDefaultAborted.xml'
589 GraphSwitchGatesNoDefaultAborted.Import( anXmlFile )
591 RunOk = GraphSwitchGatesNoDefaultAborted.Run()
593 print "Error : UnSuccess call to Run"
594 print "GraphSwitchGatesNoDefaultAborted test failed"
597 GraphSwitchGatesNoDefaultAborted.DoneW()
599 print "GraphSwitchGatesNoDefaultAborted Errors Messages :"
600 print GraphSwitchGatesNoDefaultAborted.Messages()
605 # GraphSwitchOutputNOTValid
606 GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
608 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchOutputNOTValid.xml'
610 GraphSwitchOutputNOTValid.Import( anXmlFile )
612 RunOk = GraphSwitchOutputNOTValid.Run()
614 print "Error : Success call to Run"
615 print "GraphSwitchOutputNOTValid test failed"
618 GraphSwitchOutputNOTValid.DoneW()
620 print "GraphSwitchOutputNOTValid Errors Messages :"
621 print GraphSwitchOutputNOTValid.Messages()
626 # GraphSyrControlAborted
627 GraphSyrControlAborted = Graph( "GraphSyrControlAborted" )
629 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAborted.xml'
631 GraphSyrControlAborted.Import( anXmlFile )
633 RunOk = GraphSyrControlAborted.Run()
635 print "Error : UnSuccess call to Run"
636 print "GraphSyrControlAborted test failed"
639 GraphSyrControlAborted.DoneW()
641 print "GraphSyrControlAborted Errors Messages :"
642 print GraphSyrControlAborted.Messages()
648 GraphSyrControlAve = Graph( "GraphSyrControlAve" )
650 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAve.xml'
652 GraphSyrControlAve.Import( anXmlFile )
654 RunOk = GraphSyrControlAve.Run()
656 print "Error : Success call to Run"
657 print "GraphSyrControlAve test failed"
660 GraphSyrControlAve.DoneW()
662 Messages = GraphSyrControlAve.Messages()
664 print "Error GraphSyrControlAve has Messages :"
671 # GraphSyrControlAveValid
672 GraphSyrControlAveValid = Graph( "GraphSyrControlAveValid" )
674 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAveValid.xml'
676 GraphSyrControlAveValid.Import( anXmlFile )
678 RunOk = GraphSyrControlAveValid.Run()
680 print "Error : Success call to Run"
681 print "GraphSyrControlAveValid test failed"
684 GraphSyrControlAveValid.DoneW()
686 Messages = GraphSyrControlAveValid.Messages()
688 print "Error GraphSyrControlAveValid has Messages :"
695 # GraphSyrControlAveExecutable
696 GraphSyrControlAveExecutable = Graph( "GraphSyrControlAveExecutable" )
698 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAveExecutable.xml'
700 GraphSyrControlAveExecutable.Import( anXmlFile )
702 RunOk = GraphSyrControlAveExecutable.Run()
704 print "Error : UnSuccess call to Run"
705 print "GraphSyrControlAveExecutable test failed"
708 GraphSyrControlAveExecutable.DoneW()
710 Messages = GraphSyrControlAveExecutable.Messages()
712 print "Error GraphSyrControlAveExecutable has Messages :"
719 # GraphSyrControlAveNOTValid
720 GraphSyrControlAveNOTValid = Graph( "GraphSyrControlAveNOTValid" )
722 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAveNOTValid.xml'
724 GraphSyrControlAveNOTValid.Import( anXmlFile )
726 RunOk = GraphSyrControlAveNOTValid.Run()
728 print "Error : Success call to Run"
729 print "GraphSyrControlAveNOTValid test failed"
732 GraphSyrControlAveNOTValid.DoneW()
734 print "GraphSyrControlAveNOTValid Errors Messages :"
735 print GraphSyrControlAveNOTValid.Messages()
740 # GraphSyrControlAveNOTValid1
741 GraphSyrControlAveNOTValid1 = Graph( "GraphSyrControlAveNOTValid1" )
743 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSyrControlAveNOTValid1.xml'
745 GraphSyrControlAveNOTValid1.Import( anXmlFile )
747 RunOk = GraphSyrControlAveNOTValid1.Run()
749 print "Error : UnSuccess call to Run"
750 print "GraphSyrControlAveNOTValid1 test failed"
753 GraphSyrControlAveNOTValid1.DoneW()
755 print "GraphSyrControlAveNOTValid1 Errors Messages :"
756 print GraphSyrControlAveNOTValid1.Messages()
762 GraphSwitch = Graph( "GraphSwitch" )
764 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitch.xml'
766 GraphSwitch.Import( anXmlFile )
768 RunOk = GraphSwitch.Run()
770 print "Error : UnSuccess call to Run"
771 print "GraphSwitch test failed"
776 Messages = GraphSwitch.Messages()
778 print "Error GraphSwitch has Messages :"
785 # GraphSwitchExecutable
786 GraphSwitchExecutable = Graph( "GraphSwitchExecutable" )
788 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchExecutable.xml'
790 GraphSwitchExecutable.Import( anXmlFile )
792 RunOk = GraphSwitchExecutable.Run()
794 print "Error : UnSuccess call to Run"
795 print "GraphSwitchExecutable test failed"
798 GraphSwitchExecutable.DoneW()
800 Messages = GraphSwitchExecutable.Messages()
802 print "Error GraphSwitchExecutable has Messages :"
809 # GraphSwitchNOTExecutable
810 GraphSwitchNOTExecutable = Graph( "GraphSwitchNOTExecutable" )
812 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchNOTExecutable.xml'
814 GraphSwitchNOTExecutable.Import( anXmlFile )
816 RunOk = GraphSwitchNOTExecutable.Run()
818 print "Error : Success call to Run"
819 print "GraphSwitchNOTExecutable test failed"
822 GraphSwitchNOTExecutable.DoneW()
824 print "GraphSwitchNOTExecutable Errors Messages :"
825 print GraphSwitchNOTExecutable.Messages()
830 # GraphSwitchNOTExecutable1
831 GraphSwitchNOTExecutable1 = Graph( "GraphSwitchNOTExecutable1" )
833 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchNOTExecutable1.xml'
835 GraphSwitchNOTExecutable1.Import( anXmlFile )
837 RunOk = GraphSwitchNOTExecutable1.Run()
839 print "Error : Success call to Run"
840 print "GraphSwitchNOTExecutable1 test failed"
843 GraphSwitchNOTExecutable1.DoneW()
845 print "GraphSwitchNOTExecutable1 Errors Messages :"
846 print GraphSwitchNOTExecutable1.Messages()
852 # GraphSwitchNOTExecutable2
853 GraphSwitchNOTExecutable2 = Graph( "GraphSwitchNOTExecutable2" )
855 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchNOTExecutable2.xml'
857 GraphSwitchNOTExecutable2.Import( anXmlFile )
859 RunOk = GraphSwitchNOTExecutable2.Run()
861 print "Error : Success call to Run"
862 print "GraphSwitchNOTExecutable2 test failed"
865 GraphSwitchNOTExecutable2.DoneW()
867 print "GraphSwitchNOTExecutable2 Errors Messages :"
868 print GraphSwitchNOTExecutable2.Messages()
874 # GraphSwitchBranchGates
875 GraphSwitchBranchGates = Graph( "GraphSwitchBranchGates" )
877 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchBranchGates.xml'
879 GraphSwitchBranchGates.Import( anXmlFile )
881 RunOk = GraphSwitchBranchGates.Run()
883 print "Error : UnSuccess call to Run"
884 print "GraphSwitchBranchGates test failed"
887 GraphSwitchBranchGates.DoneW()
889 Messages = GraphSwitchBranchGates.Messages()
891 print "Error GraphSwitchBranchGates has Messages :"
898 # GraphInLinesUnValid
899 GraphInLinesUnValid = Graph( "GraphInLinesUnValid" )
901 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphInLinesUnValid.xml'
903 GraphInLinesUnValid.Import( anXmlFile )
905 RunOk = GraphInLinesUnValid.Run()
907 print "Error : Success call to Run"
908 print "GraphInLinesUnValid test failed"
911 GraphInLinesUnValid.DoneW()
913 print "GraphInLinesUnValid Errors Messages :"
914 print GraphInLinesUnValid.Messages()
920 # GraphSwitchCheckBranch2NOTValid
921 GraphSwitchCheckBranch2NOTValid = Graph( "GraphSwitchCheckBranch2NOTValid" )
923 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckBranch2NOTValid.xml'
925 GraphSwitchCheckBranch2NOTValid.Import( anXmlFile )
927 RunOk = GraphSwitchCheckBranch2NOTValid.Run()
929 print "Error : Success call to Run"
930 print "GraphSwitchCheckBranch2NOTValid test failed"
933 GraphSwitchCheckBranch2NOTValid.DoneW()
935 print "GraphSwitchCheckBranch2NOTValid Errors Messages :"
936 print GraphSwitchCheckBranch2NOTValid.Messages()
942 # GraphSwitchCheckDefault1NOTValid
943 GraphSwitchCheckDefault1NOTValid = Graph( "GraphSwitchCheckDefault1NOTValid" )
945 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault1NOTValid.xml'
947 GraphSwitchCheckDefault1NOTValid.Import( anXmlFile )
949 RunOk = GraphSwitchCheckDefault1NOTValid.Run()
951 print "Error : Success call to Run"
952 print "GraphSwitchCheckDefault1NOTValid test failed"
955 GraphSwitchCheckDefault1NOTValid.DoneW()
957 print "GraphSwitchCheckDefault1NOTValid Errors Messages :"
958 print GraphSwitchCheckDefault1NOTValid.Messages()
963 # GraphSwitchCheckDefault2NOTValid
964 GraphSwitchCheckDefault2NOTValid = Graph( "GraphSwitchCheckDefault2NOTValid" )
966 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid.xml'
968 GraphSwitchCheckDefault2NOTValid.Import( anXmlFile )
970 RunOk = GraphSwitchCheckDefault2NOTValid.Run()
972 print "Error : Success call to Run"
973 print "GraphSwitchCheckDefault2NOTValid test failed"
976 GraphSwitchCheckDefault2NOTValid.DoneW()
978 print "GraphSwitchCheckDefault2NOTValid Errors Messages :"
979 print GraphSwitchCheckDefault2NOTValid.Messages()
986 # GraphSwitchCheckDefault2NOTValid1
987 GraphSwitchCheckDefault2NOTValid1 = Graph( "GraphSwitchCheckDefault2NOTValid1" )
989 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid1.xml'
991 GraphSwitchCheckDefault2NOTValid1.Import( anXmlFile )
993 RunOk = GraphSwitchCheckDefault2NOTValid1.Run()
995 print "Error : Success call to Run"
996 print "GraphSwitchCheckDefault2NOTValid1 test failed"
999 GraphSwitchCheckDefault2NOTValid1.DoneW()
1001 print "GraphSwitchCheckDefault2NOTValid1 Errors Messages :"
1002 print GraphSwitchCheckDefault2NOTValid1.Messages()
1006 from SuperV import *
1008 # GraphSwitchCheckDefault2NOTValid2
1009 GraphSwitchCheckDefault2NOTValid2 = Graph( "GraphSwitchCheckDefault2NOTValid2" )
1011 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchCheckDefault2NOTValid2.xml'
1013 GraphSwitchCheckDefault2NOTValid2.Import( anXmlFile )
1015 RunOk = GraphSwitchCheckDefault2NOTValid2.Run()
1017 print "Error : Success call to Run"
1018 print "GraphSwitchCheckDefault2NOTValid2 test failed"
1021 GraphSwitchCheckDefault2NOTValid2.DoneW()
1023 print "GraphSwitchCheckDefault2NOTValid2 Errors Messages :"
1024 print GraphSwitchCheckDefault2NOTValid2.Messages()
1027 from SuperV import *
1030 GraphLoopsCoupled = Graph( "GraphLoopsCoupled" )
1032 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopsCoupled.xml'
1034 GraphLoopsCoupled.Import( anXmlFile )
1036 RunOk = GraphLoopsCoupled.Run()
1038 print "Error : Success call to Run"
1039 print "GraphLoopsCoupled test failed"
1042 GraphLoopsCoupled.DoneW()
1044 print "GraphLoopsCoupled Errors Messages :"
1045 print GraphLoopsCoupled.Messages()
1048 from SuperV import *
1051 GraphLoopGates = Graph( "GraphLoopGates" )
1053 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopGates.xml'
1055 GraphLoopGates.Import( anXmlFile )
1057 RunOk = GraphLoopGates.Run()
1059 print "Error : UnSuccess call to Run"
1060 print "GraphLoopGates test failed"
1063 GraphLoopGates.DoneW()
1065 Messages = GraphSwitchBranchGates.Messages()
1067 print "Error GraphSwitchBranchGates has Messages :"
1073 from SuperV import *
1075 # GraphLoopGatesNOTValid
1076 GraphLoopGatesNOTValid = Graph( "GraphLoopGatesNOTValid" )
1078 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopGatesNOTValid.xml'
1080 GraphLoopGatesNOTValid.Import( anXmlFile )
1082 RunOk = GraphLoopGatesNOTValid.Run()
1084 print "Error : Success call to Run"
1085 print "GraphLoopGatesNOTValid test failed"
1088 GraphLoopGatesNOTValid.DoneW()
1090 print "GraphLoopGatesNOTValid Errors Messages :"
1091 print GraphLoopGatesNOTValid.Messages()
1094 from SuperV import *
1096 # GraphSwitchManyCases
1097 GraphSwitchManyCases = Graph( "GraphSwitchManyCases" )
1099 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchManyCases.xml'
1101 GraphSwitchManyCases.Import( anXmlFile )
1103 RunOk = GraphSwitchManyCases.Run()
1105 print "Error : Success call to Run"
1106 print "GraphSwitchManyCases test failed"
1109 GraphSwitchManyCases.DoneW()
1111 print "GraphSwitchManyCases Errors Messages :"
1112 print GraphSwitchManyCases.Messages()
1116 from SuperV import *
1118 # GraphLoopTwoBranches
1119 GraphLoopTwoBranches = Graph( "GraphLoopTwoBranches" )
1121 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopTwoBranches.xml'
1123 GraphLoopTwoBranches.Import( anXmlFile )
1125 RunOk = GraphLoopTwoBranches.Run()
1127 print "Error : UnSuccess call to Run"
1128 print "GraphLoopTwoBranches test failed"
1131 GraphLoopTwoBranches.DoneW()
1133 print "GraphLoopTwoBranches Errors Messages :"
1134 print GraphLoopTwoBranches.Messages()
1138 from SuperV import *
1140 # GraphSwitchOutputNOTValid
1141 GraphSwitchOutputNOTValid = Graph( "GraphSwitchOutputNOTValid" )
1143 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphSwitchOutputNOTValid.xml'
1145 GraphSwitchOutputNOTValid.Import( anXmlFile )
1147 RunOk = GraphSwitchOutputNOTValid.Run()
1149 print "Error : Success call to Run"
1150 print "GraphSwitchOutputNOTValid test failed"
1153 GraphSwitchOutputNOTValid.DoneW()
1155 print "GraphSwitchOutputNOTValid Errors Messages :"
1156 print GraphSwitchOutputNOTValid.Messages()
1160 from SuperV import *
1163 GraphLoopSwitch = Graph( "GraphLoopSwitch" )
1165 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitch.xml'
1167 GraphLoopSwitch.Import( anXmlFile )
1169 RunOk = GraphLoopSwitch.Run()
1171 print "Error : UnSuccess call to Run"
1172 print "GraphLoopSwitch test failed"
1175 GraphLoopSwitch.DoneW()
1177 Messages = GraphLoopSwitch.Messages()
1179 print "Error GraphLoopSwitch has Messages :"
1185 from SuperV import *
1187 # GraphLoopSwitchGateDefault
1188 GraphLoopSwitchGateDefault = Graph( "GraphLoopSwitchGateDefault" )
1190 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchGateDefault.xml'
1192 GraphLoopSwitchGateDefault.Import( anXmlFile )
1194 RunOk = GraphLoopSwitchGateDefault.Run()
1196 print "Error : UnSuccess call to Run"
1197 print "GraphLoopSwitchGateDefault test failed"
1200 GraphLoopSwitchGateDefault.DoneW()
1202 Messages = GraphLoopSwitchGateDefault.Messages()
1204 print "Error GraphLoopSwitchGateDefault has Messages :"
1209 from SuperV import *
1211 # GraphLoopSwitchGatesDefault
1212 GraphLoopSwitchGatesDefault = Graph( "GraphLoopSwitchGatesDefault" )
1214 anXmlFile = os.getenv('SUPERV_ROOT_DIR') + '/examples/GraphLoopSwitchGatesDefault.xml'
1216 GraphLoopSwitchGatesDefault.Import( anXmlFile )
1218 RunOk = GraphLoopSwitchGatesDefault.Run()
1220 print "Error : Success call to Run"
1221 print "GraphLoopSwitchGatesDefault test failed"
1224 GraphLoopSwitchGatesDefault.DoneW()
1226 print "GraphLoopSwitchGatesDefault Errors Messages :"
1227 print GraphLoopSwitchGatesDefault.Messages()