--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/imservices/ossprotocoladaptation/tsrc/ossadapmt/conf/ossadapmt.cfg Thu Dec 17 08:54:49 2009 +0200
@@ -0,0 +1,665 @@
+// Definitions
+[Define]
+SERVER chat.gizmoproject.com
+//USERNAME testlmnokia@chat.gizmoproject.com
+//PASSWORD loudmouth
+RECIPIENT basu.bellary@gmail.com
+MESSAGE Hello
+RESOURCE mytest12345rt
+
+USERNAME ximptelepathy@gmail.com
+PASSWORD tele1236
+SETTINGSID 3
+SERVICE_ID 3
+InvalidSettingsId -100
+UnexistJID testlmnokia1111@chat.gizmoproject.com
+badpassword 12345
+badserver chat.gizmoprojeeeect.com
+UsernameWithBadServer testlmnokia@chat.gizmoprojeeeeect.com
+SpecialUSERNAME im:here%27s_a_wild_%26_%2Fcr%zy%2F_address@chat.gizmoproject.com
+LONGUSERNAME im:here%27s_a_wild_%26_%2Fcr%zy%2F_address_here%27s_a_wild_%26_%2Fcr%zy%2F_address_here%27s_a_wild_%26_%2Fcr%zy%2F_address@chat.gizmoproject.com
+LONGPASSWORD loudmouthloudmouthloudmouthloudmouthloudmouthloudmouthloudmouthloudmouthloudmouthloudmouthloudmouth
+LONGMESSAGE HelloworldHelloworldHelloworldHelloworldHelloworldHelloworldHelloworldHelloworldHelloworlsfsdfdgdfgdfgdfgdfgdf
+REPEATEDMESSAGE RepeatingHello
+SMILEYMESSAGE :):-);-):-D:D:-(:(
+
+LONGGMAILUSERID abcd123456abcd123456abcd123456
+GMAILPWD nokia123
+
+//PROXY_SERVER 172.16.42.135
+PROXY_SERVER 172.16.9.182
+PROXY_PORT 8080
+
+WrongPassword wrongpassword
+NoContactUserName emptycontactlist@gmail.com
+NoContactPassword emptylist
+300contactsUsername rakesh.harsh@gmail.com
+300contactsPassword live_life
+InvalidUserName invalidxmppid@gmail.com
+CapitalUserName XIMPTELEPATHY@gmail.com
+MixedUserName XIMPteLePathy@gmail.com
+MaxCharUserName abcd123456abcd123456abcd123456@gmail.com
+MaxCharIdPassword nokia123
+MaxCharExceedUserName abcd123456abcd123456abcd123456abcd123456abcd123456@gmail.com
+MinCharUserName ab123d@gmail.com
+MinCharIdPassword nokia123
+LessthanMincharUserName #*%4@gmail.com
+BlankUserName " "
+UserNamewithspace ximptelepathy @gmail.com
+SpecialCharUserName #$%^&*(*&^$#@gmail.com
+WrongDomainUserName ximptelepathy@hello.com
+//contact management
+Validcontact tele1236@gmail.com
+NonExistingContact invalidxmppid@gmail.com
+BlankContact " "
+NonDomainUserName amsmartuknow
+
+
+Message Hello
+MsgSpecialChars #^(&$@!~`+_)/>.,<|%25?
+450CharLenghthMsg abcdefghij1234567890abcdefghij1234567890\abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890\abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890\abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890\
+
+BlankMsg ' '
+Recipient junk1236@gmail.com
+Recipient1 basu.bellary@gmail.com
+Recipient2 ximptelepathy@gmail.com
+Recipient3 me.papillon@gmail.com
+InvalidRecipientId invalidxmppid@gmail.com
+OfflineContact offline45@gmail.com
+
+statustext i am always available
+InstantMessaging instant-messaging
+DeviceName mobile_phone
+Onlinestatus T
+UserAvailibility1 0 //NPresenceInfo::ENotAvailable
+UserAvailibility2 1 //NPresenceInfo::EBusy
+UserAvailibility3 2 //0NPresenceInfo::EAvailable
+UserAvailibilityText1 I am available
+UserAvailibilityText2 I am busy
+UserAvailibilityText3 I am away
+Language PreferredLanguage
+StatusContentfield StatusContent
+DirectContentfield DirectContent
+ContentTypefield, ContentType
+
+// ClientInfo attribute value tags
+ClientInfo ClientInfo
+ClientType ClientType
+ClientLanguage Language
+DevManufacturer DevManufacturer
+ClientProducer ClientProducer
+DeviceModel Model
+ClientVersion ClientVersion
+ClientTypeMobilePhone MOBILE_PHONE
+ClientTypeComputer COMPUTER
+ClientTypePDA PDA
+ClientTypeCLI CLI
+ClientTypeOther OTHER
+
+StatusMoodfield StatusMood
+Aliasfield Alias
+Age Age
+
+//Presence Attributes
+Registration Registration
+TimeZone TimeZone
+GeoLocation GeoLocation
+Address Address
+FreeTextLocation FreeTextLocation
+Plmn PLMN
+PreferredContacts PreferredContacts
+PreferredLanguage PreferredLanguage
+StatusMood StatusMood
+ContactInfo ContactInfo
+
+// StatusText attribute value tags
+StatusTextfield StatusText
+
+// Online Status attribute value tags
+OnlineStatusfield OnlineStatus
+
+
+//avtar file
+AVATARFILE C:\data\Images\test.jpg
+
+[Enddefine]
+// ossadaptation related test cases
+
+
+[Test]
+title GetSearchKeyEnumL
+create ossadapmt ossadap
+ossadap GetSearchKeyEnumL USERNAME PASSWORD SETTINGSID
+delete ossadap
+[Endtest]
+
+
+[Test]
+title GetSearchKeyLabelL
+create ossadapmt ossadap
+ossadap GetSearchKeyLabelL USERNAME PASSWORD SETTINGSID
+delete ossadap
+[Endtest]
+
+
+[Test]
+title GetSearchKeyEnumNLabelL
+create ossadapmt ossadap
+ossadap GetSearchKeyEnumNLabelL USERNAME PASSWORD SETTINGSID
+delete ossadap
+[Endtest]
+
+
+[Test]
+title SecondSearchL
+create ossadapmt ossadap
+ossadap SecondSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+
+
+[Test]
+title SearchAndAddToIML
+create ossadapmt ossadap
+ossadap SearchAndAddToIML USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title Login
+create ossadapmt ossadap
+ossadap Login USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginInvalidUser
+create ossadapmt ossadap
+ossadap Login_InvalidData InvalidUserName PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginWrongPassword
+create ossadapmt ossadap
+ossadap Login_InvalidData USERNAME WrongPassword SERVICE_ID
+delete ossadap
+[Endtest]
+[Test]
+title Login_Logout_sequential
+create ossadapmt ossadap
+ossadap Login_Logout_sequential USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginUserIdCapital
+create ossadapmt ossadap
+ossadap Login CapitalUserName PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginMixedLetterId
+create ossadapmt ossadap
+ossadap Login MixedUserName PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginMaxCharId
+create ossadapmt ossadap
+ossadap Login MaxCharUserName MaxCharIdPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginMaxCharExceeded
+create ossadapmt ossadap
+ossadap Login_InvalidData MaxCharExceedUserName WrongPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginMinCharId
+create ossadapmt ossadap
+ossadap Login MinCharUserName MinCharIdPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginLessthanMinCharId
+create ossadapmt ossadap
+ossadap Login_InvalidData LessthanMincharUserName MinCharIdPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginBlankUserId
+create ossadapmt ossadap
+ossadap Login_InvalidData BlankUserName MinCharIdPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginUserIdwithSpace
+create ossadapmt ossadap
+ossadap Login_InvalidData UserNamewithspace PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title LoginInvalidSettingsId
+create ossadapmt ossadap
+ossadap Login_InvalidData USERNAME PASSWORD InvalidSettingsId
+delete ossadap
+[Endtest]
+
+[Test]
+title Unbind
+create ossadapmt ossadap
+ossadap Unbind USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title Get contacts
+create ossadapmt ossadap
+ossadap GetContacts USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title Fetch_300_Contacts
+create ossadapmt ossadap
+ossadap GetContacts 300contactsUsername 300contactsPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title FetchEmptyContactList
+create ossadapmt ossadap
+ossadap GetContacts NoContactUserName NoContactPassword SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title Send message
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID Message Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Send empty message
+create ossadapmt ossadap
+ossadap Sendemptymessage USERNAME PASSWORD SERVICE_ID Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Sendmessage_invaliduserid
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID Message InvalidRecipientId
+delete ossadap
+[Endtest]
+
+[Test]
+title Sendmessage_specialchars
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID MsgSpecialChars Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Sendmessage_offlinecontact
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID Message OfflineContact
+delete ossadap
+[Endtest]
+
+[Test]
+title Sendmessage_longmessage
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID LongMsg Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Send_450_char_message
+create ossadapmt ossadap
+ossadap Sendmessage USERNAME PASSWORD SERVICE_ID 450CharLenghthMsg Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Send_ten_messages
+create ossadapmt ossadap
+ossadap Send_ten_messages USERNAME PASSWORD SERVICE_ID Message Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Send_twenty_messages
+create ossadapmt ossadap
+ossadap Send_twenty_messages USERNAME PASSWORD SERVICE_ID Message Recipient
+delete ossadap
+[Endtest]
+
+[Test]
+title Sendmessage_multiplecontacts
+create ossadapmt ossadap
+ossadap Sendmessage_multiplecontacts USERNAME PASSWORD SERVICE_ID Message Recipient Recipient1 Recipient2 Recipient3
+delete ossadap
+[Endtest]
+
+[Test]
+title Receivemessage
+create ossadapmt ossadap
+ossadap Receivemessage USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Receiveemptymessage
+create ossadapmt ossadap
+ossadap Receiveemptymessage USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title Receivelongmessage
+create ossadapmt ossadap
+ossadap Receivemessage USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Receive_450_char_message
+create ossadapmt ossadap
+ossadap Receivemessage USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Receivemessage_specialchars
+create ossadapmt ossadap
+ossadap Receivemessage USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Receive_ten_messages
+create ossadapmt ossadap
+ossadap Receive_ten_messages USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Receive_twenty_message
+create ossadapmt ossadap
+ossadap Receive_twenty_message USERNAME PASSWORD SERVICE_ID Message
+delete ossadap
+[Endtest]
+
+[Test]
+title Add_valid_conatct
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title AddNonExistingContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID NonExistingContact
+delete ossadap
+[Endtest]
+
+[Test]
+title AddMaxCharContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID MaxCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddMoreThanMaxCharContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID MaxCharExceedUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddMinCharContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID MinCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddLessThanMinCharContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID LessthanMincharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddSpecialCharInvalidContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID SpecialCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddBlankContact
+create ossadapmt ossadap
+ossadap Add_Blank_Conatct USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+
+[Test]
+title AddWithoutDomainContact
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID NonDomainUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title AddAlreadyAddedConatct
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title AddWrongDomainContactL
+create ossadapmt ossadap
+ossadap Add_conatct USERNAME PASSWORD SERVICE_ID WrongDomainUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title Delete_valid_conatct
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID Validcontact
+delete ossadap
+[Endtest]
+
+
+[Test]
+title DeleteNonExistingContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID NonExistingContact
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteMaxCharContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID MaxCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteMoreThanMaxCharContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID MaxCharExceedUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteMinCharContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID MinCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteLessThanMinxCharContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID LessthanMincharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteSpecialCharInvalidContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID SpecialCharUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteBlankContact
+create ossadapmt ossadap
+ossadap Delete_Blank_Conatct USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteWithoutDomainContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID NonDomainUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title DeleteWrongDomainContact
+create ossadapmt ossadap
+ossadap Delete_conatct USERNAME PASSWORD SERVICE_ID WrongDomainUserName
+delete ossadap
+[Endtest]
+
+[Test]
+title Publish_ownpresence_available
+create ossadapmt ossadap
+ossadap Publish_ownpresence USERNAME PASSWORD SERVICE_ID UserAvailibility1 UserAvailibilityText1
+delete ossadap
+[Endtest]
+
+[Test]
+title Publish_ownpresence_busy
+create ossadapmt ossadap
+ossadap Publish_ownpresence USERNAME PASSWORD SERVICE_ID UserAvailibility2 UserAvailibilityText2
+delete ossadap
+[Endtest]
+
+[Test]
+title Publish_ownpresence_not_available
+create ossadapmt ossadap
+ossadap Publish_ownpresence USERNAME PASSWORD SERVICE_ID UserAvailibility3 UserAvailibilityText3
+delete ossadap
+[Endtest]
+
+[Test]
+title Publish_ownpresence_emptytext
+create ossadapmt ossadap
+ossadap Publish_ownpresence_emptytext USERNAME PASSWORD SERVICE_ID UserAvailibility3
+delete ossadap
+[Endtest]
+
+[Test]
+title AcceptAddnotificationRequest
+create ossadapmt ossadap
+ossadap AcceptnotificationRequest USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title RejectAddnotificationRequest
+create ossadapmt ossadap
+ossadap RejectAddnotificationRequest USERNAME PASSWORD SERVICE_ID
+delete ossadap
+[Endtest]
+
+[Test]
+title ImOperations_Coverage
+create ossadapmt ossadap
+ossadap ImOperations_Coverage USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title SimpleSearchL
+create ossadapmt ossadap
+ossadap SimpleSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title MultipleSearchL
+create ossadapmt ossadap
+ossadap MultipleSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title NoResultSearchL
+create ossadapmt ossadap
+ossadap NoResultSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title ManyResultsSearchL
+create ossadapmt ossadap
+ossadap ManyResultsSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title BlankSearchL
+create ossadapmt ossadap
+ossadap BlankSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title MaxCharSearchL
+create ossadapmt ossadap
+ossadap MaxCharSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title SpecialCharSearchL
+create ossadapmt ossadap
+ossadap SpecialCharSearchL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title SearchEmailIDL
+create ossadapmt ossadap
+ossadap SearchEmailIDL USERNAME PASSWORD SERVICE_ID Message Recipient Validcontact
+delete ossadap
+[Endtest]
+
+[Test]
+title Set_Avtar
+create ossadapmt ossadap
+ossadap SetAvtar USERNAME PASSWORD SERVICE_ID AVATARFILE
+delete ossadap
+[Endtest]