os/persistentdata/traceservices/commsdebugutility/TE_commsdebugutility/inc/step_028_xx.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/traceservices/commsdebugutility/TE_commsdebugutility/inc/step_028_xx.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,305 @@
     1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +
    1.18 +#include <comms-infras/commsdebugutility.h>
    1.19 +
    1.20 +
    1.21 +
    1.22 +#if (!defined __STEP_028_XX_H__)
    1.23 +#define __STEP_028_XX_H__
    1.24 +
    1.25 +class CFloggerTest028_Sync_Setup : public CTestStepFlogger
    1.26 +	{
    1.27 +	public:
    1.28 +	CFloggerTest028_Sync_Setup();
    1.29 +	~CFloggerTest028_Sync_Setup();
    1.30 +
    1.31 +
    1.32 +	virtual enum TVerdict doTestStepL( void );	
    1.33 +	TInt executeStepL();
    1.34 +	TInt executeStepL(TBool);	
    1.35 +	};
    1.36 +
    1.37 +
    1.38 +
    1.39 +class CFloggerTest028_Sync_ConWriteUni : public CTestStepFlogger
    1.40 +	{
    1.41 +	public:
    1.42 +	CFloggerTest028_Sync_ConWriteUni();
    1.43 +	~CFloggerTest028_Sync_ConWriteUni();
    1.44 +
    1.45 +	TInt DoTestCheckWriteL();
    1.46 +
    1.47 +	virtual enum TVerdict doTestStepL( void );	
    1.48 +	TInt executeStepL();
    1.49 +	TInt executeStepL(TBool);	
    1.50 +	};
    1.51 +
    1.52 +class CFloggerTest028_Sync_ConWriteUniBound : public CTestStepFlogger
    1.53 +	{
    1.54 +	public:
    1.55 +	CFloggerTest028_Sync_ConWriteUniBound();
    1.56 +	~CFloggerTest028_Sync_ConWriteUniBound();
    1.57 +
    1.58 +	TInt DoTestCheckWriteL();
    1.59 +
    1.60 +	virtual enum TVerdict doTestStepL( void );	
    1.61 +	TInt executeStepL();
    1.62 +	TInt executeStepL(TBool);	
    1.63 +	};
    1.64 +	
    1.65 +	
    1.66 +class CFloggerTest028_Sync_ConWriteFormatEUni : public CTestStepFlogger
    1.67 +	{
    1.68 +	public:
    1.69 +	CFloggerTest028_Sync_ConWriteFormatEUni();
    1.70 +	~CFloggerTest028_Sync_ConWriteFormatEUni();
    1.71 +
    1.72 +	TInt DoTestCheckWriteL();
    1.73 +
    1.74 +	virtual enum TVerdict doTestStepL( void );	
    1.75 +	TInt executeStepL();
    1.76 +	TInt executeStepL(TBool);	
    1.77 +	};
    1.78 +
    1.79 +class CFloggerTest028_Sync_ConWriteFormatEUniBound : public CTestStepFlogger
    1.80 +	{
    1.81 +	public:
    1.82 +	CFloggerTest028_Sync_ConWriteFormatEUniBound();
    1.83 +	~CFloggerTest028_Sync_ConWriteFormatEUniBound();
    1.84 +
    1.85 +	TInt DoTestCheckWriteL();
    1.86 +
    1.87 +	virtual enum TVerdict doTestStepL( void );	
    1.88 +	TInt executeStepL();
    1.89 +	TInt executeStepL(TBool);	
    1.90 +	};
    1.91 +	
    1.92 +	
    1.93 +class CFloggerTest028_Sync_ConWriteFormatV8Bit : public CTestStepFlogger
    1.94 +	{
    1.95 +	public:
    1.96 +	CFloggerTest028_Sync_ConWriteFormatV8Bit();
    1.97 +	~CFloggerTest028_Sync_ConWriteFormatV8Bit();
    1.98 +
    1.99 +    void DoTestWriteFormat(TRefByValue<const TDesC8> aFmt,...);
   1.100 +	TInt DoTestCheckWriteL();
   1.101 +
   1.102 +	virtual enum TVerdict doTestStepL( void );	
   1.103 +	TInt executeStepL();
   1.104 +	TInt executeStepL(TBool);	
   1.105 +	private:
   1.106 +	RFileLogger flogger;
   1.107 +	
   1.108 +	};
   1.109 +
   1.110 +class CFloggerTest028_Sync_ConWriteFormatV8BitBound : public CTestStepFlogger
   1.111 +	{
   1.112 +	public:
   1.113 +	CFloggerTest028_Sync_ConWriteFormatV8BitBound();
   1.114 +	~CFloggerTest028_Sync_ConWriteFormatV8BitBound();
   1.115 +
   1.116 +    void DoTestWriteFormat(TRefByValue<const TDesC8> aFmt,...);
   1.117 +	TInt DoTestCheckWriteL();
   1.118 +
   1.119 +	virtual enum TVerdict doTestStepL( void );	
   1.120 +	TInt executeStepL();
   1.121 +	TInt executeStepL(TBool);	
   1.122 +	private:
   1.123 +	RFileLogger flogger;
   1.124 +	};
   1.125 +	
   1.126 +class CFloggerTest028_Sync_Static_WriteUni : public CTestStepFlogger
   1.127 +	{
   1.128 +	public:
   1.129 +	CFloggerTest028_Sync_Static_WriteUni();
   1.130 +	~CFloggerTest028_Sync_Static_WriteUni();
   1.131 +
   1.132 +	TInt DoTestCheckWriteL();
   1.133 +
   1.134 +	virtual enum TVerdict doTestStepL( void );	
   1.135 +	TInt executeStepL();
   1.136 +	TInt executeStepL(TBool);	
   1.137 +	private:
   1.138 +	RFileLogger flogger;
   1.139 +	
   1.140 +	};
   1.141 +
   1.142 +class CFloggerTest028_Sync_Static_WriteUniBound : public CTestStepFlogger
   1.143 +	{
   1.144 +	public:
   1.145 +	CFloggerTest028_Sync_Static_WriteUniBound();
   1.146 +	~CFloggerTest028_Sync_Static_WriteUniBound();
   1.147 +
   1.148 +	TInt DoTestCheckWriteL();
   1.149 +
   1.150 +	virtual enum TVerdict doTestStepL( void );	
   1.151 +	TInt executeStepL();
   1.152 +	TInt executeStepL(TBool);	
   1.153 +	private:
   1.154 +	RFileLogger flogger;
   1.155 +	};
   1.156 +	
   1.157 +	
   1.158 +class CFloggerTest028_Sync_Static_WriteFormatVUni : public CTestStepFlogger
   1.159 +	{
   1.160 +	public:
   1.161 +	CFloggerTest028_Sync_Static_WriteFormatVUni();
   1.162 +	~CFloggerTest028_Sync_Static_WriteFormatVUni();
   1.163 +
   1.164 +    void DoTestWriteFormat(TRefByValue<const TDesC16> aFmt,...);
   1.165 +	TInt DoTestCheckWriteL();
   1.166 +
   1.167 +	virtual enum TVerdict doTestStepL( void );	
   1.168 +	TInt executeStepL();
   1.169 +	TInt executeStepL(TBool);	
   1.170 +	private:
   1.171 +	RFileLogger flogger;
   1.172 +	
   1.173 +	};
   1.174 +
   1.175 +class CFloggerTest028_Sync_Static_WriteFormatVUniBound : public CTestStepFlogger
   1.176 +	{
   1.177 +	public:
   1.178 +	CFloggerTest028_Sync_Static_WriteFormatVUniBound();
   1.179 +	~CFloggerTest028_Sync_Static_WriteFormatVUniBound();
   1.180 +
   1.181 +    void DoTestWriteFormat(TRefByValue<const TDesC16> aFmt,...);
   1.182 +	TInt DoTestCheckWriteL();
   1.183 +
   1.184 +	virtual enum TVerdict doTestStepL( void );	
   1.185 +	TInt executeStepL();
   1.186 +	TInt executeStepL(TBool);	
   1.187 +	private:
   1.188 +	RFileLogger flogger;
   1.189 +	};
   1.190 +	
   1.191 +	
   1.192 +	
   1.193 +class CFloggerTest028_Sync_Static_HexDump : public CTestStepFlogger
   1.194 +	{
   1.195 +	public:
   1.196 +	CFloggerTest028_Sync_Static_HexDump();
   1.197 +	~CFloggerTest028_Sync_Static_HexDump();
   1.198 +
   1.199 +	TInt DoTestCheckWriteL();
   1.200 +
   1.201 +	virtual enum TVerdict doTestStepL( void );	
   1.202 +	TInt executeStepL();
   1.203 +	TInt executeStepL(TBool);	
   1.204 +	private:
   1.205 +	RFileLogger flogger;
   1.206 +	
   1.207 +	};
   1.208 +	
   1.209 +	
   1.210 +class CFloggerTest028_Sync_ClearLog : public CTestStepFlogger
   1.211 +	{
   1.212 +	public:
   1.213 +	CFloggerTest028_Sync_ClearLog();
   1.214 +	~CFloggerTest028_Sync_ClearLog();
   1.215 +
   1.216 +	TInt DoTestCheckWriteL();
   1.217 +
   1.218 +	virtual enum TVerdict doTestStepL( void );	
   1.219 +	TInt executeStepL();
   1.220 +	TInt executeStepL(TBool);	
   1.221 +	private:
   1.222 +	RFileLogger flogger;
   1.223 +	
   1.224 +	};
   1.225 +	
   1.226 +
   1.227 +class CFloggerTest028_Sync_Binary : public CTestStepFlogger
   1.228 +	{
   1.229 +	public:
   1.230 +	CFloggerTest028_Sync_Binary();
   1.231 +	~CFloggerTest028_Sync_Binary();
   1.232 +
   1.233 +	TInt DoTestCheckWriteL();
   1.234 +
   1.235 +	virtual enum TVerdict doTestStepL( void );	
   1.236 +	TInt executeStepL();
   1.237 +	TInt executeStepL(TBool);	
   1.238 +	private:
   1.239 +	RFileLogger flogger;
   1.240 +	
   1.241 +	};
   1.242 +	
   1.243 +	
   1.244 +class CFloggerTest028_Sync_ConMultiple : public CTestStepFlogger
   1.245 +	{
   1.246 +	public:
   1.247 +	CFloggerTest028_Sync_ConMultiple();
   1.248 +	~CFloggerTest028_Sync_ConMultiple();
   1.249 +
   1.250 +    void DoTestWriteFormat(TRefByValue<const TDesC8> aFmt,...);
   1.251 +   	TInt DoTestCheckWriteL();
   1.252 +
   1.253 +	virtual enum TVerdict doTestStepL( void );	
   1.254 +	TInt executeStepL();
   1.255 +	TInt executeStepL(TBool);	
   1.256 +	private:
   1.257 +	RFileLogger flogger;   // a member so we don't have to pass to "DoTestWriteFormat"
   1.258 +	
   1.259 +	};
   1.260 +	
   1.261 +
   1.262 +class CFloggerTest028_Sync_Static_Multiple : public CTestStepFlogger
   1.263 +	{
   1.264 +	public:
   1.265 +	CFloggerTest028_Sync_Static_Multiple();
   1.266 +	~CFloggerTest028_Sync_Static_Multiple();
   1.267 +
   1.268 +    void DoTestWriteFormat(TRefByValue<const TDesC16> aFmt,...);
   1.269 +   	TInt DoTestCheckWriteL();
   1.270 +
   1.271 +	virtual enum TVerdict doTestStepL( void );	
   1.272 +	TInt executeStepL();
   1.273 +	TInt executeStepL(TBool);	
   1.274 +	
   1.275 +	};
   1.276 +	
   1.277 +class CFloggerTest028_Sync_ConMultiple2 : public CTestStepFlogger
   1.278 +	{
   1.279 +	public:
   1.280 +	CFloggerTest028_Sync_ConMultiple2();
   1.281 +	~CFloggerTest028_Sync_ConMultiple2();
   1.282 +
   1.283 +    void DoTestWriteFormat(TRefByValue<const TDesC8> aFmt,...);
   1.284 +   	TInt DoTestCheckWriteL();
   1.285 +
   1.286 +	virtual enum TVerdict doTestStepL( void );	
   1.287 +	TInt executeStepL();
   1.288 +	TInt executeStepL(TBool);	
   1.289 +	private:
   1.290 +	RFileLogger flogger;   // a member so we don't have to pass to "DoTestWriteFormat"
   1.291 +	
   1.292 +	};
   1.293 +	
   1.294 +class CFloggerTest028_Sync_Static_Multiple2 : public CTestStepFlogger
   1.295 +	{
   1.296 +	public:
   1.297 +	CFloggerTest028_Sync_Static_Multiple2();
   1.298 +	~CFloggerTest028_Sync_Static_Multiple2();
   1.299 +
   1.300 +    void DoTestWriteFormat(TRefByValue<const TDesC16> aFmt,...);
   1.301 +   	TInt DoTestCheckWriteL();
   1.302 +
   1.303 +	virtual enum TVerdict doTestStepL( void );	
   1.304 +	TInt executeStepL();
   1.305 +	TInt executeStepL(TBool);	
   1.306 +	
   1.307 +	};
   1.308 +#endif //(__STEP_028_XX_H__)