// address  type  subject  body  flag  templateid  editor

[Test]
title SMS with valid address, attach(image)
create send_message foobar
foobar test_1  9008032761  AddrEnd  SMS  NULL  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        NULL  9008032761   
delete foobar
[Endtest]


[Test]
title MMS with valid address, no actual attachments
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  NULL  NULL   0  0        -28  
delete foobar
[Endtest]


[Test]
title MMS with valid address,attach(image),no mimetype
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Images\ant.jpg   NULL   0  0        NULL  9008032761   
delete foobar
[Endtest]


[Test]
title MMS with valid address, attach(image), mms temp id
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    3  0       
delete foobar
[Endtest]


[Test]
title MMS with valid address, attach(image), sms temp id
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    1  0        -5        
delete foobar
[Endtest]


[Test]
title MMS with valid address, attach(image)
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        NULL  9008032761   
delete foobar
[Endtest]


[Test]
title MMS with valid address,subject,attach(image)
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  hi  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        hi  9008032761   
delete foobar
[Endtest]


[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, subject,attach(image),ed
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  hi  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    0  1        hi  9008032761   
delete foobar
[Endtest]


[Test]
title MMS with valid address, inv attach path(image)
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Images\ant.jpg   image/jpeg    0  0        -1   
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 MMS with valid address, attach(music)
create send_message foobar
foobar test_1  9008032761  AddrEnd  MMS  NULL  NULL  1  C:\Data\Sounds\Digital\dhoom2whis192701.mp3   sound/mp3  0  0        NULL  9008032761    
delete foobar
[Endtest]


[Test]
title SMS with valid addresses
create send_message foobar
foobar test_1  9008032761  2980  AddrEnd  SMS  NULL  NULL  0  0  0        NULL  9008032761  9008032762   
delete foobar
[Endtest]


[Test]
title SMS with no address
create send_message foobar
foobar test_1  NULL  SMS  NULL  NULL  0  0  0       -6  
delete foobar
[Endtest]


[Test]
title SMS with no address, ed
create send_message foobar
pause 5000
foobar test_1  NULL  SMS  NULL  NULL  0  0  1         
pause 5000
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 invalid address (-ve int)
create send_message foobar
foobar test_1  -89  AddrEnd  SMS  NULL  NULL  0  0  0        NULL   -89  
delete foobar
[Endtest]


[Test]
title SMS with invalid address (string)
create send_message foobar
foobar test_1  nok  AddrEnd  SMS  NULL  NULL  0  0  0        NULL   nok  
delete foobar
[Endtest]


[Test]
title SMS with valid address, body (int)
create send_message foobar
foobar test_1  9008032761  AddrEnd  SMS  NULL  5678  0  0  0       5678  9008032761  
delete foobar
[Endtest]


[Test]
title SMS with valid address, launch editor 
create send_message foobar
foobar test_1  9008032761  AddrEnd  SMS  NULL  NULL  0  0  1        NULL  9008032761  
delete foobar
[Endtest]


[Test]
title SMS with valid address, subject (int)
create send_message foobar
foobar test_1  9985  AddrEnd  SMS  -86  NULL  0  0  0        -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, invalid template id 
create send_message foobar
foobar test_1  9986  AddrEnd  SMS  NULL  NULL  0  -78  0        -5 
delete foobar
[Endtest]


[Test]
title SMS with valid address, non exsistent template id 
create send_message foobar
foobar test_1  9987  AddrEnd  SMS  some  NULL  0  106  0        -1
delete foobar
[Endtest]


[Test]
title SMS with valid address, exsistent template id      
create send_message foobar
foobar test_1  9008032761  AddrEnd  SMS  NULL  NULL  0  1  0       -5 
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor 
create send_message foobar
pause 5000
foobar test_1  9008032761  AddrEnd  SMS  NULL  nokltd  0  0  1        nokltd 9008032761  
pause 5000
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, invalid template id 
create send_message foobar
foobar test_1  9990  AddrEnd  SMS  NULL  nokltd  0  -78  0        -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, non exsistent template id 
create send_message foobar
foobar test_1  9991  AddrEnd  SMS  NULL  nokltd  0  106  0        -1
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  -5  
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, subject
create send_message foobar
foobar test_1  9993  AddrEnd  SMS  some  nokltd  0  0  0        -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, subject 
create send_message foobar
foobar test_1  9994  AddrEnd  SMS  some  nokltd  0  0  1        -5
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         -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, invalid template id 
create send_message foobar
foobar test_1  9996  AddrEnd  SMS  NULL  nokltd  0  -67  1         -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, non exsistent template id 
create send_message foobar
foobar test_1  9997  AddrEnd  SMS  NULL  nokltd  0  45  1         -1
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, subject, template id 
create send_message foobar
foobar test_1  9998  AddrEnd  SMS  some  nokltd  0  1  1         -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, subject, inv template id 
create send_message foobar
foobar test_1  9999  AddrEnd  SMS  some  nokltd  0  -78  1         -5
delete foobar
[Endtest]


[Test]
title SMS with valid address, body, launch editor, subject, non exsis template id 
create send_message foobar
foobar test_1  9810  AddrEnd  SMS  some  nokltd  0  178  1         -1
delete foobar
[Endtest]


[Test]
title SMS with valid address, inv launch editor value 
create send_message foobar
pause 5000
foobar test_1  9008032761  AddrEnd  SMS  NULL  NULL  0  0  9        NULL  9008032761  
pause 5000
delete foobar
[Endtest]


[Test]
title SMS with valid address, body (string)
create send_message foobar
foobar test_1  9008032761  AddrEnd  SMS  NULL  nokl  0  0  0       nokl  9008032761   
delete foobar
[Endtest] 


[Test]
title SMS with valid address, subject (string)
create send_message foobar
foobar test_1  9984  AddrEnd  SMS  some  NULL  0  0  0        -5 
delete foobar
[Endtest]


[Test]
title SMS with valid address, inv template uid
create send_message foobar
foobar test_1  9984  AddrEnd  SMS  NULL  NULL  0  2  0        -5 
delete foobar
[Endtest]
