// 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 non ex messageid
create get_header_message foobar
foobar test_1  88  NULL  NULL  0  NULL  0  0         
delete foobar
[Endtest] 


[Test]
title header with inv messageid
create get_header_message foobar
foobar test_1  -73  NULL  NULL  0  NULL  0  0         
delete foobar
[Endtest]


[Test]
title header with valid messageid
create get_header_message foobar
foobar test_1  1  NULL  NULL  0  NULL  0  0         nokia
delete foobar
[Endtest]


[Test]
title header with valid fromarray
create get_header_message foobar
foobar test_1  0  9  AddrEnd  NULL  0  NULL  0  0         nokia testing  mms  wr  pic
delete foobar
[Endtest]


[Test]
title header with inv fromarray
create get_header_message foobar
foobar test_1  0  -7  AddrEnd  NULL  0  NULL  0  0      pic   
delete foobar
[Endtest]


[Test]
title header with non ex fromarray
create get_header_message foobar
foobar test_1  0  45  AddrEnd  NULL  0  NULL  0  0        pic 
delete foobar
[Endtest]


[Test]
title header with non ex subject
create get_header_message foobar
foobar test_1  0  NULL  zd  0  NULL  0  0        pic 
delete foobar
[Endtest]


[Test]
title header with valid subject
create get_header_message foobar
foobar test_1  0  NULL  testing  0  NULL  0  0         testing   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 uid (mms)
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  MMS  MtmEnd  0  0     pic  
delete foobar
[Endtest]


[Test]
title header with valid start>end date
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2007 3 14 0 0 0 0   1   2007 2 9 0 0 0 0         
delete foobar
[Endtest]


[Test]
title header with valid start date>current date
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2909 9 14 0 0 0 0   0        
delete foobar
[Endtest]


[Test]
title header with valid end date>current date
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  0   1   2007 9 9 0 0 0 0   nokia  testing  mms  wr  pic   
delete foobar
[Endtest]


[Test]
title header with valid start date
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2007 2 29 0 0 0 0   0         nokia  testing  mms  wr  pic
delete foobar
[Endtest]


[Test]
title header with valid end date
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  0   1  2007 9 9 0 0 0 0         nokia  testing  mms  wr  pic
delete foobar
[Endtest]


[Test]
title header with valid dates, sort
create get_header_message foobar
foobar test_1  0  NULL  NULL  10  NULL  1  2007 2 29 0 0 0 0   1   2007 9 9 0 0 0 0           mms  testing  nokia  pic  wr
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 head with valid fromarray (>1)
create get_header_message foobar
foobar test_1  0  9  9008032762  AddrEnd NULL  0  NULL  0  0         nokia  testing  mms  wr  pic
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 heade with valid uidtypes (>1)
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  SMS  MMS  MtmEnd  0  0         nokia  testing  mms  pic
delete foobar
[Endtest]


[Test]
title header with valid uidtype, fromarray
create get_header_message foobar
foobar test_1  0  9  AddrEnd  NULL  0  SMS  MtmEnd  0  0         nokia  testing  mms  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]


[Test]
title header with valid uidtype, dates
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  SMS  MtmEnd  1  2007 2 29 0 0 0 0   1   2007 9 9 0 0 0 0         nokia  testing  mms 
delete foobar
[Endtest]


[Test]
title header with valid uidtype, dates
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  SMS  MtmEnd  1  2007 2 9 0 0 0 0   1   2007 2 17 0 0 0 0        
delete foobar
[Endtest]


[Test]
title header with valid uidtype, dates, sort
create get_header_message foobar
foobar test_1  0  NULL  NULL  2  SMS  MtmEnd  1  2007 2 9 0 0 0 0   1   2007 2 17 0 0 0 0        
delete foobar
[Endtest]


[Test]
title header with valid start ,end dates
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  NULL  1  2007 2 29 0 0 0 0   1   2007 9 9 0 0 0 0      nokia  testing  mms  wr  pic
delete foobar
[Endtest] 


[Test]
title header with inv uid , valid dates
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  email  MtmEnd  1  2007 2 29 0 0 0 0   1   2007 9 9 0 0 0 0     
delete foobar
[Endtest] 


[Test]
title header with inv uid
create get_header_message foobar
foobar test_1  0  NULL  NULL  0  email  MtmEnd  0  0    
delete foobar
[Endtest] 
