0
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef __T_PERF_UTILS_SETUP_STEP_H__
|
|
21 |
#define __T_PERF_UTILS_SETUP_STEP_H__
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
//user includes
|
|
26 |
#include "UtilsStep.h"
|
|
27 |
|
|
28 |
/*@{*/
|
|
29 |
//Literals used
|
|
30 |
_LIT(KT_SetupStep, "SetupStep" );
|
|
31 |
/*@}*/
|
|
32 |
|
|
33 |
|
|
34 |
class CT_SetupStep : public CT_UtilsStep
|
|
35 |
/**
|
|
36 |
@test
|
|
37 |
@publishedPartner
|
|
38 |
*/
|
|
39 |
{
|
|
40 |
public:
|
|
41 |
~CT_SetupStep();
|
|
42 |
CT_SetupStep();
|
|
43 |
TVerdict doTestStepL();
|
|
44 |
TVerdict doTestStepPreambleL();
|
|
45 |
|
|
46 |
private:
|
|
47 |
void CreateDirTreeL();
|
|
48 |
void CreateFileL(TDesC& aPath);
|
|
49 |
void CreateFileDataL(RFile& aFile);
|
|
50 |
|
|
51 |
|
|
52 |
private:
|
|
53 |
TInt iFileSize;
|
|
54 |
TInt iDirTreeDepth;
|
|
55 |
TInt iNumOfFiles;
|
|
56 |
TPtrC iFileBaseName;
|
|
57 |
TPtrC iDirSubName;
|
|
58 |
TPtrC iFileData;
|
|
59 |
|
|
60 |
};
|
|
61 |
|
|
62 |
|
|
63 |
#endif /* __T_PERF_UTILS_SETUP_STEP_H__ */
|