|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // f32test\server\t_server.h |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined(__T_STD_H__) |
|
19 #define __T_STD_H__ |
|
20 |
|
21 GLREF_C void CallTestsL(); |
|
22 GLREF_C void CreateTestDirectory(const TDesC& aTestPath); |
|
23 GLREF_C void DeleteTestDirectory(); |
|
24 GLREF_C TInt CurrentDrive(); |
|
25 GLREF_C void MakeFile(const TDesC& aFileName); |
|
26 GLREF_C void MakeFile(const TDesC& aFileName,const TDesC8& aContents); |
|
27 GLREF_C void MakeFile(const TDesC& aFileName,const TUidType& aUidType,const TDesC8& aContents); |
|
28 GLREF_C void MakeFile(const TDesC& aFileName,TInt anAttributes); |
|
29 GLREF_C void MakeDir(const TDesC& aDirName); |
|
30 GLREF_C void ReportCheckDiskFailure(TInt aRet); |
|
31 GLREF_C void CheckDisk(); |
|
32 GLREF_C void CreateLongName(TDes& aFileName,TInt64& aSeed,TInt aLength=-1); |
|
33 GLREF_C void CreateShortName(TDes& aFileName,TInt64& aSeed); |
|
34 |
|
35 GLREF_C TInt DismountFileSystem(RFs& aFs, const TDesC& aFileSystemName,TInt aDrive); |
|
36 GLREF_C TInt MountFileSystem(RFs& aFs, const TDesC& aFileSystemName,TInt aDrive, TBool aIsSync=EFalse); |
|
37 |
|
38 |
|
39 GLREF_D RTest test; |
|
40 GLREF_D RFs TheFs; |
|
41 |
|
42 GLREF_D TFileName gSessionPath; |
|
43 GLREF_D TInt64 gSeed; |
|
44 GLREF_D TChar gDriveToTest; |
|
45 GLREF_D TFileCacheFlags gDriveCacheFlags; |
|
46 |
|
47 #endif |