diff -r ffa4311257f6 -r e7f34e614544 tsrc/conf/CVIMPSTStorageContact_UT.cfg --- a/tsrc/conf/CVIMPSTStorageContact_UT.cfg Wed Sep 15 11:57:55 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,205 +0,0 @@ -[Define] - -USERID nokia@nokia.com -USERID1 sonyericsson@sony.com -DISPLAYNAME connectingpeople -DISPLAYNAME1 Lordaeron -AVATARCONTENT jejamma jejamma -NULL null - -UNKNOWN EUnknown -OFFLINE EOffline -ONLINE EOnline -INVISIBLE EInvisible -AWAY EAway -BUSY EBusy -ONPHONE EOnPhone -DND EDoNotDisturb -PENDING EPending -BLOCKED EBlocked - -STATUSTEXT TheAngelFallsForMe - -POSITIVEINDEX 3 -NEGATIVEINDEX -3 -ZEROINDEX 0 -NULLINDEX 0 - -[Enddefine] - - // Test Cases 1-8 , Test for the NewL function. - -[Test] -title 1.CreateStorageContact-Valid Userid Valid DisplayName -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact USERID DISPLAYNAME NULL -delete obj -[Endtest] - -[Test] -title 2.CreateStorageContact-Valid Userid Null DisplayName -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact USERID NULL NULL -delete obj -[Endtest] - -[Test] -title 3.CreateStorageContact-Null Userid Valid DisplayName -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact NULL DISPLAYNAME NULL -delete obj -[Endtest] - -[Test] -title 4.CreateStorageContact-Null Userid Null DisplayName -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact NULL NULL NULL -delete obj -[Endtest] - -[Test] -title 5.CreateStorageContact-Valid Userid Valid DisplayName Null ContactLink -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact USERID DISPLAYNAME CLINK -delete obj -[Endtest] - -[Test] -title 6.CreateStorageContact-Valid Userid Null DisplayName Null ContactLink -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact USERID NULL CLINK -delete obj -[Endtest] - -[Test] -title 7.CreateStorageContact-Null Userid Valid DisplayName Null ContactLink -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact NULL DISPLAYNAME CLINK -delete obj -[Endtest] - -[Test] -title 8.CreateStorageContact-Null Userid Null DisplayName Null ContactLink -create CVIMPSTStorageContact_UT obj -obj CreateStorageContact NULL NULL CLINK -delete obj -[Endtest] - -// Test Cases 9-10, Test for UserId() and SetUserId () - -[Test] -title 9.SetGetUserId-ValidId -create CVIMPSTStorageContact_UT obj -obj SetGetUserId USERID1 -delete obj -[Endtest] - -[Test] -title 10.SetGetUserId-NullId -create CVIMPSTStorageContact_UT obj -obj SetGetUserId NULL -delete obj -[Endtest] - -// Test Cases 11-12, Test for Avatar() and SetAvatarContentL() - -[Test] -title 11.SetAvatarContent-ValidContent -create CVIMPSTStorageContact_UT obj -obj SetAvatarContent AVATARCONTENT -delete obj -[Endtest] - -[Test] -title 12.SetAvatarContent-NullContent -create CVIMPSTStorageContact_UT obj -obj SetAvatarContent NULL -delete obj -[Endtest] - -// Test Cases 13-14, Test for DisplayName() and SetDisplayName() - -[Test] -title 13.SetGetDisplayName-ValidName -create CVIMPSTStorageContact_UT obj -obj SetGetDisplayName DISPLAYNAME1 -delete obj -[Endtest] - -[Test] -title 14.SetGetDisplayName-NullId -create CVIMPSTStorageContact_UT obj -obj SetGetDisplayName NULL -delete obj -[Endtest] - -// Test Cases 15-16, Test for OnlineStatus() and SetOnlineStatus() - -[Test] -title 15.SetGetPresenceStatus-ValidState -create CVIMPSTStorageContact_UT obj -obj SetGetPresenceStatus ONPHONE -delete obj -[Endtest] - -[Test] -title 16.SetGetPresenceStatus-InValidState -create CVIMPSTStorageContact_UT obj -obj SetGetPresenceStatus NULL -delete obj -[Endtest] - -// Test Cases 17-18, Test for StatusText() and SetStatusText() - -[Test] -title 17.SetGetStatusText-ValidText -create CVIMPSTStorageContact_UT obj -obj SetGetStatusText STATUSTEXT -delete obj -[Endtest] - -[Test] -title 18.SetGetStatusText-NullText -create CVIMPSTStorageContact_UT obj -obj SetGetStatusText NULL -delete obj -[Endtest] - -// Test Cases 19-22, Test for AvatarIndex() and SetAvatarIndex() - -[Test] -title 19.SetGetAvatarIndex-PositiveIndex -create CVIMPSTStorageContact_UT obj -obj SetGetAvatarIndex POSITIVEINDEX -delete obj -[Endtest] - -[Test] -title 20.SetGetAvatarIndex-NegativeIndex -create CVIMPSTStorageContact_UT obj -obj SetGetAvatarIndex NEGATIVEINDEX -delete obj -[Endtest] - -[Test] -title 21.SetGetAvatarIndex-ZeroIndex -create CVIMPSTStorageContact_UT obj -obj SetGetAvatarIndex ZEROINDEX -delete obj -[Endtest] - -[Test] -title 22.SetGetAvatarIndex-NullIndex -create CVIMPSTStorageContact_UT obj -obj SetGetAvatarIndex NULLINDEX -delete obj -[Endtest] - -// Test case 23, Test for ContactLink() - -[Test] -title 23.ContactLink -create CVIMPSTStorageContact_UT obj -obj ContactLink -delete obj -[Endtest] \ No newline at end of file