videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestMimeTypes.cfg
changeset 0 96612d01cf9f
child 1 6711b85517b7
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 #***********************************************************************************
       
     2 #
       
     3 # STIF test script file for testing VOD content 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\VCXErrors.inc
       
    14 INCLUDE c:\testframework\VCXVodContentApiTest.inc
       
    15 INCLUDE c:\testframework\VCXServiceNames.inc
       
    16 INCLUDE c:\testframework\VCXServiceUpdating.inc
       
    17 [Enddefine]
       
    18 
       
    19 #------------------------------------------------------------------------------------
       
    20 #
       
    21 # Setup services in service database and delete the EPG db.
       
    22 #
       
    23 #------------------------------------------------------------------------------------
       
    24 [Test]
       
    25 title ET11799 <not a test> Setup mime type test services
       
    26 
       
    27 create VCXTestUtilModule Util
       
    28 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    29 Util CopyMethod "Internet" "Internet" "Internet"
       
    30 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    31 Util SetUsedDestination DEFAULT_DEST
       
    32 // Disable connection dialog for "Internet" destination.
       
    33 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    34 delete Util
       
    35 
       
    36 pause PAUSE
       
    37 create VCXServiceManagementApiTest ServUtil
       
    38 ServUtil Create
       
    39 ServUtil DeleteAllServices SYNC
       
    40 
       
    41 // EXTRA_SERVICE_9 is reserved for cases to change it's address at will
       
    42 
       
    43 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    44 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/multiurl.xml"
       
    45 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_1
       
    46 
       
    47 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    48 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/allmimetypes.xml"
       
    49 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_2
       
    50 
       
    51 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    52 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/allmimetypes_stream.xml"
       
    53 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_3
       
    54 
       
    55 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    56 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/general.xml"
       
    57 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_4
       
    58 
       
    59 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    60 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/general_stream.xml"
       
    61 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_5
       
    62 
       
    63 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    64 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/general_wmv.xml"
       
    65 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_6
       
    66 
       
    67 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10
       
    68 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/mediagroup.xml"
       
    69 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_7
       
    70 
       
    71 ServUtil GetServices 0 0 500
       
    72 
       
    73 ServUtil Destroy
       
    74 delete ServUtil
       
    75 pause 3000
       
    76 [Endtest]
       
    77 
       
    78 #------------------------------------------------------------------------------------
       
    79 #
       
    80 # Test updating ECG with XML which has multiple URLs for one content. MRSS extensions are used in XML.
       
    81 #
       
    82 #------------------------------------------------------------------------------------
       
    83 [Test]
       
    84 title ET11700 Service with MRSS extensions
       
    85 create VCXTestUtilModule Util
       
    86 Util CreateMobilecrashWatcher
       
    87 pause PAUSE
       
    88 create VCXVodContentApiTest test
       
    89 test Create EXTRA_SERVICE_1
       
    90 test SelectIap 3G_AP
       
    91 test UpdateEcg
       
    92 waittestclass test
       
    93 test EnableVerifying ET11700
       
    94 test VerifyAllCategoryContent 0
       
    95 test Verify ET11700
       
    96 test Destroy
       
    97 delete test
       
    98 Util CheckMobilecrashes
       
    99 delete Util
       
   100 [Endtest]
       
   101 
       
   102 #------------------------------------------------------------------------------------
       
   103 #
       
   104 # Test updating ECG with service where is videos for all known mime types.
       
   105 #
       
   106 #------------------------------------------------------------------------------------
       
   107 [Test]
       
   108 title ET11701 Service with all known mime types
       
   109 create VCXTestUtilModule Util
       
   110 Util CreateMobilecrashWatcher
       
   111 pause PAUSE
       
   112 create VCXVodContentApiTest test
       
   113 test Create EXTRA_SERVICE_2
       
   114 test SelectIap 3G_AP
       
   115 test UpdateEcg
       
   116 waittestclass test
       
   117 test EnableVerifying ET11701
       
   118 test VerifyAllCategoryContent 0
       
   119 test Verify ET11701
       
   120 test Destroy
       
   121 delete test
       
   122 Util CheckMobilecrashes
       
   123 delete Util
       
   124 [Endtest]
       
   125 
       
   126 #------------------------------------------------------------------------------------
       
   127 #
       
   128 # Test updating ECG with service where is videos for all known mime types and videos are streams.
       
   129 #
       
   130 #------------------------------------------------------------------------------------
       
   131 [Test]
       
   132 title ET11702 Service with all known mime types (streams)
       
   133 create VCXTestUtilModule Util
       
   134 Util CreateMobilecrashWatcher
       
   135 pause PAUSE
       
   136 create VCXVodContentApiTest test
       
   137 test Create EXTRA_SERVICE_3
       
   138 test SelectIap 3G_AP
       
   139 test UpdateEcg
       
   140 waittestclass test
       
   141 test EnableVerifying ET11702
       
   142 test VerifyAllCategoryContent 0
       
   143 test Verify ET11702
       
   144 test Destroy
       
   145 delete test
       
   146 Util CheckMobilecrashes
       
   147 delete Util
       
   148 [Endtest]
       
   149 
       
   150 #------------------------------------------------------------------------------------
       
   151 #
       
   152 # Test updating ECG with service where is enclosure and media group contain video with different mime types.
       
   153 #
       
   154 #------------------------------------------------------------------------------------
       
   155 [Test]
       
   156 title ET11703 Video in both enclosure and media group with different mime types
       
   157 create VCXTestUtilModule Util
       
   158 Util CreateMobilecrashWatcher
       
   159 pause PAUSE
       
   160 create VCXVodContentApiTest test
       
   161 test Create EXTRA_SERVICE_4
       
   162 test SelectIap 3G_AP
       
   163 test UpdateEcg
       
   164 waittestclass test
       
   165 test EnableVerifying ET11703
       
   166 test VerifyAllCategoryContent 0
       
   167 test Verify ET11703
       
   168 test Destroy
       
   169 delete test
       
   170 Util CheckMobilecrashes
       
   171 delete Util
       
   172 [Endtest]
       
   173 
       
   174 #------------------------------------------------------------------------------------
       
   175 #
       
   176 # Test updating ECG with service where is enclosure and media group contain stream with different mime types.
       
   177 #
       
   178 #------------------------------------------------------------------------------------
       
   179 [Test]
       
   180 title ET11704 Stream in both enclosure and media group with different mime types
       
   181 create VCXTestUtilModule Util
       
   182 Util CreateMobilecrashWatcher
       
   183 pause PAUSE
       
   184 create VCXVodContentApiTest test
       
   185 test Create EXTRA_SERVICE_5
       
   186 test SelectIap 3G_AP
       
   187 test UpdateEcg
       
   188 waittestclass test
       
   189 test EnableVerifying ET11704
       
   190 test VerifyAllCategoryContent 0
       
   191 test Verify ET11704
       
   192 test Destroy
       
   193 delete test
       
   194 Util CheckMobilecrashes
       
   195 delete Util
       
   196 [Endtest]
       
   197 
       
   198 #------------------------------------------------------------------------------------
       
   199 #
       
   200 # Test updating ECG with service where is enclosure and media group contain stream with different mime types.
       
   201 #
       
   202 #------------------------------------------------------------------------------------
       
   203 [Test]
       
   204 title ET11705 WMV, video or stream in both enclosure and media group with different mime types
       
   205 create VCXTestUtilModule Util
       
   206 Util CreateMobilecrashWatcher
       
   207 pause PAUSE
       
   208 create VCXVodContentApiTest test
       
   209 test Create EXTRA_SERVICE_6
       
   210 test SelectIap 3G_AP
       
   211 test UpdateEcg
       
   212 waittestclass test
       
   213 test EnableVerifying ET11705
       
   214 test VerifyAllCategoryContent 0
       
   215 test Verify ET11705
       
   216 test Destroy
       
   217 delete test
       
   218 Util CheckMobilecrashes
       
   219 delete Util
       
   220 [Endtest]
       
   221 
       
   222 #------------------------------------------------------------------------------------
       
   223 #
       
   224 # Test updating ECG with service where enclosure and media group contain videos or streams with different mime types.
       
   225 #
       
   226 #------------------------------------------------------------------------------------
       
   227 [Test]
       
   228 title ET11706 Video or stream in enclosure and 3 videos or streams in media group with different mime types
       
   229 create VCXTestUtilModule Util
       
   230 Util CreateMobilecrashWatcher
       
   231 pause PAUSE
       
   232 create VCXVodContentApiTest test
       
   233 test Create EXTRA_SERVICE_7
       
   234 test SelectIap 3G_AP
       
   235 test UpdateEcg
       
   236 waittestclass test
       
   237 test EnableVerifying ET11706
       
   238 test VerifyAllCategoryContent 0
       
   239 test Verify ET11706
       
   240 test Destroy
       
   241 delete test
       
   242 Util CheckMobilecrashes
       
   243 delete Util
       
   244 [Endtest]