plugins/contacts/symbian/plugin/tsrc/ut_symbian/test_data.txt
changeset 0 876b1a06bc25
child 5 603d3f8b6302
equal deleted inserted replaced
-1:000000000000 0:876b1a06bc25
       
     1 // This file is exported to c:/filtering/test_data.txt
       
     2 //
       
     3 // Usage [FilterType: Definition, Field, Value, MatchFlag, Results, Error expected]
       
     4 //
       
     5 // Match flags: 0 = MatchExactly;
       
     6 //        		1 = MatchContains;
       
     7 //				2 = MatchStartsWith;
       
     8 //        		3 = MatchEndsWith;
       
     9 //				default = MatchFixedString;;  ---> This not supporeted.
       
    10 //												It represents a failing case
       
    11 //
       
    12 // Error expected:	0 = NoError (default)
       
    13 //					9 = NotSupportedError
       
    14 //					10 = BadArgumentError
       
    15 //
       
    16 // ************************************************************************************
       
    17 
       
    18 //Name  First ,Last 
       
    19 // Contact created in code.
       
    20 // Stefann Fedrernn +02644424423 ste.Fed@nokia.com
       
    21 // Johnn Lenonn +026434234423 Len.Jo@nokia.com
       
    22 // Joronn Bondnn  29143225214423 Joronn.Bondnn@nokia.com
       
    23 // Micheal Jack  +358035022423 micheal.jack@nokia.com
       
    24 // Susan Daniel  +044035022423 dan.susa@nokia.com
       
    25 //-----------------------------------------------------------------------
       
    26 //Name - Match exactly
       
    27 [ContactDetailFilter1: Name, FirstName, Stefann,MatchExactly, 1, 0]
       
    28 [ContactDetailFilter2: Name, LastName, Daniel,MatchExactly, 1, 0]
       
    29          //Name - MatchContains
       
    30 [ContactDetailFilter3: Name, FirstName, nn,MatchContains, 3, 0]
       
    31 [ContactDetailFilter4: Name, LastName, n,MatchContains, 4, 0]
       
    32          //Name - MatchStartsWith
       
    33 [ContactDetailFilter5: Name, FirstName, Jo,MatchStartsWith, 2, 0]
       
    34 [ContactDetailFilter6: Name, LastName, Len,MatchStartsWith, 1, 0]
       
    35          //Name - MatchEndsWith
       
    36 [ContactDetailFilter7: Name, FirstName, nn,MatchEndsWith, 3, 0]
       
    37 [ContactDetailFilter8: Name, LastName, ack,MatchEndsWith, 1, 0]
       
    38          //Name - No results search
       
    39 [ContactDetailFilter9: Name, FirstName, King,MatchEndsWith, 0, 0]
       
    40 [ContactDetailFilter10: Name, LastName, Queen,MatchEndsWith, 0, 0]
       
    41 //-----------------------------------------------------------------------
       
    42 //Email - Match exactly
       
    43 [ContactDetailFilter11: EmailAddress, EmailAddress, ste.Fed@nokia.com,MatchExactly, 1, 0]
       
    44 //Email - MatchContains
       
    45 [ContactDetailFilter12: EmailAddress, EmailAddress, nokia,MatchContains, 5, 0]
       
    46 //Email - MatchStartsWith
       
    47 [ContactDetailFilter13: EmailAddress, EmailAddress, Joronn,MatchStartsWith, 1, 0]
       
    48 //Email - MatchEndsWith
       
    49 [ContactDetailFilter14: EmailAddress, EmailAddress, com,MatchEndsWith, 5, 0]
       
    50 //Email - No results search
       
    51 [ContactDetailFilter15: EmailAddress, EmailAddress, andrewf,MatchEndsWith, 0, 0]
       
    52 //-----------------------------------------------------------------------
       
    53 //Phonenumber - Match number
       
    54 [ContactDetailFilter16: PhoneNumber, PhoneNumber, +026434234423,MatchPhoneNumber, 1, 0]
       
    55 [ContactDetailFilter17: PhoneNumber, PhoneNumber, 035022423,MatchPhoneNumber, 2, 0]
       
    56 [ContactDetailFilter18: PhoneNumber, PhoneNumber, 35891,MatchPhoneNumber, 1, 0]
       
    57 //Phonenumber - No results search
       
    58 [ContactDetailFilter19: PhoneNumber, PhoneNumber, 225214,MatchPhoneNumber, 0, 0]
       
    59 [ContactDetailFilter20: PhoneNumber, PhoneNumber, +358,MatchPhoneNumber, 0, 0]
       
    60 [ContactDetailFilter21: PhoneNumber, PhoneNumber, 52252361425342322,MatchPhoneNumber, 0, 0]
       
    61 
       
    62 //-----------------------------------------------------------------------
       
    63 // [ActionFilter: ActionName, Value, Vendor, 20]
       
    64 
       
    65 // [ContactDetailRangeFilter: ActionName, Value, Vendor, 20]
       
    66 
       
    67 // [ChangeLogFilter: Name, Fieldtype, Kiki ]
       
    68 
       
    69 // [RelationshipFilter: ActionName, Value, Vendor, 20]
       
    70 
       
    71 // [IntersectionFilter: (Name, First, Kiki, 1, 20) || ()]
       
    72 
       
    73 // [UnionFilter: (Name, First, Kiki, 1, 20) && ()]
       
    74 
       
    75 // [LocalIdFilter: Name, Fieldtype, Kiki, 1, 20]
       
    76 
       
    77 // [DefaultFilter: Name, Fieldtype, Kiki, 1, 20]
       
    78 
       
    79 // [InvalidFilter: Name, Fieldtype, Kiki, 1, 20]