|
1 // Copyright (c) 2006-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\loader\t_loader_delete.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef F32TEST_LOADER_T_LOADER_DELETE_H |
|
19 #define F32TEST_LOADER_T_LOADER_DELETE_H |
|
20 |
|
21 #include <e32ldr.h> |
|
22 |
|
23 /** Test that RLoader::Delete handles the case of a bad desciptor being |
|
24 passed as a filename |
|
25 */ |
|
26 _LIT(KBadDescriptor,"BadDescriptor"); |
|
27 |
|
28 /** Test cam delete this TCB-writable file with RLoader::Delete. */ |
|
29 _LIT(KTldTcbFile, "c:\\sys\\temp\\tld_target.dat"); |
|
30 /** Test can delete this AllFiles writable file outside of \sys\. */ |
|
31 _LIT(KTldAllFilesFile, "c:\\private\\12345678\\tld_target.dat"); |
|
32 /** Test cannot delete unqualified filename. */ |
|
33 _LIT(KTldFileNoPath, "tld_target.dat"); |
|
34 /** Test cannot delete filename with no drive. */ |
|
35 _LIT(KTldFileNoDrive, "\\sys\\temp\\tld_target.dat"); |
|
36 /** Test cannot delete this file, which lives in a path that does not exist. */ |
|
37 _LIT(KTldFileNonExist, "c:\\sys\\temp\\tld_target_nonexist.dat"); |
|
38 /** Test cannot delete this file, which does not exist. */ |
|
39 _LIT(KTldFileNonExistRoot, "c:\\tld_target_nonexist.dat"); |
|
40 /** Test cannot delete this file, which does not exist. */ |
|
41 _LIT(KTldFileNonExistDir, "c:\\tld_dir_nonexist\\tld_target_nonexist.dat"); |
|
42 /** |
|
43 tld_helper uses this panic category to communicate the result of |
|
44 RLoader::Delete to t_loader_delete. |
|
45 */ |
|
46 |
|
47 _LIT(KTldPanicCat, "tldpc"); |
|
48 |
|
49 #endif // #ifndef F32TEST_LOADER_T_LOADER_DELETE_H |