serviceproviders/sapi_contacts_vpbk/tsrc/dev/tcontactsgetidsprovidertest/conf/tcontactsgetidsprovidertest.cfg
changeset 24 f4292e0e20df
parent 22 fc9cf246af83
equal deleted inserted replaced
23:5c0037c72160 24:f4292e0e20df
    34 
    34 
    35 */
    35 */
    36 
    36 
    37 ############################################### Test cases starts ###############################################
    37 ############################################### Test cases starts ###############################################
    38 
    38 
       
    39 
       
    40 [Test]
       
    41 title AddContactAndGrps
       
    42 create tcontactsgetidsprovidertest foobar
       
    43 foobar AddContactAndGrp 0
       
    44 delete foobar
       
    45 [Endtest]
       
    46 
       
    47 
       
    48 
    39 //Get the ids without passing any input
    49 //Get the ids without passing any input
    40 //Input: No input. Note here NULL value refers to nothing being passed
    50 //Input: No input. Note here NULL value refers to nothing being passed
    41 //Expected: errorcode 1003-MissingArgument error is expected as Type input is mandatory
    51 //Expected: errorcode 1003-MissingArgument error is expected as Type input is mandatory
    42 [Test]
    52 [Test]
    43 title GetIdsNoInput
    53 title GetIdsNoInput
   192 //getids with a huge string with more than 255 characters as value for DBUri
   202 //getids with a huge string with more than 255 characters as value for DBUri
   193 //Expected: 1002-BadArgumentType as errorcode
   203 //Expected: 1002-BadArgumentType as errorcode
   194 [Test]
   204 [Test]
   195 title GetIdsHugeStringDBUri
   205 title GetIdsHugeStringDBUri
   196 create tcontactsgetidsprovidertest foobar
   206 create tcontactsgetidsprovidertest foobar
   197 foobar GetIdsL Contact abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz  NULL NULL 1002 
   207 foobar GetIdsL Contact abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz  NULL NULL 1014 
   198 delete foobar
   208 delete foobar
   199 [Endtest]
   209 [Endtest]
   200 
   210 
   201 //getids with a valid string value for searchval and Type as Contact and cntdb://c:contacts.cdb as DBUri
   211 //getids with a valid string value for searchval and Type as Contact and cntdb://c:contacts.cdb as DBUri
   202 //Expected: zero errorcode
   212 //Expected: zero errorcode