
[Test]
title  Import_valid_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\singlecontact.vcf 0
delete foobar
[Endtest]


[Test]
title  Import_Empty_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\empty.vcf -1  // -1 ;s60 import function returning -1
delete foobar
[Endtest]


[Test]
title  Import_valid_txtcard
create tContact_import foobar
foobar  Import_Test1 C:\data\singlecontact.txt 0
delete foobar
[Endtest]


[Test]
title  Import_detailedvcf
create tContact_import foobar
foobar  Import_Test1 C:\data\details.vcf 0
delete foobar
[Endtest]


[Test]
title  Import_noexist_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\nonexist.vcf -1  //-1  while opening file
delete foobar
[Endtest]


[Test]
title  Import_mti_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\mti.vcf -1  // s60 import fun return 0,but  contactsavedfailed fun returning -1 ,is this ok..?
delete foobar
[Endtest]


[Test]
title  Import_valid_database
create tContact_import foobar
foobar  Import_Test3 C:\data\singlecontact.vcf 0
delete foobar
[Endtest]


[Test]
title  Import_cagent_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\cagent.vcf 0
delete foobar
[Endtest]


[Test]
title  Import_noend_vcard
create tContact_import foobar
foobar  Import_Test1 C:\data\halfline.vcf -1
delete foobar
[Endtest]


[Test]
title  Import_same_vcards
create tContact_import foobar
foobar  Import_Test2 C:\data\doublecontact.vcf  0
delete foobar
[Endtest]


[Test]
title  Import_singlecontact
create tContact_import foobar
foobar  Import_Test4 C:\data\singlecontact.vcf 0
delete foobar
[Endtest]


[Test]
title  Import_two_vcards
create tContact_import foobar
foobar  Import_Test5 C:\data\singlecontact1.vcf C:\data\singlecontact2.vcf 0
delete foobar
[Endtest]
