tsrc/conf/sapi_batcases.cfg
changeset 0 14df0fbfcc4e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tsrc/conf/sapi_batcases.cfg	Mon Mar 30 12:51:10 2009 +0300
@@ -0,0 +1,842 @@
+//  ===========================================================================
+//  Copyright © 2005-2006 Nokia Corporation.
+//  This material, including documentation and any related
+//  computer programs, is protected by copyright controlled by
+//  Nokia Corporation. All rights are reserved. Copying,
+//  including reproducing, storing, adapting or translating, any
+//  or all of this material requires the prior written consent of
+//  Nokia Corporation. This material also contains confidential
+//  information which may not be disclosed to others without the
+//  prior written consent of Nokia Corporation.
+// ============================================================================
+//
+
+[Test]
+title  MG_GetFilesInfo_Music_MimeType_audio/mpeg_MimeType_Ascending_0
+create tmediamgmtprovidertest foobar
+foobar InterfaceClass GetList FileInfo Music MimeType audio/mpeg NULL MimeType Ascending 0 0
+delete foobar
+[Endtest]
+
+[Test]
+title  MG_GetFilesInfo_Video_NULL_NULL_NULL_FileName_Ascending_0
+create tmediamgmtprovidertest foobar
+foobar InterfaceClass GetList FileInfo Video NULL NULL NULL FileName Ascending 0 0
+delete foobar
+[Endtest]
+
+[Test]
+title  MG_GetFilesInfo_StreamingURL_FileDate_20070220:_20070323:_NULL_Ascending_0
+create tmediamgmtprovidertest foobar
+foobar InterfaceClass GetList FileInfo StreamingURL FileDate 20070220: 20070323: NULL Ascending 0 0
+delete foobar
+[Endtest]
+
+[Test]
+title  MG_GetFilesInfo_Image_FileSize_0_1100000_FileName_Ascending_0
+create tmediamgmtprovidertest foobar
+foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 0 0
+delete foobar
+[Endtest]
+
+[Test]
+title AddLandmark test
+create tlmlandmarktests foobar
+foobar AddLandmark 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title RemoveLandmark test
+create tlmlandmarktests foobar
+foobar RemoveLandmark 
+delete foobar
+[Endtest]
+
+[Test]
+title ImportLandmark test
+create tlmlandmarktests foobar
+foobar ImportLandmark 
+delete foobar
+[Endtest]
+
+[Test]
+title ExportLandmark test
+create tlmlandmarktests foobar
+foobar ExportLandmark 
+delete foobar
+[Endtest]
+
+[Test]
+title getlistasynctest1 test
+create tlmlandmarktests foobar
+foobar getlistasynctest1 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title AddDatabase test
+create Tlmdatabasetests foobar
+foobar AddDatabase 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title AddCategory test
+create tlmcategorytests foobar
+foobar AddCategory 
+delete foobar
+[Endtest]
+
+[Test]
+title RemoveCategory test
+create tlmcategorytests foobar
+foobar RemoveCategory 
+delete foobar
+[Endtest]
+
+
+[Test]
+title categorygetlistsync test
+create tlmcategorytests foobar
+foobar categorygetlistsync 
+delete foobar
+[Endtest] 
+
+[Test]
+title AddLandmark test
+create TLandmarkProvider foobar
+foobar AddLandmark 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title AddLandmarkDb test
+create TLandmarkProvider foobar
+foobar AddLandmarkDb 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title AddLandmarkPos test
+create TLandmarkProvider foobar
+foobar AddLandmarkPos 
+delete foobar
+[Endtest]
+
+[Test]
+title AddCategory test
+create tlmprovidercategorytests foobar
+foobar AddCategory 
+delete foobar
+[Endtest] 
+
+[Test]
+title CreateLocObjWSer
+create TSAPILocTest obj
+obj CreateLocObjWSer
+delete obj
+[Endtest] 
+
+[Test]
+title GetPosition
+create TSAPILocTest obj
+obj GetPosition
+delete obj
+[Endtest] 
+
+
+[Test]
+title GetPositionAsync
+create TSAPILocTest obj
+obj GetPositionAsync
+delete obj
+[Endtest] 
+
+
+[Test]
+title TraceLPosition
+create TSAPILocTest obj
+obj TraceLPosition
+delete obj
+[Endtest]
+
+[Test]
+title CancelService1
+create TSAPILocTest obj
+obj CancelService1
+delete obj
+[Endtest]
+
+[Test]
+title GetDistance
+create TSAPILocTest obj
+obj GetDistance
+delete obj
+[Endtest]
+
+
+[Test]
+title GetBearing
+create TSAPILocTest obj
+obj GetBearing
+delete obj
+[Endtest]
+
+
+[Test]
+title Move1
+create TSAPILocTest obj
+obj Move1
+delete obj
+[Endtest]
+
+[Test]
+title GetLocation Synchronous test
+create tlocationprovidertest foobar
+foobar GetLocation 
+delete foobar
+[Endtest] 
+
+[Test]
+title Trace test
+create tlocationprovidertest foobar
+foobar LocationUpdates 
+delete foobar
+[Endtest] 
+
+[Test]
+title asynchronous getlocation
+create tlocationprovidertest foobar
+foobar GetLocationAsynch
+delete foobar
+[Endtest] 
+
+[Test]
+title MathOperation Bearing Test
+create tlocationprovidertest foobar
+foobar BearingToTest
+delete foobar
+[Endtest]
+
+[Test]
+title MathOperationFindDistanceTest
+create tlocationprovidertest foobar
+foobar FindDistance 
+delete foobar
+[Endtest]
+
+[Test]
+title FindDistancewithPositionParsing
+create tlocationprovidertest foobar
+foobar FindDistanceAgain 
+delete foobar
+[Endtest]
+
+[Test]
+title  MathOperation MoveCoordinates Test
+create tlocationprovidertest foobar
+foobar MoveCoordinates 
+delete foobar
+[Endtest]
+
+// GET_HEADER_MESSAGE
+// message-id   fromarray  subject  sort-type  uid-type  start-date  end-date  
+
+[Test]
+title header with NULL filter
+create get_header_message foobar
+foobar test_1  0  NULL  NULL  0  NULL  0  0         nokia  testing  mms  wr  pic
+delete foobar
+[Endtest] 
+
+
+[Test]
+title header with valid sort
+create get_header_message foobar
+foobar test_1  0  NULL  NULL  10  NULL  0  0               mms  testing  nokia  pic  wr
+delete foobar
+[Endtest]
+
+
+[Test]
+title header with valid uid (sms)
+create get_header_message foobar
+foobar test_1  0  NULL  NULL  0  SMS  MtmEnd  0  0         nokia  testing  mms
+delete foobar
+[Endtest]
+
+
+[Test]
+title header with valid messageid, fromarray
+create get_header_message foobar
+foobar test_1  1  9  AddrEnd NULL  0  NULL  0  0         nokia
+delete foobar
+[Endtest]
+
+
+[Test]
+title header with valid messageid, fromarray, subject
+create get_header_message foobar
+foobar test_1  1  9  AddrEnd  nokia  0  NULL  0  0         nokia  pic
+delete foobar
+[Endtest]
+
+
+[Test]
+title header with valid uidtype, fromarray, subject
+create get_header_message foobar
+foobar test_1  0  9  AddrEnd  nokia  0  SMS  MtmEnd  0  0         nokia  pic
+delete foobar
+[Endtest]
+
+
+
+// CHANGE_STATUS_MESSAGE
+
+[Test]
+title valid unread
+create change_status_message foobar
+foobar test_1  1  0  1 
+delete foobar
+[Endtest] 
+
+
+[Test]
+title no valid unread
+create change_status_message foobar
+foobar test_1  1  0  0 
+delete foobar
+[Endtest]
+
+
+
+// SEND_MESSAGE
+// address  type  subject  body  flag  templateid  editor
+
+[Test]
+title MMS with valid address,subject,body,attach(image)
+create send_message foobar
+foobar test_1  9008032761  AddrEnd  MMS  hi  nok  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        hi  9008032761   
+delete foobar
+[Endtest]
+
+
+[Test]
+title MMS with valid address,attach(image, music)
+create send_message foobar
+foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  2  C:\Data\Images\ant.jpg   image/jpeg  C:\Data\Sounds\Digital\dhoom2whis192701.mp3   sound/mp3  0  0        NULL  9008032761   
+delete foobar
+[Endtest]
+
+
+[Test]
+title SMS with valid address
+create send_message foobar
+foobar test_1  9008032761  AddrEnd SMS  NULL  NULL  0  0  0        NULL  9008032761  
+delete foobar
+[Endtest] 
+
+
+[Test]
+title SMS with valid address, body, launch editor 
+create send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokltd  0  0  1        nokltd 9008032761  
+delete foobar
+[Endtest]
+
+
+[Test]
+title SMS with valid addr, body ,valid template id
+create send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokltd  0  1  0        nokia  9008032761  
+delete foobar
+[Endtest]
+
+
+[Test]
+title SMS with valid addr, body, launch editor, valid template id 
+create send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokltd  0  1  1         nokia  9008032761  
+delete foobar
+[Endtest]
+
+
+
+// ASYNC_SEND_MESSAGE
+
+[Test]
+title  MMS with valid address, subject ,body ,attachments (image)
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  MMS  hi  nok  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        0  hi  9008032761   
+delete foobar
+[Endtest]
+
+
+[Test]
+title  MMS with valid address, attachments (image, music)
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  2  C:\Data\Images\ant.jpg   image/jpeg  C:\Data\Sounds\Digital\dhoom2whis192701.mp3   sound/mp3  0  0       0  NULL  9008032761  
+delete foobar
+[Endtest]
+
+
+[Test]
+title  sms with valid addr, cancel 
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  NULL  0  0  0    1  -3  1
+delete foobar
+[Endtest]
+
+
+[Test]
+title  sms with valid addr ,body ,launch editor
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokkia  0  0  1     0  nokkia  9008032761 
+delete foobar
+[Endtest]
+
+
+[Test]
+title  sms with val addr ,body ,template id
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokiia  0  1  0     0  nokia  9008032761  
+delete foobar
+[Endtest]
+
+
+[Test]
+title  sms with val addr ,body ,launch editor ,template id
+create async_send_message foobar
+foobar test_1  9008032761  AddrEnd  SMS  NULL  nokltdd  0  1  1      0  nokia  9008032761  
+delete foobar
+[Endtest]
+
+
+
+// DELETE_MESSAGE
+
+[Test]
+title delete valid message 
+create delete_message foobar
+foobar test_1  1
+delete foobar
+[Endtest] 
+
+
+[Test]
+title AddContact
+create tcontactprovidertest foobar
+foobar AddContact
+delete foobar
+[Endtest]
+
+
+[Test]
+title AddGroup
+create tcontactprovidertest foobar
+foobar AddGroup
+delete foobar
+[Endtest]
+
+
+[Test]
+title OrganiseAdd
+create tcontactprovidertest foobar
+foobar OrganiseAdd
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Import
+create tcontactprovidertest foobar
+foobar Import
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title GetContactALL
+create tcontactprovidertest foobar
+foobar GetContactALL
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title GetGroup
+create tcontactprovidertest foobar
+foobar GetGroup
+delete foobar
+[Endtest]
+
+
+[Test]
+title GetDatabase
+create tcontactprovidertest foobar
+foobar GetDatabase
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Export
+create tcontactprovidertest foobar
+foobar Export
+delete foobar
+[Endtest]
+
+
+[Test]
+title OrganiseDelete
+create tcontactprovidertest foobar
+foobar OrganiseDelete
+delete foobar
+[Endtest]
+
+
+[Test]
+title DeleteContact
+create tcontactprovidertest foobar
+foobar DeleteContact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title AddContact
+create tcontactprovidertest_sync foobar
+foobar AddContact
+delete foobar
+[Endtest]
+
+
+[Test]
+title ImportVCard
+create tcontactprovidertest_sync foobar
+foobar ImportVCard
+delete foobar
+[Endtest]
+
+
+[Test]
+title Add_Group
+create tcontactprovidertest_sync foobar
+foobar AddGroup
+delete foobar
+[Endtest]
+
+
+[Test]
+title Get_contactList
+create tcontactprovidertest_sync foobar
+foobar GetContactALL
+delete foobar
+[Endtest]
+
+
+[Test]
+title Search_Contact
+create tcontactprovidertest_sync foobar
+foobar GetContactSearch
+delete foobar
+[Endtest]
+
+
+[Test]
+title ExportVCard
+create tcontactprovidertest_sync foobar
+foobar ExportVCard
+delete foobar
+[Endtest]
+
+
+[Test]
+title Get_Group
+create tcontactprovidertest_sync foobar
+foobar GetGroup
+delete foobar
+[Endtest]
+
+
+[Test]
+title Get_Database
+create tcontactprovidertest_sync foobar
+foobar GetDatabase
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Organise_Add
+create tcontactprovidertest_sync foobar
+foobar OrganiseAdd
+delete foobar
+[Endtest]
+
+
+[Test]
+title Organise_Delete
+create tcontactprovidertest_sync foobar
+foobar OrganiseDelete
+delete foobar
+[Endtest]
+
+
+[Test]
+title Delete_contact
+create tcontactprovidertest_sync foobar
+foobar DeleteContact
+delete foobar
+[Endtest]
+
+
+
+
+
+[Test]
+title Get_contact
+create tcontacts_async foobar
+foobar Get_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Add_contact
+create tcontacts_async foobar
+foobar Add_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Add_group
+create tcontacts_async foobar
+foobar Add_group
+delete foobar
+[Endtest]
+
+[Test]
+title Delete_contact
+create tcontacts_async foobar
+foobar Delete_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Delete_group
+create tcontacts_async foobar
+foobar Delete_group
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Organise_add
+create tcontacts_async foobar
+foobar Organise_add
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Organise_delete
+create tcontacts_async foobar
+foobar Organise_delete
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Import
+create tcontacts_async foobar
+foobar Import
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Export
+create tcontacts_async foobar
+foobar Export
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_Group
+create tcontacts_async foobar
+foobar Get_group
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_database
+create tcontacts_async foobar
+foobar Get_database
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_SearchContact
+create tcontacts_async foobar
+foobar Get_SearchContact
+delete foobar
+[Endtest]
+
+
+
+
+[Test]
+title Get_ContactbyId
+create tcontacts_async foobar
+foobar Get_ContactbyId
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title DeleteSingleContact
+create tcontacts_async foobar
+foobar DeleteSingleContact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_contact
+create tcontacts_sync foobar
+foobar Get_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Add_contact
+create tcontacts_sync foobar
+foobar Add_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Add_group
+create tcontacts_sync foobar
+foobar Add_group
+delete foobar
+[Endtest]
+
+
+
+
+[Test]
+title Delete_contact
+create tcontacts_sync foobar
+foobar Delete_contact
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Delete_group
+create tcontacts_sync foobar
+foobar Delete_group
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Organise_add
+create tcontacts_sync foobar
+foobar Organise_add
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Organise_delete
+create tcontacts_sync foobar
+foobar Organise_delete
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Import
+create tcontacts_sync foobar
+foobar Import
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Export
+create tcontacts_sync foobar
+foobar Export
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_Group
+create tcontacts_sync foobar
+foobar Get_group
+delete foobar
+[Endtest]
+
+
+
+[Test]
+title Get_database
+create tcontacts_sync foobar
+foobar Get_database
+delete foobar
+[Endtest]
+
+
+
+// REGISTER_MESSAGE (MANUAL TESTCASE)
+
+[Test]
+title notifyrequest
+create register_message foobar
+foobar test_1 
+delete foobar
+[Endtest] 
+