equal
deleted
inserted
replaced
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // The "contacts matching" part of the test will work only if r_log_contact_match_count |
14 // |
15 // resource value is not 0. See LogServ.rss file. |
15 // If this test starts failing, then go and check the CentralRepository private data cage |
16 // |
16 // (c:\\private\\10202be9 or z:\\private\\10202be9) if 101f401d.txt file is there. |
|
17 // If it is then delete it and try the test again. |
|
18 // (The problem is that if there is an existing 101f401d.txt file, then the contact match count value |
|
19 // will be loaded from that file, not from the LogEng resource file) |
17 // |
20 // |
18 |
21 |
19 #include <bautils.h> |
22 #include <bautils.h> |
20 #include <logserv.rsg> |
23 #include <logserv.rsg> |
21 #include <barsc.h> |
24 #include <barsc.h> |
368 TestUtils::DeleteDatabaseL(); |
371 TestUtils::DeleteDatabaseL(); |
369 |
372 |
370 CLogClient* client = CLogClient::NewL(theFs); |
373 CLogClient* client = CLogClient::NewL(theFs); |
371 CleanupStack::PushL(client); |
374 CleanupStack::PushL(client); |
372 |
375 |
|
376 //All tests bellow are likely to fail if 101f401d.txt file exists in CentralRepository private data cage |
|
377 //and the contact mach count is set to 0 in that file. |
373 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1392: DEF068087: Chinese names don't display in Chinese name format")); |
378 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1392: DEF068087: Chinese names don't display in Chinese name format")); |
374 ::DEF068087L(*client); |
379 ::DEF068087L(*client); |
375 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1016: Contacts matching - test1")); |
380 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1016: Contacts matching - test1")); |
376 TestContactMatch1L(*client); |
381 TestContactMatch1L(*client); |
377 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1017: Contacts matching - test2")); |
382 test.Next(_L(" @SYMTestCaseID:SYSLIB-LOGENG-CT-1017: Contacts matching - test2")); |