appfw/apparchitecture/tef/T_EnvSlots/T_EnvSlots.H
changeset 0 2e3d3ce01487
child 29 6a787171e1de
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2005-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 "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 // Header File for the test application for environment slots verification
       
    15 // Declares literals and macros used in T_EnvSlots.CPP .\n
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalComponent - Internal Symbian test code 
       
    22 */
       
    23 
       
    24 #ifndef __T_ENVSLOTS_H__
       
    25 #define __T_ENVSLOTS_H__
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <e32base.h>
       
    29 #include <e32uid.h>
       
    30 #include <e32cmn.h>
       
    31 #include <f32file.h>
       
    32 #include <e32test.h>
       
    33 #include <apacmdln.h>
       
    34 #include <apgcli.h>
       
    35 #include "apparctestserver.h"
       
    36 #include "appfwk_test_appui.h"
       
    37 
       
    38 
       
    39 //!  A Environment slots reader test class. 
       
    40 
       
    41 /**
       
    42   Test Environment slots of the process.
       
    43 */
       
    44 	
       
    45 _LIT(KTLogFileAccess,"TestLogFile");
       
    46 _LIT(KFilePath,"c:\\logs\\TestExecute\\EnvSlots.txt");
       
    47 _LIT(KTAppName,"Z:\\sys\\bin\\T_EnvSlots.exe");
       
    48 _LIT(KTDocName,"C:\\System\\data\\temp.test");
       
    49 _LIT(KTEnvSlots,"T_EnvSlots");
       
    50 
       
    51 _LIT8(KTPass,"TestPass");
       
    52 _LIT8(KTFail,"TestFail");
       
    53 _LIT8(KTApp,"ApplName");
       
    54 _LIT8(KTDoc,"DocuName");
       
    55 _LIT8(KTCommand,"ECommand");
       
    56 
       
    57 const TInt PASS = 1;
       
    58 const TInt FAIL = 0;
       
    59 
       
    60 #define TESTCOND(a,b) if(a != b)  \
       
    61 {\
       
    62 	testResult = FAIL;\
       
    63 }\
       
    64 
       
    65 const TInt KMaxFilePath=50;
       
    66 #endif //__T_ENVSLOTS_H__
       
    67