equal
deleted
inserted
replaced
57 ECancelAsyncIPCError, |
57 ECancelAsyncIPCError, |
58 EEventPanic |
58 EEventPanic |
59 }; |
59 }; |
60 |
60 |
61 // Struct to Test report settings |
61 // Struct to Test report settings |
62 class TTestReportSettings |
62 NONSHARABLE_CLASS(CTestReportSettings) |
|
63 :public CBase |
63 { |
64 { |
64 public: |
65 public: |
65 |
66 |
66 TTestReportSettings(){ iCreateTestReport = ETrue; |
67 /** |
67 iPath = NULL; |
68 * NewL is two-phased constructor. |
68 iName = NULL; |
69 */ |
69 iFormat = CStifLogger::ETxt; |
70 static CTestReportSettings* NewL(); |
70 iOutput = CStifLogger::EFile; |
71 |
71 iOverwrite = ETrue; |
72 |
72 iXML = EFalse; |
73 ~CTestReportSettings(); |
73 } |
74 |
74 |
75 private: |
75 ~TTestReportSettings(){ delete iPath; delete iName; } |
76 CTestReportSettings(); |
|
77 /** |
|
78 * By default Symbian OS constructor is private. |
|
79 */ |
|
80 void ConstructL(); |
76 |
81 |
77 public: |
82 public: |
78 |
83 |
79 TBool iCreateTestReport; // Test report creation mode |
84 TBool iCreateTestReport; // Test report creation mode |
80 HBufC* iPath; // Test report path |
85 HBufC* iPath; // Test report path |
229 void ConstructL(); |
234 void ConstructL(); |
230 |
235 |
231 |
236 |
232 public: // Data |
237 public: // Data |
233 // Test report settings |
238 // Test report settings |
234 TTestReportSettings iTestReportSettings; |
239 CTestReportSettings* iTestReportSettings; |
235 |
240 |
236 // Logger overwrite settings |
241 // Logger overwrite settings |
237 TLoggerSettings iLoggerSettings; |
242 TLoggerSettings iLoggerSettings; |
238 |
243 |
239 protected: // Data |
244 protected: // Data |