uiservicetab/vimpststorage/tsrc/vimpststorage_ut/conf/CVIMPSTStorageContactSorter_UT.cfg
author Simon Howkins <simonh@symbian.org>
Mon, 29 Nov 2010 11:18:43 +0000
branchRCL_3
changeset 37 7506649dda4d
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Corrected path to files being exported - not in the same dir as bld.inf

[Define]

[Enddefine]

// --- Test Case 1, tests NewL()

[Test]
title 1.CreateSorter
create CVIMPSTStorageContactSorter_UT foobar
foobar CreateSorter 
delete foobar
[Endtest] 

// --- Test Case 2-3, tests SetSortAlgorithm()

[Test]
title 2.SelectAlgorithm
create CVIMPSTStorageContactSorter_UT foobar
foobar SelectAlgorithm 1 
delete foobar
[Endtest] 

[Test]
title 3.SelectAlgorithm
create CVIMPSTStorageContactSorter_UT foobar
foobar SelectAlgorithm 2 
delete foobar
[Endtest] 

// --- Test Cases 4-6, tests Sort()

[Test]
title 4.DoSort
create CVIMPSTStorageContactSorter_UT foobar
foobar DoSort alpha
delete foobar
[Endtest] 

[Test]
title 5.DoSort
create CVIMPSTStorageContactSorter_UT foobar
foobar DoSort presence
delete foobar
[Endtest] 

[Test]
title 6.DoSort
create CVIMPSTStorageContactSorter_UT foobar
foobar DoSort default
delete foobar
[Endtest] 

// --- Test Cases 7-11, Compare()

[Test]
title 7.CompareContacts 2 valid contacts
create CVIMPSTStorageContactSorter_UT foobar
foobar CompareContacts 2validcontacts
delete foobar
[Endtest] 

[Test]
title 8.CompareContacts 1 valid contact
create CVIMPSTStorageContactSorter_UT foobar
foobar CompareContacts 1validcontact
delete foobar
[Endtest] 

[Test]
title 9.CompareContacts 1 null contact
create CVIMPSTStorageContactSorter_UT foobar
foobar CompareContacts 1nullcontact
delete foobar
[Endtest] 

[Test]
title 10.CompareContacts 2 null contacts
create CVIMPSTStorageContactSorter_UT foobar
foobar CompareContacts 2nullcontacts
delete foobar
[Endtest] 

[Test]
title 11.CompareContacts same contacts
create CVIMPSTStorageContactSorter_UT foobar
foobar CompareContacts samecontacts
delete foobar
[Endtest]