videoutils_plat/videoconnutility_api/tsrc/conf/VCXConnUtilTestStates.cfg
branchRCL_3
changeset 11 d814ed7f9a12
parent 0 822a42b6c3f1
equal deleted inserted replaced
7:e3b7e04384fe 11:d814ed7f9a12
   160 #------------------------------------------------------------------------------------
   160 #------------------------------------------------------------------------------------
   161 #
   161 #
   162 # Test CVcxConnUtilEngine class.
   162 # Test CVcxConnUtilEngine class.
   163 #
   163 #
   164 #------------------------------------------------------------------------------------
   164 #------------------------------------------------------------------------------------
   165 [Test]
   165 #[Test]
   166 title ET31186 Connection terminated by another app, state
   166 #title ET31186 Connection terminated by another app, state
       
   167 #create VCXTestUtilModule Util
       
   168 #
       
   169 #// Destination with 2 working IAPs
       
   170 #allowerrorcodes KERRNOTFOUND
       
   171 #Util DeleteDestination DEST_TEST
       
   172 #pause 1000
       
   173 #Util CreateDestination DEST_TEST
       
   174 #Util SetUsedDestination DEST_TEST
       
   175 #Util DeleteDestinationAfterwards DEST_TEST
       
   176 #Util CopyMethod 3G_AP AP1 DEST_TEST
       
   177 #Util CopyMethod 3G_AP AP2 DEST_TEST
       
   178 #Util SetMethodPriority DEST_TEST AP1 0
       
   179 #Util SetMethodPriority DEST_TEST AP2 1
       
   180 #
       
   181 #create VCXConnUtilTest VCXCONN
       
   182 #VCXCONN Create
       
   183 #VCXCONN GetIap DEST_TEST
       
   184 #waittestclass VCXCONN
       
   185 #Util WaitForConnectionActivity AP1
       
   186 #waittestclass Util
       
   187 #
       
   188 #Util Attach AP1
       
   189 #Util Terminate AP1
       
   190 #Util WaitUntilConnectionIsClosed AP1
       
   191 #waittestclass Util
       
   192 #
       
   193 #pause 5000
       
   194 #VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
       
   195 #
       
   196 #print OK!
       
   197 #delete VCXCONN
       
   198 #pause 3000
       
   199 #delete Util
       
   200 #[Endtest]
       
   201 
       
   202 #------------------------------------------------------------------------------------
       
   203 #
       
   204 # Test CVcxConnUtilEngine class.
       
   205 #
       
   206 #------------------------------------------------------------------------------------
       
   207 [Test]
       
   208 title ET31187 Connect, connect again, state
   167 create VCXTestUtilModule Util
   209 create VCXTestUtilModule Util
   168 
   210 
   169 // Destination with 2 working IAPs
   211 // Destination with 2 working IAPs
   170 allowerrorcodes KERRNOTFOUND
   212 allowerrorcodes KERRNOTFOUND
   171 Util DeleteDestination DEST_TEST
   213 Util DeleteDestination DEST_TEST
   183 VCXCONN GetIap DEST_TEST
   225 VCXCONN GetIap DEST_TEST
   184 waittestclass VCXCONN
   226 waittestclass VCXCONN
   185 Util WaitForConnectionActivity AP1
   227 Util WaitForConnectionActivity AP1
   186 waittestclass Util
   228 waittestclass Util
   187 
   229 
   188 Util Attach AP1
       
   189 Util Terminate AP1
       
   190 Util WaitUntilConnectionIsClosed AP1
       
   191 waittestclass Util
       
   192 
       
   193 pause 5000
       
   194 VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
       
   195 
       
   196 print OK!
       
   197 delete VCXCONN
       
   198 pause 3000
       
   199 delete Util
       
   200 [Endtest]
       
   201 
       
   202 #------------------------------------------------------------------------------------
       
   203 #
       
   204 # Test CVcxConnUtilEngine class.
       
   205 #
       
   206 #------------------------------------------------------------------------------------
       
   207 [Test]
       
   208 title ET31187 Connect, connect again, state
       
   209 create VCXTestUtilModule Util
       
   210 
       
   211 // Destination with 2 working IAPs
       
   212 allowerrorcodes KERRNOTFOUND
       
   213 Util DeleteDestination DEST_TEST
       
   214 pause 1000
       
   215 Util CreateDestination DEST_TEST
       
   216 Util SetUsedDestination DEST_TEST
       
   217 Util DeleteDestinationAfterwards DEST_TEST
       
   218 Util CopyMethod 3G_AP AP1 DEST_TEST
       
   219 Util CopyMethod 3G_AP AP2 DEST_TEST
       
   220 Util SetMethodPriority DEST_TEST AP1 0
       
   221 Util SetMethodPriority DEST_TEST AP2 1
       
   222 
       
   223 create VCXConnUtilTest VCXCONN
       
   224 VCXCONN Create
       
   225 VCXCONN GetIap DEST_TEST
       
   226 waittestclass VCXCONN
       
   227 Util WaitForConnectionActivity AP1
       
   228 waittestclass Util
       
   229 
       
   230 VCXCONN GetIap DEST_TEST
   230 VCXCONN GetIap DEST_TEST
   231 
   231 
   232 VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
   232 VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
   233 
   233 
   234 print OK!
   234 print OK!