equal
deleted
inserted
replaced
106 // Store the initial count of process and thread handles |
106 // Store the initial count of process and thread handles |
107 TInt initThreadHandleCount; |
107 TInt initThreadHandleCount; |
108 TInt initProcessHandleCount; |
108 TInt initProcessHandleCount; |
109 RThread().HandleCount(initProcessHandleCount, initThreadHandleCount); |
109 RThread().HandleCount(initProcessHandleCount, initThreadHandleCount); |
110 |
110 |
111 |
111 testSetup->LogFile().write(_L("<html><body><pre>\r\n")); |
112 testSetup->LogFile().write(_L("State of the system before the tests:\n")); |
112 testSetup->LogFile().write(_L("State of the system before the tests:\n")); |
113 testSetup->LogFile().write(_L("\tRFs resource count: %d\n"), initRFsCount); |
113 testSetup->LogFile().write(_L("\tRFs resource count: %d\n"), initRFsCount); |
114 testSetup->LogFile().write(_L("\tProcess handle count: %d\n"), initProcessHandleCount); |
114 testSetup->LogFile().write(_L("\tProcess handle count: %d\n"), initProcessHandleCount); |
115 testSetup->LogFile().write(_L("\tThread handle count: %d\n"), initThreadHandleCount); |
115 testSetup->LogFile().write(_L("\tThread handle count: %d\n"), initThreadHandleCount); |
116 |
116 |
390 |
390 |
391 return ETrue; |
391 return ETrue; |
392 } |
392 } |
393 |
393 |
394 |
394 |
395 CTestSetup::~CTestSetup() |
395 EXPORT_C CTestSetup::~CTestSetup() |
396 { |
396 { |
397 delete iLogFile; |
397 delete iLogFile; |
398 delete iTestConsole; |
398 delete iTestConsole; |
399 if (iConsoleOwned) |
399 if (iConsoleOwned) |
400 { |
400 { |