// Test case 2

[preparedata_2]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 1
listofsortorder=sortorder_1_2
listofgroupsections=groups_1_2

[groups_1_2]
groupname	= firstgroup
numofcontacts	= 30

[sortorder_1_2]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofsortablecontacts=1500
numunsortedcontacts=50

[createviews2]
dbname		= c:newcontactdatabase.cdb
createdatabase	= False
listofviews	= localview_2,remoteview_2
viewaccesslist	= viewpreferences_2,localviewsortorder_2,count_localview_2,rmoteviewpreferences_2,remoteviewsortorder_2


[localview_2]
viewtype	= localview
viewsortorder	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly,EUnsortedAtEnd

[viewpreferences_2]
testviewpreferences = TRUE
viewbase	= localview
indexofview	= 1
viewpreferences = contactsonly,EUnsortedAtEnd

[localviewsortorder_2]
testsortorder 	= TRUE
viewbase	= localview
indexofview	= 1
sortorder 	= GivenName,FamilyName,AdditionalName

[count_localview_2]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 2000

[remoteview_2]
viewtype	= remoteview
viewsortorder 	= CompanyName,EMail,Fax,Address
viewpreferences	= contactsonly,EUnsortedAtBeginning

[rmoteviewpreferences_2]
testviewpreferences = TRUE
viewbase	= remoteview
indexofview	= 1
viewpreferences = contactsonly,EUnsortedAtBeginning

[remoteviewsortorder_2]
testsortorder 	= TRUE
viewbase	= remoteview
indexofview	= 1
sortorder 	= CompanyName,EMail,Fax,Address

// Test case 3

[createviews3]
dbname		= c:newcontactdatabase.cdb
createdatabase	= False
deletedatabase	= TRUE
listofviews	= localview_3,localview_3_1,remoteview_3,namedremoteview_3
viewaccesslist	= count_localview_3,count_localview_3_1,count_remoteview_3,count_namedremoteview_3

[localview_3]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName
viewpreferences = contactsonly

[localview_3_1]
viewtype	= localview
viewsortorder 	= EMail,Fax,Address
viewpreferences = contactsonly,EUnsortedAtBeginning

[remoteview_3]
viewtype	= remoteview
viewsortorder 	= CompanyName
viewpreferences	= contactsandgroups

[namedremoteview_3]
viewtype	= namedremoteview
name		= namedremoteviewconstruction
viewsortorder 	= GivenName
viewpreferences = contactsonly

[count_localview_3]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 2000

[count_localview_3_1]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 2000

[count_remoteview_3]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 2001

[count_namedremoteview_3]
testcountlapi	= TRUE
viewbase	= namedremoteview
indexofview	= 1
desiredcount	= 2000


//testcase 7

[preparedata_7]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 20
listofsortorder=sortorder_1_7


[sortorder_1_7]
sortorder	= AdditionalName,CompanyName,EMail,Fax,Address
numofsortablecontacts=200
numunsortedcontacts=50

[namedremoteviewwithplugin]
dbname		= c:newcontactdatabase.cdb
createdatabase	= False
deletedatabase	= TRUE
listofviews	= namedremoteview7
viewaccesslist  = count_namedremoteview7,viewpreferences7,namedviewsortorder7


[namedremoteview7]
viewtype	= namedremoteview
name		= namedremoteviewconstruction
viewsortorder 	= AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly
namedviewsortplugin = application.vnd.symbian.com/contacts-reverse-sort

[count_namedremoteview7]
testcountlapi	= TRUE
viewbase	= namedremoteview
indexofview	= 1
desiredcount	= 2000

[viewpreferences7]
testviewpreferences = TRUE
viewbase	= namedremoteview
indexofview	= 1
viewpreferences = contactsonly

[namedviewsortorder7]
testsortorder 	= TRUE
viewbase	= namedremoteview
indexofview	= 1
sortorder 	= AdditionalName,CompanyName,EMail,Fax,Address


//testcase 8 and testcase 10

[preparedata_8]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 20
listofsortorder=sortorder_1_8
listofMatchingString=matchingstrings_1_8

[sortorder_1_8]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=200
numunsortedcontacts=50

[matchingstrings_1_8]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=100
contactfield	= GivenName


[findviewonlocalview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview_8,findview_8
viewaccesslist	= count_findview_8,contactsmatchingcriteria_8

[localview_8]
viewtype	= localview
viewsortorder	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly

[findview_8]
viewtype	= findview
alloctest	= findview
searchwords	= Michael
viewbase	= localview
indexofview 	= 1
searchtype	= EFullSearch

[count_findview_8]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 100

[contactsmatchingcriteria_8]
testcontactsmatchingcriteria = TRUE
viewbase	= findview
indexofview	= 1
findwords	= Michael
desiredcount	= 100


//testcase 9

[preparedata_9]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 500
numofgroups	= 20
listofsortorder	=sortorder_1_9
listofMatchingString=matchingstrings_1_9,matchingstrings_1_9_1

[sortorder_1_9]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=200
numunsortedcontacts=50

[matchingstrings_1_9]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_9_1]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= RONY
numofcontactswiththisstring=35
contactfield	= FamilyName

[refinefindview9]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
listofviews	= localview_9,findview_9,refineexistingfindview_9
viewaccesslist	= count_findview_9,count_refinefindview_9,contactsmatchingcriteria_9

[localview_9]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName
viewpreferences = contactsonly


[findview_9]
viewtype	= findview
alloctest	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Michael

[refineexistingfindview_9]
viewtype	= findview
alloctest	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[count_findview_9]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 50

[count_refinefindview_9]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 2
desiredcount	= 35

[contactsmatchingcriteria_9]
testcontactsmatchingcriteria = TRUE
viewbase	= findview
indexofview	= 2
findwords	= RONY
desiredcount	= 35

//Test case 11

[preparedata_11]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 20
listofsortorder	=sortorder_1_11
listofMatchingString=matchingstrings_1_11

[sortorder_1_11]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=1000
numunsortedcontacts=500

[matchingstrings_1_11]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=350
contactfield	= GivenName

[findviewonremoteview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview11,findview11
viewaccesslist	= count_findview11

[remoteview11]
viewtype	= remoteview
viewsortorder 	= GivenName
viewpreferences = contactsandgroups

[findview11]
viewtype	= findview
alloctest	= findview
viewbase	= remoteview
indexofview	= 1
searchwords	= Michael
searchtype	= EPrefixSearch

[count_findview11]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 350


// Test case 12

[preparedata_12]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_12
listofMatchingString=matchingstrings_1_12,matchingstrings_1_12_1

[sortorder_1_12]
sortorder	= GivenName,AdditionalName,CompanyName
numofsortablecontacts=500
numunsortedcontacts=50

[matchingstrings_1_12]
sortorder	= GivenName,AdditionalName,CompanyName
matchingstring	= Michael
numofcontactswiththisstring=350
contactfield	= GivenName

[matchingstrings_1_12_1]
sortorder	= GivenName,AdditionalName,CompanyName
matchingstring	= MANI
numofcontactswiththisstring=35
contactfield	= AdditionalName

[refinefindviewonremoteview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview12,findview12,findview12_2
viewaccesslist	= count_remoteview12,count_findview12,count_refinefindview12

[remoteview12]
viewtype	= remoteview
viewsortorder 	= GivenName,AdditionalName
viewpreferences = contactsonly

[count_remoteview12]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 1000

[findview12]
viewtype	= findview
alloctest	= findview
viewbase	= remoteview
indexofview	= 1
searchwords	= Michael
searchtype	= EPrefixSearch

[findview12_2]
viewtype	= findview
alloctest	= findview
viewbase	= remoteview
indexofview	= 1
searchwords	= MANI

[count_findview12]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 350

[count_refinefindview12]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 2
desiredcount	= 35


//Test case 14

[preparedata_14]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_14
listofMatchingString=matchingstrings_1_14

[sortorder_1_14]
sortorder	= FamilyName,AdditionalName,CompanyName
numofsortablecontacts=500
numunsortedcontacts=50

[matchingstrings_1_14]
sortorder	= FamilyName,AdditionalName,CompanyName
matchingstring	= Shelly
numofcontactswiththisstring=447
contactfield	= FamilyName

[createviews_14]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview14,findview14
viewaccesslist	= count_findview14

[remoteview14]
viewtype	= remoteview
viewsortorder 	= FamilyName
viewpreferences = contactsonly,EUnsortedAtEnd

[findview14]
viewtype	= findview
alloctest	= findview
viewbase	= remoteview
indexofview	= 1
searchwords	= Shelly
searchtype	= EPrefixSearch

[count_findview14]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 447


//Test case 15

[preparedata_15]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_15
listoffilterviewsections=filterview_1_15


[sortorder_1_15]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts = 500
numunsortedcontacts = 50

[filterview_1_15]
sortorder	= GivenName,FamilyName,AdditionalName
numofcontactswiththisfilter = 200
desiredFilter	= IMAddress,Faxable


[createfilteredview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview15,filteredview15
viewaccesslist	= count_filteredview15

[localview15]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[filteredview15]
viewtype	= filteredview
alloctest	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= IMAddress

[count_filteredview15]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 200

//Test case 17

[preparedata_17]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 3000
numofgroups	= 20
listofsortorder	=sortorder_1_17
listoffilterviewsections=filterview_1_17


[sortorder_1_17]
sortorder	= Country,CompanyName,PhoneNumber
numofsortablecontacts = 2000
numunsortedcontacts = 1000

[filterview_1_17]
sortorder	= Country,CompanyName,PhoneNumber
numofcontactswiththisfilter = 500
desiredFilter	= LandLine,RingTone,VoiceDial

[createfilteredviewonremoteview]

createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview17,filteredview17
viewaccesslist	= count_filteredview17

[remoteview17]
viewtype	= remoteview
viewsortorder 	= Country,CompanyName,PhoneNumber
viewpreferences = contactsonly

[filteredview17]
viewtype	= filteredview
alloctest	= filteredview
viewbase	= remoteview
indexofview	= 1
viewfilter	= RingTone

[count_filteredview17]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 500


// Test case 19

[preparedata_19]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 3000
numofgroups	= 20
listofsortorder	=sortorder_1_19
listoffilterviewsections=filterview_1_19


[sortorder_1_19]
sortorder	= Country,CompanyName,PhoneNumber
numofsortablecontacts = 2000
numunsortedcontacts = 1000

[filterview_1_19]
sortorder	= Country,CompanyName,PhoneNumber
numofcontactswiththisfilter = 1000
desiredFilter	= LandLine,RingTone,VoiceDial


[createviews_19]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= namedremoteview_19,filteredview_19
viewaccesslist	= count_namedRemoteview_19,count_filteredview_19

[namedremoteview_19]
viewtype	= namedremoteview
name		= namedremoteviewconstruction1
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[count_namedRemoteview_19]
testcountlapi	= TRUE
viewbase	= namedremoteview
indexofview	= 1
desiredcount	= 3000

[filteredview_19]
viewtype	= filteredview
alloctest	= filteredview
viewbase	= namedremoteview
indexofview	= 1
viewfilter	= VoiceDial

[count_filteredview_19]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 1000

//Test case 20

[preparedata_20]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 300
numofgroups	= 1
listofgroupsections=groups_1_20

[groups_1_20]
groupname	= firstgroup
numofcontacts	= 30


[creategroupview]
createdatabase	= FALSE
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= namedremoteview20,groupview20
viewaccesslist	= count_groupview20

[namedremoteview20]
viewtype	= namedremoteview
name		= namedremoteviewconstruction1
viewsortorder 	= FamilyName
viewpreferences = contactsandgroups

[groupview20]
viewtype	= groupview
viewbase	= namedremoteview
indexofview	= 1
groupname	= firstgroup
grouptype	= EShowContactsNotInGroup

[count_groupview20]
testcountlapi	= TRUE
viewbase	= groupview
indexofview	= 1
desiredcount	= 271


//Test case 22

[preparedata_22]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 300
numofgroups	= 1
listofgroupsections=groups_1_22

[groups_1_22]
groupname	= TestGroup22
numofcontacts	= 30

[creategroupviewonremoteview]
createdatabase	= FALSE
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview22,groupview22
viewaccesslist	= count_groupview22

[remoteview22]
viewtype	= remoteview
viewsortorder 	= FamilyName
viewpreferences = contactsandgroups

[groupview22]
viewtype	= groupview
viewbase	= remoteview
indexofview	= 1
groupname	= TestGroup22
grouptype	= EShowContactsInGroup

[count_groupview22]
testcountlapi	= TRUE
viewbase	= groupview
indexofview	= 1
desiredcount	= 30

// Test case 24

[preparedata_24]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 300
numofgroups	= 1
listofgroupsections=groups_1_24

[groups_1_24]
groupname	= TestGroup24
numofcontacts	= 30

[createviews7]
createdatabase	= FALSE
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview5,groupview2
viewaccesslist	= count_groupview1

[groupview2]
viewtype	= groupview
alloctest	= groupview
viewbase	= localview
indexofview	= 1
groupname	= TestGroup24
grouptype	= EShowContactsInGroup
groupviewversion= 1

[localview5]
viewtype	= localview
viewsortorder 	= CompanyName
viewpreferences = contactsandgroups


[count_groupview1]
testcountlapi	= TRUE
viewbase	= groupview
indexofview	= 1
desiredcount	= 30


//Test case 25

[preparedata_25]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_25
listofMatchingString=matchingstrings_1_25,matchingstrings_1_25_1,matchingstrings_1_25_2,matchingstrings_1_25_3

[sortorder_1_25]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
numofsortablecontacts=50
numunsortedcontacts=50

[matchingstrings_1_25]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_25_1]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Andy
numofcontactswiththisstring=50
contactfield	= AdditionalName

[matchingstrings_1_25_2]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Symbian
numofcontactswiththisstring=50
contactfield	= CompanyName

[matchingstrings_1_25_3]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= India
numofcontactswiththisstring=50
contactfield	= Country

[createsubviewonlocalview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
//deletedatabase	= TRUE
listofviews	= localview25,subview25
viewaccesslist	= count_subview25

[localview25]
viewtype	= localview
viewsortorder 	= GivenName,AdditionalName,CompanyName,Country,PostOffice
viewpreferences = contactsonly

[subview25]
viewtype	= subview
alloctest	= subview
viewbase	= localview
indexofview	= 1
lowerboundary	= >A
higherboundary	= <O

[count_subview25]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 50


//Test case 27

[preparedata_27]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_27
listofMatchingString=matchingstrings_1_27,matchingstrings_1_27_1,matchingstrings_1_27_2,matchingstrings_1_27_3

[sortorder_1_27]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
numofsortablecontacts=50
numunsortedcontacts=50

[matchingstrings_1_27]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_27_1]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Andy
numofcontactswiththisstring=50
contactfield	= AdditionalName

[matchingstrings_1_27_2]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Symbian
numofcontactswiththisstring=50
contactfield	= CompanyName

[matchingstrings_1_27_3]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= India
numofcontactswiththisstring=50
contactfield	= Country

[createsubviewonremoteview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview27,subview27
viewaccesslist	= count_subview27

[remoteview27]
viewtype	= remoteview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[subview27]
viewtype	= subview
alloctest	= subview
viewbase	= remoteview
indexofview	= 1
lowerboundary	= >C
higherboundary	= <P

[count_subview27]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 50


// Test case 29

[preparedata_29]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
numofgroups	= 20
listofsortorder	=sortorder_1_29
listofMatchingString=matchingstrings_1_29,matchingstrings_1_29_1,matchingstrings_1_29_2,matchingstrings_1_29_3

[sortorder_1_29]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
numofsortablecontacts=50
numunsortedcontacts=50

[matchingstrings_1_29]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_29_1]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Andy
numofcontactswiththisstring=50
contactfield	= AdditionalName

[matchingstrings_1_29_2]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= Symbian
numofcontactswiththisstring=50
contactfield	= CompanyName

[matchingstrings_1_29_3]
sortorder	= GivenName,AdditionalName,CompanyName,Country,PostOffice
matchingstring	= India
numofcontactswiththisstring=50
contactfield	= Country

[createviews_29]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= namedremoteview29,subview29
viewaccesslist	= count_subview29

[namedremoteview29]
viewtype	= namedremoteview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[subview29]
viewtype	= subview
alloctest	= subview
viewbase	= namedremoteview
indexofview	= 1
lowerboundary	= >C
higherboundary	= <P

[count_subview29]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 50


//Test case 30

[preparedata_30]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 500
numofgroups	= 20
listofsortorder	=sortorder_1_30


[sortorder_1_30]
sortorder	= FamilyName,AdditionalName,CompanyName,Country,PostOffice
numofsortablecontacts=300
numunsortedcontacts=50

[concatenatedview]

createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview30,namedremoteview30,concatenatedview30
viewaccesslist  = count30

[localview30]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly

[namedremoteview30]
viewtype	= namedremoteview
viewsortorder 	= CompanyName,Country
viewpreferences = contactsonly

[concatenatedview30]
viewtype	= concatenatedview
componentviews 	= localview,namedremoteview
indexofview0	= 1
indexofview1 	= 1

[count30]
testcountlapi	= TRUE
viewbase	= concatenatedview
indexofview	= 1
desiredcount	= 1000

// Test case 31 user define sort plugin

[localviewswithuserdefinesortplugin]
dbname		= C:ViewContacts.cdb
importfilename  = C:\cntviewtest\configs\vcf\vcard01.vcf
deletedatabase	= TRUE
listofviews	= localview_31,localview_31_1
viewaccesslist	= count_31,at_31,at_31_1

[localview_31]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly
localviewsortplugin = application.vnd.symbian.com/contacts-reverse-sort

[localview_31_1]
viewtype	= localview
viewsortorder 	= PrefixName
viewpreferences = contactsonly,EUnsortedAtBeginning

[count_31]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 55

[at_31]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 1
atlindex	= 0
desiredcontactitemid = 55

[at_31_1]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 2
atlindex	= 4
desiredcontactitemid = 5


//Test case 32

[localviewswithdefaultsortplugin]
dbname		= C:ViewContacts.cdb
importfilename  = C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview11,localview21
viewaccesslist	= count11,at11,at21

[localview11]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly

[localview21]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly

[count11]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 56

[at11]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 1
atlindex	= 2
desiredcontactitemid = 8

[at21]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 2
atlindex	= 4
desiredcontactitemid = 10

//Test case 33

[localviewswithemptysortplugin]

dbname		= C:ViewContacts.cdb
importfilename  = C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview12,localview22
viewaccesslist	= count22,at12,at22

[localview12]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly
localviewsortplugin = 

[localview22]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly

[count22]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 56

[at12]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 1
atlindex	= 1
desiredcontactitemid = 7

[at22]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 2
atlindex	= 5
desiredcontactitemid = 11

//test case 34

[localviewswithinvalidplugin]
dbname		= C:ViewContacts.cdb
importfilename  = C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview13

[localview13]
viewtype	= localview
viewsortorder	= FamilyName
viewpreferences = contactsonly
localviewsortplugin = invalidplugin


//Test case 35

[createviews35]
dbname		= C:ViewContacts2.cdb


[createviews35_1]
createdatabase	= FALSE
dbname		= C:ViewContacts2.cdb
importfilename  = C:\cntviewtest\configs\vcf\vcard100.vcf
deletedatabase	= FALSE


[createviews35_2]
createdatabase	= FALSE
dbname		= C:ViewContacts2.cdb
listofviews	= localview35,filteredview35
deletedatabase	= FALSE


[localview35]
viewtype	= localview
viewsortorder 	= CompanyName
viewpreferences = contactsonly
viewnotready	= TRUE

[filteredview35]
viewtype	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= Work
viewnotready	= TRUE


//Test case 36

[lowdiskcondition]
dbname		= C:ViewContacts2.cdb
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview36
viewaccesslist	= count_localview36,atl_36,findl_36,contactsmatchingcriteria36,contactsmatchingPrefix36


[localview36]
viewtype	= localview
viewsortorder 	= FamilyName,GivenName
viewpreferences = contactsonly

[count_localview36]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
errorcondition	= KErrDiskFull
desiredcount	= 56

[atl_36]
testatlapi	= TRUE
viewbase	= localview
errorcondition	= KErrDiskFull
indexofview	= 1
atlindex	= 1
desiredcontactitemid = 7

[findl_36]
testfindlapi	= TRUE
viewbase	= localview
errorcondition	= KErrDiskFull
viewbase	= localview
indexofview	= 1
contactitemid	= 3
desiredindex 	= 42

[contactsmatchingcriteria36]
testcontactsmatchingcriteria = TRUE
errorcondition	= KErrDiskFull
viewbase	= localview
indexofview	= 1
findwords	= Sam,Thomas
desiredcount	= 2

[contactsmatchingPrefix36]
testcontactsmatchingprefix = TRUE
errorcondition	= KErrDiskFull
viewbase	= localview
indexofview	= 1
searchwords	= S*
desiredcount	= 5

//Test case 37

[disknotreadycondition]
dbname		= C:ViewContacts2.cdb
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview37
viewaccesslist	= count_localview37,atl_37,findl_37,contactsmatchingcriteria37,contactsmatchingPrefix37


[localview37]
viewtype	= localview
viewsortorder 	= FamilyName,GivenName
viewpreferences = contactsonly

[count_localview37]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
errorcondition	= KDiskNotReady
desiredcount	= 56

[atl_37]
testatlapi	= TRUE
viewbase	= localview
errorcondition	= KDiskNotReady
indexofview	= 1
atlindex	= 1
desiredcontactitemid = 7

[findl_37]
testfindlapi	= TRUE
viewbase	= localview
errorcondition	= KDiskNotReady
viewbase	= localview
indexofview	= 1
contactitemid	= 3
desiredindex 	= 42

[contactsmatchingcriteria37]
testcontactsmatchingcriteria = TRUE
errorcondition	= KDiskNotReady
viewbase	= localview
indexofview	= 1
findwords	= Sam,Thomas
desiredcount	= 2

[contactsmatchingPrefix37]
testcontactsmatchingprefix = TRUE
errorcondition	= KDiskNotReady
viewbase	= localview
indexofview	= 1
searchwords	= S*
desiredcount	= 5


//Test case 38

[preparedata_38]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 200
numofgroups	= 30
listofsortorder=sortorder_1_38
listofgroupsections=groups_1_38
listofMatchingString=matchingstrings_1_38,matchingstrings_1_38_1,matchingstrings_1_38_2,matchingstrings_1_38_3
listoffilterviewsections=filterview_1_38

[groups_1_38]
groupname	= firstgroup
numofcontacts	= 30

[sortorder_1_38]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofsortablecontacts = 200
numunsortedcontacts = 0


[matchingstrings_1_38]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_38_1]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Andy
numofcontactswiththisstring=50
contactfield	= AdditionalName

[matchingstrings_1_38_2]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Symbian
numofcontactswiththisstring=50
contactfield	= CompanyName

[matchingstrings_1_38_3]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= India
numofcontactswiththisstring=50
contactfield	= Country

[filterview_1_38]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofcontactswiththisfilter = 200
desiredFilter	= IMAddress,Faxable



[multipleviewonlocalview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview38,subview38,filteredview38,concatenatedview38,findview38
viewaccesslist	= count_localview38,count_subview38,count_filteredview38,count_concatenatedview38,count_findview38



[localview38]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly

[subview38]
viewtype	= subview
viewbase	= localview
indexofview	= 1
lowerboundary	= >B
higherboundary	= <O

[filteredview38]
viewtype	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= Phonable

[concatenatedview38]
viewtype	= concatenatedview
componentviews 	= localview,subview,filteredview
indexofview0	= 1
indexofview1 	= 1
indexofview2 	= 1

[findview38]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Michael
searchtype	= EPrefixSearch

[count_localview38]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 200

[count_subview38]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 123

[count_concatenatedview38]
testcountlapi	= TRUE
viewbase	= concatenatedview
indexofview	= 1
desiredcount	= 523

[count_filteredview38]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 200

[count_findview38]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 50


//Test case 39

[preparedata_39]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 200
numofgroups	= 30
listofsortorder=sortorder_1_39
listofgroupsections=groups_1_39
listofMatchingString=matchingstrings_1_39,matchingstrings_1_39_1,matchingstrings_1_39_2,matchingstrings_1_39_3
listoffilterviewsections=filterview_1_39

[groups_1_39]
groupname	= firstgroup
numofcontacts	= 30

[sortorder_1_39]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofsortablecontacts = 200
numunsortedcontacts = 0


[matchingstrings_1_39]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Michael
numofcontactswiththisstring=50
contactfield	= GivenName

[matchingstrings_1_39_1]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Andy
numofcontactswiththisstring=50
contactfield	= AdditionalName

[matchingstrings_1_39_2]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= Symbian
numofcontactswiththisstring=50
contactfield	= CompanyName

[matchingstrings_1_39_3]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
matchingstring	= India
numofcontactswiththisstring=50
contactfield	= Country

[filterview_1_39]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofcontactswiththisfilter = 200
desiredFilter	= IMAddress,Faxable


[multipleviewonremoteview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview39,subview39,filteredview39,concatenatedview39,findview39
viewaccesslist	= count_remoteview39,count_subview39,count_concatenatedview39,count_filteredview39,count_findview39


[remoteview39]
viewtype	= remoteview
viewsortorder 	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly

[groupview39]
viewtype	= groupview
viewbase	= remoteview
indexofview	= 1
groupname	= TestGroup

[subview39]
viewtype	= subview
viewbase	= remoteview
indexofview	= 1
lowerboundary	= >B
higherboundary	= <=O

[concatenatedview39]
viewtype	= concatenatedview
componentviews 	= remoteview,subview,filteredview
indexofview0	= 1
indexofview1 	= 1

[filteredview39]
viewtype	= filteredview
viewbase	= remoteview
indexofview	= 1
viewfilter	= Phonable


[findview39]
viewtype	= findview
viewbase	= remoteview
indexofview	= 1
searchwords	= Andy
searchtype	= EPrefixSearch

[count_remoteview39]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 200

[count_subview39]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 134

[count_concatenatedview39]
testcountlapi	= TRUE
viewbase	= concatenatedview
indexofview	= 1
desiredcount	= 534

[count_filteredview39]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 200

[count_findview39]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 50


//Test case 40

[concurrentviewsaccess1]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
listofviews	= localview40
viewaccesslist	= count_localview40

[localview40]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly

[count_localview40]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 200

[concurrentviewsaccess2]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
listofviews	= remoteview40
viewaccesslist	= count_remoteview40

[remoteview40]
viewtype	= remoteview
viewsortorder 	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly

[count_remoteview40]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 200

[concurrentviewsaccess3]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
listofviews	= remoteview40_1,subview40_1
viewaccesslist	= count_remoteview40_1,count_subview40_1


[remoteview40_1]
viewtype	= remoteview
viewsortorder 	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly

[subview40_1]
viewtype	= subview
viewbase	= remoteview
indexofview	= 1
lowerboundary	= >B
higherboundary	= <=O

[count_remoteview40_1]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 200

[count_subview40_1]
testcountlapi	= TRUE
viewbase	= subview
indexofview	= 1
desiredcount	= 134

//Test case 43

[preparedata_43]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 200
numofgroups	= 30
listofsortorder=sortorder_1_43

[sortorder_1_43]
sortorder	= GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
numofsortablecontacts = 200
numunsortedcontacts = 0


[findallfieldsincontact]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview43
viewaccesslist	= count_remoteview43,CheckAllfieldlc43

[remoteview43]
viewtype	= remoteview
viewsortorder   = GivenName,FamilyName,AdditionalName,CompanyName,EMail,Fax,Address
viewpreferences = contactsonly,EUnsortedAtEnd

[count_remoteview43]
testcountlapi	= TRUE
viewbase	= remoteview
indexofview	= 1
desiredcount	= 200


[CheckAllfieldlc43]
testallfieldslapi = TRUE
viewbase	= remoteview
indexofview	= 1
index		= 0
fieldseparator  = , 


// Test case 44

[createviews11]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= remoteview7
viewaccesslist	= CheckAllfieldlc44

[remoteview7]
viewtype	= remoteview
viewsortorder 	= FamilyName,GivenName
viewpreferences = contactsonly,EUnsortedAtEnd

[CheckAllfieldlc44]
testallfieldslapi = TRUE
viewbase	= remoteview
indexofview	= 1
index		= 1000
fieldseparator  = , 


//test case 45

[findallfieldsinsubview]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview45,subview45
viewaccesslist	= CheckAllfields

[localview45]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly,EUnsortedAtBeginning


[subview45]
viewtype	= subview
viewbase	= localview
indexofview	= 1
lowerboundary	= >z
higherboundary	= <a

[CheckAllfields]
testallfieldslapi = TRUE
viewbase	= subview
indexofview	= 1
index		= 1
fieldseparator  = , 
invaliddata	= TRUE


//test case 46

[getvalidcontactid]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview46,findview46
viewaccesslist	= atl46

[localview46]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[findview46]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[atl46]
testatlapi	= TRUE
viewbase	= findview
indexofview	= 1
atlindex	= 0
desiredcontactitemid = 2

//test case 47


[getinvalidcontactid]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
listofviews	= localview47,findview47
viewaccesslist	= atl47

[localview47]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly

[findview47]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Michael
searchtype	= EFullSearch

[atl47]
testatlapi	= TRUE
viewbase	= findview
indexofview	= 1
atlindex	= 10000
desiredcontactitemid = 4


//testcase 48

[getvalidcontactitem]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview48,findview48
viewaccesslist	= testcontactatlapi48

[localview48]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[findview48]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY
searchtype	= EFullSearch

[testcontactatlapi48]
testcontactatlapi = TRUE
viewbase	= findview
indexofview	= 1
atlindex	= 0
desiredcontactid = 2

//testcase 49

[getcontactatinvalidindex]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview49,findview49
viewaccesslist	= testcontactatlapi49

[localview49]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[findview49]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[testcontactatlapi49]
testcontactatlapi = TRUE
viewbase	= findview
indexofview	= 1
atlindex	= 10000

//testcase 50

[getnumberofcontactid]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview50,findview_50
viewaccesslist	= ccount_findview50

[localview50]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly


[findview_50]
viewtype	= findview
searchwords	= Michael
viewbase	= localview
indexofview 	= 1

[count_findview50]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 50

//Test case 51

[gettheindexofcontactid]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview51,findview51
viewaccesslist	= count_findview51,findl_findview51

[localview51]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[findview51]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[count_findview51]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 1

[findl_findview51]
testfindlapi	= TRUE
viewbase	= findview
indexofview	= 1
contactitemid	= 2
desiredindex 	= 0


//Testcase 52

[gettheindexofinvalidcontactid]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview52,findview52
viewaccesslist	= count_findview52,findl_findview52

[localview52]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly

[findview52]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[count_findview52]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 1

[findl_findview52]
testfindlapi	= TRUE
viewbase	= findview
indexofview	= 1
contactitemid	= 10
desiredindex 	= -1


//Test case 53

[preparedata_53]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 20
listofsortorder=sortorder_1_53
listofMatchingString=matchingstrings_1_53,matchingstrings_1_53_2

[sortorder_1_53]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=200
numunsortedcontacts=50

[matchingstrings_1_53]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=100
contactfield	= GivenName

[matchingstrings_1_53_2]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Mic
numofcontactswiththisstring=150
contactfield	= FamilyName

[refinefindview_53]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview10,findview7,refineexistingfindview1
viewaccesslist	= count_findview2,count_refinefindview2

[localview10]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly


[findview7]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Michael
searchtype	= EFullSearch

[refineexistingfindview1]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Mic
searchtype	= EFullSearch

[count_findview2]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 100

[count_refinefindview2]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 2
desiredcount	= 150


//Test case 54

[preparedata_54]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
numofgroups	= 20
listofsortorder=sortorder_1_54
listofMatchingString=matchingstrings_1_54,matchingstrings_1_54_2

[sortorder_1_54]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=200
numunsortedcontacts=50

[matchingstrings_1_54]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=100
contactfield	= GivenName

[matchingstrings_1_54_2]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Rony
numofcontactswiththisstring=150
contactfield	= FamilyName

[refinefindview_54]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview54,findview54,refineexistingfindview54
viewaccesslist	= count_findview54,count_refinefindview54

[localview54]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly


[findview54]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Michael
searchtype	= EPrefixSearch

[refineexistingfindview54]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= RONY

[count_findview54]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 1
desiredcount	= 100

[count_refinefindview54]
testcountlapi	= TRUE
viewbase	= findview
indexofview	= 2
desiredcount	= 150

//Test case 55

[getsortorder]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview55
viewaccesslist	= localview_sortorder55

[localview55]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly,EUnsortedAtBeginning

[localview_sortorder55]
testsortorder 	= TRUE
viewbase	= localview
indexofview	= 1
sortorder 	= GivenName,FamilyName,AdditionalName

//Test case 56

[getviewpreference]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview56
viewaccesslist	= localview_viewpreference56

[localview56]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly,EUnsortedAtBeginning


[localview_viewpreference56]
testviewpreferences = TRUE
viewbase	= localview
indexofview	= 1
viewpreferences	= contactsonly,EUnsortedAtBeginning


// Test case 57

[preparedata_57]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 500
numofgroups	= 20
listofsortorder	=sortorder_1_57
listoffilterviewsections=filterview_1_57
listofMatchingString=matchingstrings_1_57

[sortorder_1_57]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts = 500
numunsortedcontacts = 0

[filterview_1_57]
sortorder	= GivenName,FamilyName,AdditionalName
numofcontactswiththisfilter = 200
desiredFilter	= Smsable,Faxable,Work

[matchingstrings_1_57]
sortorder	= GivenName,FamilyName,AdditionalName
matchingstring	= Michael
numofcontactswiththisstring=500
contactfield	= GivenName

[createviews57]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview57,filteredview57
viewaccesslist	= count_localview57,count_filterview57,contactsmatchingcriteria57

[localview57]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly

[count_localview57]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 500


[filteredview57]
viewtype	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= Phonable

[count_filterview57]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 200

[contactsmatchingcriteria57]
testcontactsmatchingcriteria = TRUE
viewbase	= filteredview
indexofview	= 1
findwords	= Michael
desiredcount	= 200


// Test case 58

[createviews58]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview58,filteredview58
viewaccesslist	= count_localview58,count_filterview58,contactsmatchingPrefix58

[localview58]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly

[count_localview58]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 500

[filteredview58]
viewtype	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= Phonable

[count_filterview58]
testcountlapi	= TRUE
viewbase	= filteredview
indexofview	= 1
desiredcount	= 200


[contactsmatchingPrefix58]
testcontactsmatchingprefix = TRUE
viewbase	= filteredview
indexofview	= 1
searchwords	= M
desiredcount	= 200

//Test case 59

[createviews59]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview59,filteredview59
viewaccesslist	= contactsmatchingPrefix59

[localview59]
viewtype	= localview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly

[filteredview59]
viewtype	= filteredview
viewbase	= localview
indexofview	= 1
viewfilter	= Phonable

[contactsmatchingPrefix59]
testcontactsmatchingprefix = TRUE
viewbase	= filteredview
indexofview	= 1
searchwords	= 9a
desiredcount	= 0

//Test case 60

[createviews60]
dbname		= C:ViewContacts.cdb
importfilename	= C:\cntviewtest\configs\vcf\vcard01.vcf
deletedatabase	= TRUE
listofviews	= localview6,findview5
viewaccesslist	= at3,findl_60,testcontactatlapi60,CheckAllfieldlc60

[localview6]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsonly
viewnotready	= TRUE


[findview5]
viewtype	= findview
viewbase	= localview
indexofview	= 1
searchwords	= Sam
searchtype	= EPrefixSearch
viewnotready	= TRUE

[at3]
testatlapi	= TRUE
viewbase	= localview
indexofview	= 1
atlindex	= 2

[findl_60]
testfindlapi	= TRUE
viewbase	= localview
indexofview	= 1
contactitemid	= 1
desiredindex 	= 0

[testcontactatlapi60]
testcontactatlapi = TRUE
viewbase	= localview
indexofview	= 1
atlindex	= 0
desiredcontactid = 0

[CheckAllfieldlc60]
testallfieldslapi = TRUE
viewbase	= localview
indexofview	= 1
index		= 0
fieldseparator  = , 


//Testcase 61

[createviewwithinvalidpref]
importfilename	= C:\cntviewtest\configs\vcf\vcard02.vcf
deletedatabase	= TRUE
listofviews	= localview61
viewaccesslist	= count_localview61


[localview61]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = groupsonly

[count_localview61]
testcountlapi	= TRUE
viewbase	= localview
indexofview	= 1
desiredcount	= 0


//Test case 62

[preparedata_62]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 1000
listofsortorder=sortorder_1_62
listofcontacttoupdate= update_1,update_2


[sortorder_1_62]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=1000
numunsortedcontacts=0

[update_1]
sortorder	= GivenName,FamilyName,AdditionalName
contactid	= 5
desiredstring	= aaa

[update_2]
sortorder	= GivenName,FamilyName,AdditionalName
contactid	= 50
desiredstring	= zzz

[mergesortorder]
createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= namedremoteview62
viewaccesslist	= searchcontactid_62,searchcontactid_62_2


[namedremoteview62]
viewtype	= namedremoteview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly


[searchcontactid_62]
testsearchcontactid = TRUE
viewbase	= namedremoteview
indexofview	= 1
searchwords	= aaa
desiredindex	= 0

[searchcontactid_62_2]
testsearchcontactid = TRUE
viewbase	= namedremoteview
indexofview	= 1
searchwords	= zzz
desiredindex	= 999


//Test case 63


[preparedata_63]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 2000
listofsortorder=sortorder_1_63,sortorder_1_63_2
listofcontacttoupdate= update63_1,update63_2,update63_3,update63_4


[sortorder_1_63]
sortorder	= GivenName,FamilyName,AdditionalName
numofsortablecontacts=1000
numunsortedcontacts=1000

[sortorder_1_63_2]
sortorder	= CompanyName,EMail,Address
numofsortablecontacts=1000
numunsortedcontacts=1000

[update63_1]
sortorder	= GivenName,FamilyName,AdditionalName
contactid	= 5
desiredstring	= aaa

[update63_2]
sortorder	= GivenName,FamilyName,AdditionalName
contactid	= 30
desiredstring	= zzz

[update63_3]
sortorder	= CompanyName,EMail,Address
contactid	= 9
desiredstring	= aaa

[update63_4]
sortorder	= CompanyName,EMail,Address
contactid	= 25
desiredstring	= zzz

[sortorderduringresort]

createdatabase	= False
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= namedremoteview63
viewaccesslist	= findl_localview63,testsortorderchange,findl_localview63_1


[namedremoteview63]
viewtype	= namedremoteview
viewsortorder 	= GivenName,FamilyName,AdditionalName
viewpreferences = contactsonly,EUnsortedAtEnd

[findl_localview63]
testfindlapi	= TRUE
viewbase	= namedremoteview
indexofview	= 1
contactitemid	= 5
desiredindex 	= 0

[testsortorderchange]
testContactssortorderchange= TRUE
viewbase	= namedremoteview
indexofview	= 1
viewsortorder   = CompanyName,EMail,Address

[findl_localview63_1]
testfindlapi	= TRUE
viewbase	= namedremoteview
indexofview	= 1
contactitemid	= 9
desiredindex 	= 0

//Test case 65

[preparedata_65]
createdatabase	= TRUE
dbname		= c:newcontactdatabase.cdb
numofcontacts	= 300
numofgroups	= 1
listofgroupsections=groups_1_65

[groups_1_65]
groupname	= firstgroup
numofcontacts	= 0


[creategroupviewwithinvalidname]
createdatabase	= FALSE
dbname		= c:newcontactdatabase.cdb
listofviews	= localview65,groupview65


[localview65]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsandgroups

[groupview65]
viewtype	= groupview
viewbase	= localview
indexofview	= 1
groupname	= invalidgroup
grouptype	= EShowContactsNotInANyGroup

[creategroupviewwithinvalidid]
createdatabase	= FALSE
dbname		= c:newcontactdatabase.cdb
deletedatabase	= TRUE
listofviews	= localview65_1,groupview65_1


[localview65_1]
viewtype	= localview
viewsortorder 	= FamilyName
viewpreferences = contactsandgroups

[groupview65_1]
viewtype	= groupview
viewbase	= localview
indexofview	= 1
groupid		= 1050
grouptype	= EShowContactsNotInANyGroup


