tsrc/conf/CVIMPSTStorageContactSorter_UT.cfg
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 20:56:13 +0300
branchRCL_3
changeset 30 2b4be3554d30
permissions -rw-r--r--
Revision: 201033 Kit: 201035

[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]