videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestDb.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 [Enddefine]
       
    17 
       
    18 #------------------------------------------------------------------------------------
       
    19 #
       
    20 # Setup services in service database and delete the EPG db.
       
    21 #
       
    22 #------------------------------------------------------------------------------------
       
    23 [Test]
       
    24 title ET11599 <not a test> Setup database test services
       
    25 
       
    26 create VCXTestUtilModule Util
       
    27 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    28 Util CopyMethod "Internet" "Internet" "Internet"
       
    29 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    30 Util SetUsedDestination DEFAULT_DEST
       
    31 // Disable connection dialog for "Internet" destination.
       
    32 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    33 delete Util
       
    34 
       
    35 pause PAUSE
       
    36 create VCXServiceManagementApiTest ServUtil
       
    37 ServUtil Create
       
    38 ServUtil DeleteAllServices SYNC
       
    39 ServUtil AddHardCodedService 	ASYNC SERVICE_0 	3G_AP 1 0  	// OOPS
       
    40 ServUtil Destroy
       
    41 delete ServUtil
       
    42 pause 3000
       
    43 [Endtest]
       
    44 
       
    45 #------------------------------------------------------------------------------------
       
    46 #
       
    47 # Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
       
    48 #
       
    49 #------------------------------------------------------------------------------------
       
    50 [Test]
       
    51 title ET11500 GetEcgList DB is empty / does not existcreate
       
    52 create VCXTestUtilModule Util
       
    53 Util CreateMobilecrashWatcher
       
    54 create VCXVodContentApiTest test
       
    55 test DeleteEpgDb
       
    56 test Create SERVICE_0
       
    57 test SelectIap 3G_AP
       
    58 test GetEcgList 1 "" 0 10
       
    59 waittestclass test
       
    60 test GetEcgList 1 "" 0 10
       
    61 test Destroy
       
    62 delete test
       
    63 Util CheckMobilecrashes
       
    64 delete Util
       
    65 [Endtest]
       
    66 
       
    67 #------------------------------------------------------------------------------------
       
    68 #
       
    69 # Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
       
    70 #
       
    71 #------------------------------------------------------------------------------------
       
    72 [Test]
       
    73 title ET11501 EcgCategoryList DB is empty / does not exist
       
    74 create VCXTestUtilModule Util
       
    75 Util CreateMobilecrashWatcher
       
    76 create VCXVodContentApiTest test
       
    77 test DeleteEpgDb
       
    78 test Create SERVICE_0
       
    79 test SelectIap 3G_AP
       
    80 test EcgCategoryList 0
       
    81 waittestclass test
       
    82 test EcgCategoryList 0
       
    83 test Destroy
       
    84 delete test
       
    85 Util CheckMobilecrashes
       
    86 delete Util
       
    87 [Endtest]
       
    88 
       
    89 #------------------------------------------------------------------------------------
       
    90 #
       
    91 # Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
       
    92 #
       
    93 #------------------------------------------------------------------------------------
       
    94 [Test]
       
    95 title ET11502 EcgEcgAllList DB is empty / does not exist
       
    96 create VCXTestUtilModule Util
       
    97 Util CreateMobilecrashWatcher
       
    98 create VCXVodContentApiTest test
       
    99 test DeleteEpgDb
       
   100 test Create SERVICE_0
       
   101 test SelectIap 3G_AP
       
   102 test EcgEcgAllList "" 0 5
       
   103 waittestclass test
       
   104 test ContentDetailsList 0
       
   105 test Destroy
       
   106 delete test
       
   107 Util CheckMobilecrashes
       
   108 delete Util
       
   109 [Endtest]
       
   110 
       
   111 #------------------------------------------------------------------------------------
       
   112 #
       
   113 # Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
       
   114 #
       
   115 #------------------------------------------------------------------------------------
       
   116 [Test]
       
   117 title ET11503 CategoryDetails DB is empty / does not exist
       
   118 create VCXTestUtilModule Util
       
   119 Util CreateMobilecrashWatcher
       
   120 create VCXVodContentApiTest test
       
   121 test DeleteEpgDb
       
   122 test Create SERVICE_0
       
   123 test SelectIap 3G_AP
       
   124 // this starts ecg update
       
   125 test CategoryDetails 1
       
   126 waittestclass test
       
   127 test CategoryDetails 1
       
   128 test Destroy
       
   129 delete test
       
   130 Util CheckMobilecrashes
       
   131 delete Util
       
   132 [Endtest]
       
   133 
       
   134 #------------------------------------------------------------------------------------
       
   135 #
       
   136 # Check that CIptvVodContentClient returns parentCategoryId correctly
       
   137 #
       
   138 #------------------------------------------------------------------------------------
       
   139 [Test]
       
   140 title ET11504 ParentCategory DB is empty / does not exist
       
   141 create VCXTestUtilModule Util
       
   142 Util CreateMobilecrashWatcher
       
   143 create VCXVodContentApiTest test
       
   144 test DeleteEpgDb
       
   145 test Create SERVICE_0
       
   146 test SelectIap 3G_AP
       
   147 test ParentCategory 0
       
   148 waittestclass test
       
   149 test ParentCategory 0
       
   150 test Destroy
       
   151 delete test
       
   152 Util CheckMobilecrashes
       
   153 delete Util
       
   154 [Endtest]
       
   155 
       
   156 #------------------------------------------------------------------------------------
       
   157 #
       
   158 # Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
       
   159 #
       
   160 #------------------------------------------------------------------------------------
       
   161 [Test]
       
   162 title ET11505 ContentDetailsList DB is empty / does not exist
       
   163 create VCXTestUtilModule Util
       
   164 Util CreateMobilecrashWatcher
       
   165 create VCXVodContentApiTest test
       
   166 test DeleteEpgDb
       
   167 test Create SERVICE_0
       
   168 test SelectIap 3G_AP
       
   169 // this will start ecg update
       
   170 test ContentDetailsList 0
       
   171 waittestclass test
       
   172 test ContentDetailsList 0
       
   173 test Destroy
       
   174 delete test
       
   175 Util CheckMobilecrashes
       
   176 delete Util
       
   177 [Endtest]
       
   178 
       
   179 #------------------------------------------------------------------------------------
       
   180 #
       
   181 # Test CIptvVodContentClient::SetLastPositionL
       
   182 #------------------------------------------------------------------------------------
       
   183 [Test]
       
   184 title ET11506 SetLastPosition DB is empty / does not exist
       
   185 create VCXTestUtilModule Util
       
   186 Util CreateMobilecrashWatcher
       
   187 pause PAUSE
       
   188 create VCXVodContentApiTest test
       
   189 test DeleteEpgDb
       
   190 test Create SERVICE_0
       
   191 test SetLastPosition 0 0 0
       
   192 test Destroy
       
   193 delete test
       
   194 Util CheckMobilecrashes
       
   195 delete Util
       
   196 [Endtest]