equal
deleted
inserted
replaced
15 #include "t_logutil2.h" |
15 #include "t_logutil2.h" |
16 #include "t_logutil3.h" |
16 #include "t_logutil3.h" |
17 #include "t_logcntmatchplugin.h" |
17 #include "t_logcntmatchplugin.h" |
18 |
18 |
19 RTest TheTest(_L("t_logcntmatch")); |
19 RTest TheTest(_L("t_logcntmatch")); |
|
20 |
|
21 #ifdef SYSLIBS_TEST |
20 |
22 |
21 TBool TheMatchingIsEnabled = EFalse; |
23 TBool TheMatchingIsEnabled = EFalse; |
22 //TheContactNameFmt variable must be initialized before tests. |
24 //TheContactNameFmt variable must be initialized before tests. |
23 //It gives an information what is the contact name format in the logs. |
25 //It gives an information what is the contact name format in the logs. |
24 TLogContactNameFormat TheContactNameFmt = ELogWesternFormat; |
26 TLogContactNameFormat TheContactNameFmt = ELogWesternFormat; |
316 |
318 |
317 TestUtils::DeleteDatabaseL(); |
319 TestUtils::DeleteDatabaseL(); |
318 |
320 |
319 CleanupStack::PopAndDestroy(client); |
321 CleanupStack::PopAndDestroy(client); |
320 } |
322 } |
|
323 |
|
324 #else //SYSLIBS_TEST |
|
325 |
|
326 void doTestsL() |
|
327 { |
|
328 TheTest.Start(_L("This test can be run only when built with SYSLIBS_TEST macro defined!")); |
|
329 } |
|
330 |
|
331 #endif //SYSLIBS_TEST |