stif/TestCombiner/group/TestCombinerExample.cfg
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stif/TestCombiner/group/TestCombinerExample.cfg	Wed Oct 13 16:17:58 2010 +0300
@@ -0,0 +1,94 @@
+[Test]
+title complete
+run demomodule Demo.cfg 1 testid=demo ini=ini.txt expect=0
+pause demo
+resume demo
+complete demo
+[Endtest]
+
+[Test]
+title complete and rerun
+run demomodule Demo.cfg 1 testid=demo expect=0
+pause demo
+resume demo
+complete demo
+run demomodule Demo.cfg 1
+[Endtest]
+
+[Test]
+title cancel
+run demomodule Demo.cfg 1 testid=demo ini=ini.txt expect=-3
+pause demo time=2000
+cancel demo
+[Endtest]
+
+[Test]
+title double
+run demomodule Demo.cfg 1 testid=demo10 ini=ini.txt expect=-3
+run demomodule Demo.cfg 1 testid=demo20 ini=ini.txt
+pause demo10
+pause demo20
+resume demo10
+cancel demo10
+resume demo20
+[Endtest]
+
+[Test]
+title timer2
+run timermodule Demo.cfg 0 testid=t1 expect=-2
+run timermodule Demo.cfg 1 testid=t2
+pause t1
+complete t2
+resume t1
+[Endtest]
+
+[Test]
+title pause t1 5 sec
+run timermodule Demo.cfg 0 testid=t1 expect=-2
+run timermodule Demo.cfg 1 testid=t2
+pause t1 time=5000
+[Endtest]
+
+[Test]  
+title test TestCombiner state events
+request demo
+set demo state=1
+wait demo
+release demo 
+unset demo
+[Endtest]
+
+[Test]  
+title test TestCombiner indication event set
+set demo
+[Endtest]
+
+[Test]  
+title test TestCombiner indication event req-wait-rel
+request demo
+wait demo
+release demo 
+[Endtest]
+
+[Test]  
+title wait TestModuleState1 event (testmodule/TestCombiner combined)
+request TestModuleState1
+run testmodule ex.cfg 18
+wait TestModuleState1
+release TestModuleState1
+[Endtest]
+
+[Test]  
+title multiple wait TestModuleIndication1 event (testmodule/TestCombiner combined)
+request TestModuleIndication1
+run testmodule ex.cfg 20
+wait TestModuleIndication1
+wait TestModuleIndication1
+wait TestModuleIndication1
+wait TestModuleIndication1
+wait TestModuleIndication1
+wait TestModuleIndication1
+release TestModuleIndication1
+[Endtest]
+
+