videofeeds/server/tsrc/VCXServiceManagementApiTest/conf/VCXServiceManagementApiTestAsyncR3.cfg
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 #***********************************************************************************
       
     2 #
       
     3 # STIF test script file for testing service management client API.
       
     4 #
       
     5 #***********************************************************************************
       
     6 
       
     7 [StifSettings]
       
     8 CapsModifier= IptvTestClientApiCapsMod.exe
       
     9 [EndStifSettings]
       
    10 
       
    11 [Define]
       
    12 INCLUDE c:\testframework\VCXConsts.inc
       
    13 INCLUDE c:\testframework\VCXServiceManagementApiTest.inc
       
    14 INCLUDE c:\testframework\VCXServiceUpdating.inc
       
    15 INCLUDE c:\testframework\VCXServiceNames.inc
       
    16 INCLUDE c:\testframework\VCXErrors.inc
       
    17 [Enddefine]
       
    18 
       
    19 #------------------------------------------------------------------------------------
       
    20 #
       
    21 # Setup case. Test adding a service.
       
    22 #
       
    23 #------------------------------------------------------------------------------------
       
    24 [Test]
       
    25 title ET08300 Add valid hardcoded service_0 ASYNC
       
    26 pause PAUSE
       
    27 create VCXServiceManagementApiTest IptvTest
       
    28 IptvTest Create
       
    29 IptvTest DeleteAllServices SYNC
       
    30 IptvTest AddHardCodedService ASYNC SERVICE_0 2 1 0
       
    31 IptvTest Destroy
       
    32 delete IptvTest
       
    33 [Endtest]
       
    34 
       
    35 #------------------------------------------------------------------------------------
       
    36 #
       
    37 # Test that updating a service scheduled download time works.
       
    38 #
       
    39 #------------------------------------------------------------------------------------
       
    40 [Test]
       
    41 title ET08301 Update service scheduled dl time ASYNC
       
    42 pause PAUSE
       
    43 create VCXServiceManagementApiTest IptvTest
       
    44 IptvTest Create
       
    45 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlTime ENoon
       
    46 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlTime ENoSchedule
       
    47 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlTime ENoon ENight EEvening
       
    48 IptvTest GetServices ASYNC 0 2
       
    49 IptvTest Destroy
       
    50 delete IptvTest
       
    51 [Endtest]
       
    52 
       
    53 #------------------------------------------------------------------------------------
       
    54 #
       
    55 # Test that updating a service scheduled download network works.
       
    56 #
       
    57 #------------------------------------------------------------------------------------
       
    58 [Test]
       
    59 title ET08302 Update service scheduled dl network ASYNC
       
    60 pause PAUSE
       
    61 create VCXServiceManagementApiTest IptvTest
       
    62 IptvTest Create
       
    63 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlNetwork EWLAN
       
    64 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlNetwork EAlways
       
    65 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlNetwork EManual
       
    66 IptvTest GetServices ASYNC 0 2
       
    67 IptvTest Destroy
       
    68 delete IptvTest
       
    69 [Endtest]
       
    70 
       
    71 #------------------------------------------------------------------------------------
       
    72 #
       
    73 # Test that updating a service scheduled download type works.
       
    74 #
       
    75 #------------------------------------------------------------------------------------
       
    76 [Test]
       
    77 title ET08303 Update service scheduled dl - all ASYNC
       
    78 pause PAUSE
       
    79 create VCXServiceManagementApiTest IptvTest
       
    80 IptvTest Create
       
    81 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestDownloadAll 5
       
    82 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestNoDownload 5
       
    83 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestDownloadLatest 5
       
    84 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestDownloadOldest 5
       
    85 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestDownloadAddedAfterLastScheduledDownload 5
       
    86 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleDlType EIptvTestNoDownload 5
       
    87 IptvTest GetServices ASYNC 0 2
       
    88 IptvTest Destroy
       
    89 delete IptvTest
       
    90 [Endtest]
       
    91 
       
    92 #------------------------------------------------------------------------------------
       
    93 #
       
    94 # Test updating a service scheduled last download time.
       
    95 #
       
    96 #------------------------------------------------------------------------------------
       
    97 [Test]
       
    98 title ET08304 Update service last schedule download time ASYNC
       
    99 pause PAUSE
       
   100 create VCXServiceManagementApiTest IptvTest
       
   101 IptvTest Create
       
   102 IptvTest UpdateServiceField ASYNC SERVICE_0 EScheduleLastDlTime
       
   103 IptvTest GetServices ASYNC 0 2
       
   104 IptvTest Destroy
       
   105 delete IptvTest
       
   106 [Endtest]
       
   107 
       
   108 #------------------------------------------------------------------------------------
       
   109 #
       
   110 # Test that updating a service scheduled download time works.
       
   111 #
       
   112 #------------------------------------------------------------------------------------
       
   113 [Test]
       
   114 title ET08305 Update service scheduled dl time SYNC
       
   115 pause PAUSE
       
   116 create VCXServiceManagementApiTest IptvTest
       
   117 IptvTest Create
       
   118 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlTime ENoon
       
   119 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlTime ENoSchedule
       
   120 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlTime ENoon ENight EEvening
       
   121 IptvTest GetServices SYNC 0 2
       
   122 IptvTest Destroy
       
   123 delete IptvTest
       
   124 [Endtest]
       
   125 
       
   126 #------------------------------------------------------------------------------------
       
   127 #
       
   128 # Test that updating a service scheduled download network works.
       
   129 #
       
   130 #------------------------------------------------------------------------------------
       
   131 [Test]
       
   132 title ET08306 Update service scheduled dl network SYNC
       
   133 pause PAUSE
       
   134 create VCXServiceManagementApiTest IptvTest
       
   135 IptvTest Create
       
   136 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlNetwork EWLAN
       
   137 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlNetwork EAlways
       
   138 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlNetwork EManual
       
   139 IptvTest GetServices SYNC 0 2
       
   140 IptvTest Destroy
       
   141 delete IptvTest
       
   142 [Endtest]
       
   143 
       
   144 #------------------------------------------------------------------------------------
       
   145 #
       
   146 # Test that updating a service scheduled download type works.
       
   147 #
       
   148 #------------------------------------------------------------------------------------
       
   149 [Test]
       
   150 title ET08307 Update service scheduled dl - all SYNC
       
   151 pause PAUSE
       
   152 create VCXServiceManagementApiTest IptvTest
       
   153 IptvTest Create
       
   154 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestDownloadAll 5
       
   155 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestNoDownload 5
       
   156 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestDownloadLatest 5
       
   157 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestDownloadOldest 5
       
   158 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestDownloadAddedAfterLastScheduledDownload 5
       
   159 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleDlType EIptvTestNoDownload 5
       
   160 IptvTest GetServices SYNC 0 2
       
   161 IptvTest Destroy
       
   162 delete IptvTest
       
   163 [Endtest]
       
   164 
       
   165 #------------------------------------------------------------------------------------
       
   166 #
       
   167 # Test updating a service scheduled last download time.
       
   168 #
       
   169 #------------------------------------------------------------------------------------
       
   170 [Test]
       
   171 title ET08308 Update service last schedule download time SYNC
       
   172 pause PAUSE
       
   173 create VCXServiceManagementApiTest IptvTest
       
   174 IptvTest Create
       
   175 IptvTest UpdateServiceField SYNC SERVICE_0 EScheduleLastDlTime
       
   176 IptvTest GetServices SYNC 0 2
       
   177 IptvTest Destroy
       
   178 delete IptvTest
       
   179 [Endtest]