tsrc/conf/CVIMPSTStorageContactList_UT.cfg
branchRCL_3
changeset 34 e7f34e614544
parent 32 ffa4311257f6
child 36 a299036a7c20
--- a/tsrc/conf/CVIMPSTStorageContactList_UT.cfg	Wed Sep 15 11:57:55 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,299 +0,0 @@
-[Define]
-
-LISTID 					myList@nokia.com
-DISPLAYNAME 			emirates
-NULL 					null
-NOTNULL					notnull
-
-// --- Flags to indicate the type of params, for test cases 11-17
-
-SINGLE_VALID_CONTACT 	1
-SINGLE_NULL_CONTACT 	2
-AT_POSITIVE_INDEX 		3
-AT_NEGATIVE_INDEX 		4
-AT_ZERO_INDEX 			5
-SAME_CONTACT 			6
-DIFFERENT_CONTACTS		7
-
-// --- Flags to indicate the type of params, for test cases 18-19
-
-MULTIPLE_CONTACTS 		1
-ZERO_CONTACTS 			2
-
-// --- Flags to indicate the type of filters ( params ), for test cases 20-23
-
-FILTER1 				1
-FILTER2					2
-FILTER3					3
-ALLFILTER				4
-NOFILTER				5
-
-// --- Flags to indicate the type of filters ( params ), for test cases 25-27
-
-FILTEREDCOUNT1			6
-FILTEREDCOUNT2			7
-FILTEREDCOUNT3			8
-
-// --- Flags to indicate filters
-
-FILTERNOTDEFINED 		-1
-FILTERALL				0
-FILTERANDOPERATION		1
-FILTERONLINE			2
-FILTERNONBLOCKED		4
-FILTERAWAY				8
-FILTERNONOFFLINE		16
-
-
-[Enddefine]
-
-[Test]
-
-// --- Test cases 1 to 8, test the NewL function ---
-
- // --- Test Case with valid listid, valid displayname, valid contactsorter
-title 1.Test_NewL_valid_listid_valid_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_NewL LISTID DISPLAYNAME
-delete foobar
-[Endtest] 
- 
- // --- Test Case with valid listid, null displayname, valid contactsorter
-[Test]
-title 2.Test_NewL_valid_listid_null_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_NewL LISTID NULL
-delete foobar
-[Endtest] 
-
- // --- Test Case with null listid, valid displayname, valid contactsorter
-[Test]
-title 3.Test_NewL_null_listid_valid_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_NewL NULL DISPLAYNAME
-delete foobar
-[Endtest] 
-
- // --- Test Case with null listid, null displayname, valid contactsorter
-[Test]
-title 4.Test_NewL_null_listid_null_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_NewL NULL NULL
-delete foobar
-[Endtest] 
-
-// --- Test Case 5-6 to test ListId() function
-
-[Test]
-title 5.Test_ListId_valid_listid
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_ListId LISTID
-delete foobar
-[Endtest] 
-
-[Test]
-title 6.Test_ListId_null_listid
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_ListId NULL
-delete foobar
-[Endtest] 
-
-// --- Test Case 7-8 to test DisplayName function
-
-[Test]
-title 7.Test_DisplayName_valid_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_DisplayName DISPLAYNAME LISTID
-delete foobar
-[Endtest] 
-
-[Test]
-title 8.Test_DisplayName_null_displayname
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_DisplayName NULL LISTID
-delete foobar
-[Endtest] 
-
-// --- Test Case 9-10 to test Count function
-[Test]
-title 9.Test_Count_Positive_Count
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_Count 1
-delete foobar
-[Endtest]
-
-[Test]
-title 10.Test_Count_Negative_Count
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_Count 2
-delete foobar
-[Endtest]
-
-// --- Test Case 11-  to test AddStorageContacttoCacheL function 
-[Test]
-title 11.Test_AddContactToList-SINGLE_VALID_CONTACT
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList SINGLE_VALID_CONTACT
-delete foobar
-[Endtest]
-
-[Test]
-title 12.Test_AddContactToList-SINGLE_NULL_CONTACT
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList SINGLE_NULL_CONTACT
-delete foobar
-[Endtest]
-
-[Test]
-title 13.Test_AddContactToList-AT_POSITIVE_INDEX
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList AT_POSITIVE_INDEX
-delete foobar
-[Endtest]
-
-[Test]
-title 14.Test_AddContactToList-AT_NEGATIVE_INDEX
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList AT_NEGATIVE_INDEX
-delete foobar
-[Endtest]
-
-[Test]
-title 15.Test_AddContactToList-AT_ZERO_INDEX
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList AT_ZERO_INDEX
-delete foobar
-[Endtest]
-
-[Test]
-title 16.Test_AddContactToList-SAME_CONTACT
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList SAME_CONTACT
-delete foobar
-[Endtest]
-
-[Test]
-title 17.Test_AddContactToList-DIFFERENT_CONTACTS
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_AddContactToList DIFFERENT_CONTACTS
-delete foobar
-[Endtest]
-
-// --- Test cases to test the Count function 
-
-[Test]
-title 18.Test_Count-MULTIPLE_CONTACTS
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_Count MULTIPLE_CONTACTS
-delete foobar
-[Endtest]
-
-[Test]
-title 19.Test_Count-ZERO_CONTACTS
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_Count ZERO_CONTACTS
-delete foobar
-[Endtest]
-
-// --- Test cases for FilteredContact function
-
-[Test]
-title 20.Test_FilteredContact-FILTER1
-create CVIMPSTStorageContactList_UT foobar
-// Passing 1, indicating the test case variant. Map with
-// the list of unit test case in the xls. Similarly in
-// test cases 21 and 22.
-foobar Test_FilteredContact 1
-delete foobar
-[Endtest]
-
-[Test]
-title 21.Test_FilteredContact-FILTER2
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilteredContact 2
-delete foobar
-[Endtest]
-
-[Test]
-title 22.Test_FilteredContact-FILTER3
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilteredContact 3
-delete foobar
-[Endtest]
-
-// --- Test Cases to check FilteredCount function
-
-[Test]
-title 25.Test_FilteredCount
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilteredCount 1
-delete foobar
-[Endtest]
-
-[Test]
-title 26.Test_FilteredCount
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilteredCount 2
-delete foobar
-[Endtest]
-
-[Test]
-title 27.Test_FilteredCount
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilteredCount 3
-delete foobar
-[Endtest]
-
-// --- FilterAllowsContact test cases ---
-
-[Test]
-title 28.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilterAllowsContact NULL FILTERNOTDEFINED 28
-delete foobar
-[Endtest]
-
-[Test]
-title 29.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilterAllowsContact NOTNULL FILTERONLINE 29
-delete foobar
-[Endtest]
-
-[Test]
-title 30.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilterAllowsContact NOTNULL FILTERAWAY 30
-delete foobar
-[Endtest]
-
-[Test]
-title 31.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FilterAllowsContact NOTNULL FILTERNOTDEFINED 31
-delete foobar
-[Endtest]
-
-// --- FindIndexOfContact test cases ---
-
-[Test]
-title 32.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FindIndexOfContact 1
-delete foobar
-[Endtest]
-
-[Test]
-title 33.Test_FilterAllowsContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FindIndexOfContact 2
-delete foobar
-[Endtest]
-
-[Test]
-title 34.Test_FindIndexOfContact
-create CVIMPSTStorageContactList_UT foobar
-foobar Test_FindIndexOfContact 3
-delete foobar
-[Endtest]
-