equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 #define __E32TEST_EXTENSION__ |
17 #define __E32TEST_EXTENSION__ |
18 |
18 |
19 #include "T_Fatcharsetconv_aux.h" |
19 #include "t_fatcharsetconv_aux.h" |
20 #include <f32file.h> |
20 #include <f32file.h> |
21 #include <e32test.h> |
21 #include <e32test.h> |
22 #include <e32svr.h> |
22 #include <e32svr.h> |
23 #include <HAL.H> |
23 #include <hal.h> |
24 #include <f32fsys.h> |
24 #include <f32fsys.h> |
25 #include <f32dbg.h> |
25 #include <f32dbg.h> |
26 #include "..\server\t_server.h" |
26 #include "../server/t_server.h" |
27 |
27 |
28 //#include "fat_utils.h" |
28 //#include "fat_utils.h" |
29 |
29 |
30 extern RFile TheFile; |
30 extern RFile TheFile; |
31 |
31 |
570 void DoSymbianSpecificCases() |
570 void DoSymbianSpecificCases() |
571 { |
571 { |
572 gLogFailureData.iTCTypeName = KSymbianFATSpecific; |
572 gLogFailureData.iTCTypeName = KSymbianFATSpecific; |
573 gLogFailureData.iAPIName= KNone; |
573 gLogFailureData.iAPIName= KNone; |
574 |
574 |
575 // Store current file name |
575 // the preprocessor macro gives a C/C++ zero-terminated string; use overloaded ::Copy() |
576 TFileName fileName; |
576 // Why oh why does TPtrC8 not have a "char *" constructor ... |
577 TInt i=0; |
577 gFileName.Copy(TPtrC8((const TUint8*)__FILE__)); |
578 while(__FILE__[i]!='\0') |
|
579 { |
|
580 fileName.SetLength(i+1); |
|
581 fileName[i] = __FILE__[i++]; |
|
582 } |
|
583 gFileName = fileName; |
|
584 |
578 |
585 gLogFailureData.iFuncName = KTestLeadingE5Handling; |
579 gLogFailureData.iFuncName = KTestLeadingE5Handling; |
586 TestLeadingE5Handling(); |
580 TestLeadingE5Handling(); |
587 |
581 |
588 gLogFailureData.iFuncName = KTestIllegalCharsWithDll; |
582 gLogFailureData.iFuncName = KTestIllegalCharsWithDll; |