videocollection/mpxmyvideoscollection/tsrc/ut_vcxmyvideosmdsdb/conf/VcxMyVideosMdsDbTest.cfg
branchRCL_3
changeset 57 befca0ec475f
equal deleted inserted replaced
56:839377eedc2b 57:befca0ec475f
       
     1 #BLOCKS#
       
     2 CreateL
       
     3 DeleteL
       
     4 CancelL
       
     5 AddVideoL
       
     6 RemoveVideoL
       
     7 UpdateVideoL
       
     8 CreateVideoListL
       
     9 DoCreateVideoListL
       
    10 CreateVideoL
       
    11 HandleQueryNewResultsL
       
    12 HandleQueryCompletedL
       
    13 AsyncHandleQueryCompletedL
       
    14 HandleSessionErrorL
       
    15 HandleObjectNotificationL
       
    16 HandleObjectPresentNotificationL
       
    17 ShutdownNotificationL
       
    18 
       
    19 [Test]
       
    20 title Create & delete
       
    21 create VcxMyVideosMdsDbTest test
       
    22 test CreateL
       
    23 test DeleteL
       
    24 delete test
       
    25 [Endtest]
       
    26 
       
    27 
       
    28 
       
    29 [Test]
       
    30 title Create mds fail
       
    31 create VcxMyVideosMdsDbTest test
       
    32 allownextresult -2
       
    33 test CreateL 1
       
    34 test DeleteL
       
    35 delete test
       
    36 [Endtest]
       
    37 
       
    38 [Test]
       
    39 title Create mds fail async
       
    40 create VcxMyVideosMdsDbTest test
       
    41 test CreateL 0 1
       
    42 test DeleteL
       
    43 delete test
       
    44 [Endtest]
       
    45 
       
    46 [Test]
       
    47 title Cancel
       
    48 create VcxMyVideosMdsDbTest test
       
    49 test CreateL
       
    50 loop 10
       
    51 test CancelL LOOP_COUNTER
       
    52 test DoCreateVideoListL 4
       
    53 test CancelL LOOP_COUNTER
       
    54 endloop
       
    55 test DeleteL
       
    56 delete test
       
    57 [Endtest]
       
    58 
       
    59 [Test]
       
    60 title AddVideoL
       
    61 create VcxMyVideosMdsDbTest test
       
    62 test CreateL
       
    63 test AddVideoL 0 0 0 0 0
       
    64 allownextresult -2
       
    65 test AddVideoL 0 -2 0 0 
       
    66 allownextresult -2
       
    67 test AddVideoL 1 0 0 0 0
       
    68 
       
    69 test AddVideoL 0 0 0 0 0 1 
       
    70 test AddVideoL 0 0 0 0 1 0
       
    71 test AddVideoL 0 0 0 0 1 1
       
    72 test AddVideoL 0 0 0 1 0 0
       
    73 test AddVideoL 0 0 0 1 0 1
       
    74 test AddVideoL 0 0 0 1 1 0
       
    75 test AddVideoL 0 0 0 1 1 1
       
    76 test AddVideoL 0 0 1 0 0 1
       
    77 test AddVideoL 0 0 1 0 1 0
       
    78 test AddVideoL 0 0 1 0 1 1
       
    79 test AddVideoL 0 0 1 1 0 0
       
    80 test AddVideoL 0 0 1 1 0 1
       
    81 test AddVideoL 0 0 1 1 1 0
       
    82 test AddVideoL 0 0 1 1 1 1
       
    83 test DeleteL
       
    84 delete test
       
    85 [Endtest]
       
    86 
       
    87 [Test]
       
    88 title RemoveVideoL
       
    89 create VcxMyVideosMdsDbTest test
       
    90 test CreateL
       
    91 test RemoveVideoL 0 0
       
    92 allownextresult -1
       
    93 test RemoveVideoL 1 0
       
    94 allownextresult -2
       
    95 test RemoveVideoL 0 -2
       
    96 test DeleteL
       
    97 delete test
       
    98 [Endtest]
       
    99 
       
   100 [Test]
       
   101 title UpdateVideoL
       
   102 create VcxMyVideosMdsDbTest test
       
   103 test CreateL
       
   104 test UpdateVideoL 0 0
       
   105 allownextresult -1
       
   106 test UpdateVideoL 1 0
       
   107 allownextresult -2
       
   108 test UpdateVideoL 0 -2
       
   109 allownextresult -14
       
   110 test UpdateVideoL 0 0 1
       
   111 test DeleteL
       
   112 delete test
       
   113 [Endtest]
       
   114 
       
   115 [Test]
       
   116 title CreateVideoL
       
   117 create VcxMyVideosMdsDbTest test
       
   118 test CreateL
       
   119 test CreateVideoL 0 0 1 2
       
   120 test CreateVideoL 1 0 1 3
       
   121 allownextresult -2
       
   122 test CreateVideoL 0 -2 1 4
       
   123 test CreateVideoL 0  0 0 5
       
   124 test CreateVideoL 0  0 0 0
       
   125 test DeleteL
       
   126 delete test
       
   127 [Endtest]
       
   128 
       
   129 [Test]
       
   130 title CreateVideoListL
       
   131 create VcxMyVideosMdsDbTest test
       
   132 test CreateL
       
   133 test CreateVideoListL
       
   134 test DeleteL
       
   135 delete test
       
   136 [Endtest]
       
   137 
       
   138 [Test]
       
   139 title DoCreateVideoListL
       
   140 create VcxMyVideosMdsDbTest test
       
   141 test CreateL
       
   142 loop 128
       
   143 test DoCreateVideoListL  LOOP_COUNTER
       
   144 test CancelL
       
   145 endloop
       
   146 test DeleteL
       
   147 delete test
       
   148 [Endtest]
       
   149 
       
   150 [Test]
       
   151 title HandleQueryNewResultsL
       
   152 create VcxMyVideosMdsDbTest test
       
   153 test CreateL
       
   154 test HandleQueryNewResultsL 0 0 0 
       
   155 test DoCreateVideoListL 0 1
       
   156 test HandleQueryNewResultsL 0 0 0 
       
   157 test HandleQueryNewResultsL 0 0 1 
       
   158 test HandleQueryNewResultsL 0 1 0
       
   159 test HandleQueryNewResultsL 0 1 1
       
   160 test HandleQueryNewResultsL 1 0 0 
       
   161 test HandleQueryNewResultsL 1 0 1 
       
   162 test HandleQueryNewResultsL 1 1 0
       
   163 test HandleQueryNewResultsL 1 1 1
       
   164 test HandleQueryNewResultsL 0 0 0 1
       
   165 test DeleteL
       
   166 delete test
       
   167 [Endtest]
       
   168 
       
   169 [Test]
       
   170 title HandleQueryCompletedL
       
   171 create VcxMyVideosMdsDbTest test
       
   172 test CreateL
       
   173 test HandleQueryCompletedL 0 0 
       
   174 test HandleQueryCompletedL 0 1
       
   175 test HandleQueryCompletedL 1 0
       
   176 test HandleQueryCompletedL 1 1 
       
   177 test DoCreateVideoListL 0 1
       
   178 test HandleQueryCompletedL 0 0 
       
   179 test HandleQueryCompletedL 0 1
       
   180 test HandleQueryCompletedL 1 0
       
   181 test HandleQueryCompletedL 1 1 
       
   182 test DeleteL
       
   183 delete test
       
   184 [Endtest]
       
   185 
       
   186 [Test]
       
   187 title AsyncHandleQueryCompletedL
       
   188 create VcxMyVideosMdsDbTest test
       
   189 test CreateL
       
   190 test AsyncHandleQueryCompletedL 0 0 
       
   191 test AsyncHandleQueryCompletedL 0 1
       
   192 test AsyncHandleQueryCompletedL 1 0
       
   193 test AsyncHandleQueryCompletedL 1 1 
       
   194 test DoCreateVideoListL 0 1
       
   195 test AsyncHandleQueryCompletedL 0 0 
       
   196 test AsyncHandleQueryCompletedL 0 1
       
   197 test AsyncHandleQueryCompletedL 1 0
       
   198 test AsyncHandleQueryCompletedL 1 1 
       
   199 test DeleteL
       
   200 delete test
       
   201 [Endtest]
       
   202 
       
   203 [Test]
       
   204 title HandleSessionErrorL
       
   205 create VcxMyVideosMdsDbTest test
       
   206 test CreateL
       
   207 test HandleSessionErrorL 0
       
   208 test HandleSessionErrorL 1
       
   209 test DeleteL
       
   210 delete test
       
   211 [Endtest]
       
   212 
       
   213 [Test]
       
   214 title HandleObjectNotificationL
       
   215 create VcxMyVideosMdsDbTest test
       
   216 test CreateL
       
   217 loop 10
       
   218 test HandleObjectNotificationL LOOP_COUNTER
       
   219 endloop
       
   220 test HandleObjectNotificationL 1 1
       
   221 test DeleteL
       
   222 delete test
       
   223 [Endtest]
       
   224 
       
   225 [Test]
       
   226 title HandleObjectPresentNotification
       
   227 create VcxMyVideosMdsDbTest test
       
   228 test CreateL
       
   229 test HandleObjectPresentNotification 0
       
   230 test HandleObjectPresentNotification 1
       
   231 test HandleObjectPresentNotification 0 1
       
   232 test DeleteL
       
   233 delete test
       
   234 [Endtest]
       
   235 
       
   236 [Test]
       
   237 title ShutdownNotificationL
       
   238 create VcxMyVideosMdsDbTest test
       
   239 test CreateL
       
   240 test ShutdownNotificationL 0
       
   241 test ShutdownNotificationL 1
       
   242 test ShutdownNotificationL 2
       
   243 test DeleteL
       
   244 delete test
       
   245 [Endtest]
       
   246 
       
   247 [Test]
       
   248 title MdsServerTerminated
       
   249 create VcxMyVideosMdsDbTest test
       
   250 test CreateL
       
   251 test ShutdownNotificationL 1
       
   252 allownextresult -15
       
   253 test AddVideoL 4
       
   254 test DeleteL
       
   255 delete test
       
   256 [Endtest]