[Define]
 KLogCallEventType 0
 KLogDataEventType 1
 KLogFaxEventType 2
 KLogShortMessageEventType 3
 KLogPacketDataEventType 4
 
 //KLogCallEventType  0
 //KLogDataEventType 1
 //KLogFaxEventType 2
 //KLogShortMessageEventType 3
 //KLogPacketDataEventType 4
// KLogPacketDataEventType 1
 KSync 0
 KAsync 1
 KAllEventsDelete  1
 KSingleEventDelete 0

/**
 * Direction Types 
 */
 R_LOG_DIR_IN                              0
 R_LOG_DIR_OUT                             1
 R_LOG_DIR_IN_ALT                          2
 R_LOG_DIR_OUT_ALT                         3
 R_LOG_DIR_FETCHED                         4
 R_LOG_DIR_MISSED                          5
 R_LOG_DIR_MISSED_ALT                      6
 KInvalidDirection			   -1



 R_LOG_DEL_SENT                            0
 R_LOG_DEL_FAILED                          1
 R_LOG_DEL_NONE                            2
 R_LOG_DEL_DONE                            3
 R_LOG_DEL_NOT_SENT                        4
 R_LOG_DEL_SCHEDULED                       5
 KInvalidStatus				  -1
 KStatusInvalid                           -1
 

  KLogNullRecentList              -1
  KLogRecentIncomingCalls          1
  KLogRecentOutgoingCalls          2
 KLogRecentMissedCalls            3


[Enddefine]


[Test]
title addL call event 
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest] 

[Test]
title addL call event OUT_DIR
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_OUT  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL call event IN_ALT DIR
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN_ALT  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 


[Test]
title addL call event OUT_ALT_DIR
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_OUT_ALT  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL call event  DIR_FETCHED
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_FETCHED  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL call event  DIR_MISSED
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_MISSED  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 


[Test]
title addL call event  DIR_MISSED_ALT
create tlogprovidertest foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_MISSED_ALT  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 






[Test]
title addL data event 
 create tlogprovidertest  foobar
foobar addL   KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL fax event 
 create tlogprovidertest  foobar
foobar addL  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL sms event
 create tlogprovidertest  foobar
foobar addL  KLogShortMessageEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL mail event
 create tlogprovidertest  foobar
foobar addL  KLogMailEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL call event with out number
 create tlogprovidertest  foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 NULL R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL packetdata event 
 create tlogprovidertest  foobar
foobar addL  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL data event 
 create tlogprovidertest  foobar
foobar addL  KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL fax event 
 create tlogprovidertest  foobar
foobar addL  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest]

[Test]
title addL sms event 
 create tlogprovidertest  foobar
foobar addL  KLogShortMessageEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest]  

[Test]
title addL packetdata event 
 create tlogprovidertest  foobar
foobar addL  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL  packet data  event 
 create tlogprovidertest  foobar
foobar addL  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title addL empty event 
 create tlogprovidertest  foobar
foobar addL  -1 0 0 0 0 NULL NULL NULL KInvalidDirection NULL KInvalidStatus KSync -6
delete foobar
[Endtest] 

[Test]
title addL with out direction event 
 create tlogprovidertest  foobar
foobar addL  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 KInvalidDirection description R_LOG_DEL_SENT KSync 0 
delete foobar
[Endtest] 

[Test]
title addL with out Subject   event 
 create tlogprovidertest  foobar
foobar addL  KLogCallEventType 200 100 50 300 NULL 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync 0 
delete foobar
[Endtest] 

[Test]
title addL with out EventID event 
create tlogprovidertest  foobar
foobar addL  -1 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync -6
delete foobar
[Endtest] 


[Test]
title addL without any parameters
create tlogprovidertest  foobar
foobar addL 
delete foobar
[Endtest] 



[Test]
title addL with ph number as string
 create tlogprovidertest  foobar
foobar addL  KLogCallEventType 200 100 50 300 NULL thisisastring thisisastring R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync 0 
delete foobar
[Endtest] 

[Test]
title addL with 1k string
 create tlogprovidertest  foobar
foobar addL  KLogCallEventType 200 100 50 300 NULL Estoniansaredoingsomethingthahasneverbeendonebeforeanywhereintheworld.heyarecleaningupthewholecountryinoneday.TheLet'sDoIt!2008campaignisanon-governmental,non-profitcivicinitiativesupportedbyarangeofpartnersfromtheprivate,publicandNGO-sector,includingNokia.heinitiativeistargetingtheproblemwhichmanycountrieshave–illegalwasteanditter.UsingthelatestITandtelecommunicationsolutions,andthehelpof40000volunteers,theapproachistofirstmapandthencleanalltheillegallydumpedgarbageinEstonia.‘’Wearepleasedtobesupportingthisinitiativeasitwillnotonlyhelpmobilizealargepartofhepopulatithroughgrass-rootsactionbutsoraisepublicawarenessandhelp shift peoples’ mindsets towards a more environmentally conscious awareness. I hope Estonia will become and remain a much cleaner country becauseofthis,‘’saidReeliMererandwhohasbeenhelpingsupportthisinitiativefromNokiaEstonia.fjlasjdfjlasjflasdjfljasldfjldasjfljasdkdfahgksdklfgjlasdjlkasdhfkashdfkasdhfjkasdfnkasdjkghkasjdhgkashdgkhasdkghaksdhgklahgklahskdghklasdghl
delete foobar
[Endtest]
//add2L with sms


[Test]
title add2L call event 
create tlogprovidertest foobar
foobar add2L  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 


[Test]
title add2L data event 
 create tlogprovidertest  foobar
foobar add2L   KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L fax event 
 create tlogprovidertest  foobar
foobar add2L  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L sms event
 create tlogprovidertest  foobar
foobar add2L  KLogShortMessageEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L call event 
 create tlogprovidertest  foobar
foobar add2L  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L packetdata event 
create tlogprovidertest  foobar
foobar add2L  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L data event 
 create tlogprovidertest  foobar
foobar add2L  KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L fax event 
 create tlogprovidertest  foobar
foobar add2L  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest]

[Test]
title add2L sms event 
 create tlogprovidertest  foobar
foobar add2L  KLogShortMessageEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest]  

[Test]
title add2L packetdata event 
 create tlogprovidertest  foobar
foobar add2L  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 

[Test]
title add2L assistancedata event
 create tlogprovidertest  foobar
foobar add2L  KLogPacketDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync  0 
delete foobar
[Endtest] 



[Test]
title add2L with out direction event 
 create tlogprovidertest  foobar
foobar add2L  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 KInvalidDirection description R_LOG_DEL_SENT KSync 0 
delete foobar
[Endtest] 

[Test]
title add2L with out Subject   event 
 create tlogprovidertest  foobar
foobar add2L  KLogCallEventType 200 100 50 300 NULL 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT KSync 0 
delete foobar
[Endtest] 



//getlist1

[Test]
title getlist  test all event
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL KInvalidDirection KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest] 

[Test]
title getlist test call event type
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid  0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  dataevent type 
create tlogprovidertest  foobar
foobar get1L NULL KLogDataEventType 0 0 NULL NULL KInvalidDirection   KStatusInvalid     0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test faxeventtype
create tlogprovidertest  foobar
foobar get1L NULL KLogFaxEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test sms type
create tlogprovidertest  foobar
foobar get1L 3 KLogShortMessageEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test call  type
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL  KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test PacketDataEventType
create tlogprovidertest  foobar
foobar get1L NULL KLogPacketDataEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test data event type
create tlogprovidertest  foobar
foobar get1L NULL KLogDataEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test  fax
create tlogprovidertest  foobar
foobar get1L NULL KLogFaxEventType 0 0 NULL NULL KInvalidDirection    KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test  sms and contact id
create tlogprovidertest  foobar
foobar get1L NULL KLogShortMessageEventType 100 0 NULL NULL KInvalidDirection    KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist  test all event async
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  test call event type async
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  dataevent type async
create tlogprovidertest  foobar
foobar get1L NULL KLogDataEventType 0 0 NULL NULL KInvalidDirection KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  test faxeventtype async
create tlogprovidertest  foobar
foobar get1L NULL KLogFaxEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  test sms type async
create tlogprovidertest  foobar
foobar get1L NULL KLogShortMessageEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  test call type async
create tlogprovidertest  foobar
foobar get1L NULL KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist test PacketDataEventType async
create tlogprovidertest  foobar
foobar get1L NULL KLogPacketDataEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist test data event type async
create tlogprovidertest  foobar
foobar get1L NULL KLogDataEventType 0 0 NULL NULL KInvalidDirection KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist test  fax async
create tlogprovidertest  foobar
foobar get1L NULL KLogFaxEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist test  sms and contact id
create tlogprovidertest  foobar
foobar get1L NULL KLogShortMessageEventType 100 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KAsync 0
delete foobar
[Endtest]


[Test]
title getlist test  packetdata and contact id
create tlogprovidertest  foobar
foobar get1L NULL KLogPacketDataEventType 100 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KAsync 0
delete foobar
[Endtest]


[Test]
title getlist  test   packet data event and contact id
create tlogprovidertest  foobar
foobar get1L NULL KLogPacketDataEventType 100 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KAsync 0
delete foobar
[Endtest]












[Test]
title getlist  test eventid sync
create tlogprovidertest  foobar
foobar get1L 30 KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest] 

[Test]
title getlist  test eventid async
create tlogprovidertest  foobar
foobar get1L 31 KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist  test recentlist sync
create tlogprovidertest  foobar
foobar get1L    NULL  KLogCallEventType 0 0 NULL NULL R_LOG_DIR_IN      KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest] 



[Test]
title getlist  test recentlist outdirection
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_OUT     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest] 

[Test]
title getlist  test IN_ALT direction
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_IN_ALT     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest] 


[Test]
title getlist  test OUT_ALT direction
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_OUT_ALT     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest]



[Test]
title getlist  test DIR_FETCHED direction
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_FETCHED     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest]


[Test]
title getlist  test DIR_MISSED direction
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_MISSED     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist test DIR_MISSED_ALT direction
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_MISSED_ALT     KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest]





[Test]
title getlist test recentlist async
create tlogprovidertest  foobar
foobar get1L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_IN     KStatusInvalid KLogNullRecentList 0 KAsync 0
delete foobar
[Endtest]  














//getlist2










[Test]
title getlist2  test call event type
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid  0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  dataevent type 
create tlogprovidertest  foobar
foobar get2L 0 KLogDataEventType 0 0 NULL NULL KInvalidDirection   KStatusInvalid     0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test faxeventtype
create tlogprovidertest  foobar
foobar get2L 0 KLogFaxEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test sms type
create tlogprovidertest  foobar
foobar get2L 0 KLogShortMessageEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test call event type
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL  KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test PacketDataEventType
create tlogprovidertest  foobar
foobar get2L 0 KLogPacketDataEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2 test data event type
create tlogprovidertest  foobar
foobar get2L 0 KLogDataEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test  fax
create tlogprovidertest  foobar
foobar get2L 0 KLogFaxEventType 0 0 NULL NULL KInvalidDirection    KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

[Test]
title getlist2  test  sms and contact id
create tlogprovidertest  foobar
foobar get2L 0 KLogShortMessageEventType 100 0 NULL NULL KInvalidDirection    KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest]

 

[Test]
title getlist2 test call event type async
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

 

[Test]
title getlist2  test faxeventtype async
create tlogprovidertest  foobar
foobar get2L 0 KLogFaxEventType 0 0 NULL NULL KInvalidDirection  KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2 test sms type async
create tlogprovidertest  foobar
foobar get2L 0 KLogShortMessageEventType 0 0 NULL NULL KInvalidDirection      KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2 test task schedular type async
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2  test PacketDataEventType async
create tlogprovidertest  foobar
foobar get2L 0 KLogPacketDataEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2  test data event type async
create tlogprovidertest  foobar
foobar get2L 0 KLogDataEventType 0 0 NULL NULL KInvalidDirection KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2  test fax async
create tlogprovidertest  foobar
foobar get2L 0 KLogFaxEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2 test  sms async
create tlogprovidertest  foobar
foobar get2L 0 KLogShortMessageEventType 100 0 NULL NULL KInvalidDirection     KStatusInvalid  0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2 test eventid async
create tlogprovidertest  foobar
foobar get2L 30 KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KSync 0
delete foobar
[Endtest] 

[Test]
title getlist2  test eventid async
create tlogprovidertest  foobar
foobar get2L 31 KLogCallEventType 0 0 NULL NULL KInvalidDirection     KStatusInvalid 0 0 KAsync 0
delete foobar
[Endtest]

[Test]
title getlist2  test recentlist async
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_IN      KStatusInvalid KLogNullRecentList 0 KSync 0
delete foobar
[Endtest] 

[Test]
title getlist2  test recentlist async
create tlogprovidertest  foobar
foobar get2L 0 KLogCallEventType 0 0 NULL NULL R_LOG_DIR_IN     KStatusInvalid KLogNullRecentList 0 KAsync 0
delete foobar
[Endtest]  


[Test]
title sapierrors
create tlogprovidertest foobar
foobar sapierrorsL pa ra me ters
delete foobar
[Endtest]
 

//delete1


[Test]
title delete1_30_callevent_ 
create tlogprovidertest foobar
foobar delete1L KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 0
delete foobar
[Endtest]

[Test]
title delete1_30_dataevent_ 
create tlogprovidertest foobar
foobar delete1L KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 0
delete foobar
[Endtest]


[Test]
title delete1_30_dataevent_ 
create tlogprovidertest foobar
foobar delete1L KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 0
delete foobar
[Endtest]







//delete1_0


[Test]
title delete1_30_callevent_twice called
create tlogprovidertest foobar
foobar delete1L KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 1
delete foobar
[Endtest]

[Test]
title delete1_30_dataevent_twice called 
create tlogprovidertest foobar
foobar delete1L KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 1
delete foobar
[Endtest]


[Test]
title delete1_30_dataevent_twice called
create tlogprovidertest foobar
foobar delete1L KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 1
delete foobar
[Endtest]




//delete2

[Test]
title delete2_30_faxevent_ 
create tlogprovidertest foobar
foobar delete2L KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest]


//delete3

[Test]
title deleteneg1L itemid -1
create tlogprovidertest foobar
foobar deleteneg1L -1 
delete foobar
[Endtest]


[Test]
title deleteneg1L itemid 0
create tlogprovidertest foobar
foobar deleteneg1L 0 
delete foobar
[Endtest]


[Test]
title deleteneg1L itemid xyz
create tlogprovidertest foobar
foobar deleteneg1L -974597 
delete foobar
[Endtest]

[Test]
title deleteneg1L itemid xyz
create tlogprovidertest foobar
foobar deleteneg1L syz
delete foobar
[Endtest]


[Test]
title deleteneg1L itemid 1K string
create tlogprovidertest foobar
foobar deleteneg1L fjalskdfjlasfjlaksjfl;kdjfal;sdjfl;kasjfl;jkasdlfjldkasjfl;ajsdfl;ajksl;fjl;asdjfl;asjkfl;ajsdfladjfljasdfljalfj
delete foobar
[Endtest]



//cancel

[Test]
title cancel delete callevent 
create tlogprovidertest foobar
foobar cancel1L  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest] 



[Test]
title cancel delete dataevent 
create tlogprovidertest foobar
foobar cancel1L  KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest] 




[Test]
title cancel delete faxevent 
create tlogprovidertest foobar
foobar cancel1L  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest]


[Test]
title cancel2 with -1 transid call
create tlogprovidertest foobar
foobar cancel2L  KLogCallEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest] 



[Test]
title cancel2 with -1 transid data
create tlogprovidertest foobar
foobar cancel2L  KLogDataEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest] 




[Test]
title cancel2 with -1 transid  fax 
create tlogprovidertest foobar
foobar cancel2L  KLogFaxEventType 200 100 50 300 sampletest 9898412755 9980545882 R_LOG_DIR_IN  description R_LOG_DEL_SENT 
delete foobar
[Endtest]

[Test]
title wrong interface
create tlogprovidertest foobar
foobar wronginterfaceL  KLogFaxEventType 
delete foobar
[Endtest]



//[Test]
//title load interface twice
//create tlogprovidertest foobar
//foobar loadtwiceL  KLogFaxEventType 
//delete foobar
//[Endtest]


[Test]
title wrong command
create tlogprovidertest foobar
foobar wrongcommandL  KLogFaxEventType 
delete foobar
[Endtest]


