testexecfw/stf/stfext/testmodules/teftestmod/teftestmodulefw/tefutilities/TEFUtilityServer/inc/tefbuildinfologstep.h
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     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 "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 * CTestStep derived test step class to print OS build version to log file output
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file TEFBuildInfoLogStep.h
       
    23 */
       
    24 
       
    25 #if (!defined __TEF_BUILD_INFO_LOG_STEP_H__)
       
    26 #define __TEF_BUILD_INFO_LOG_STEP_H__
       
    27 
       
    28 
       
    29 #include <test/testexecutestepbase.h>
       
    30 #include <e32std.h>
       
    31 #include <f32file.h>
       
    32 #if !(defined TEF_LITE)
       
    33 #include <bautils.h>
       
    34 #endif
       
    35 _LIT(KPrintBuildInfo,"PrintBuildInfo");
       
    36 _LIT(KBuildInfoFilePath,"?:\\TEFUtilityServer\\data\\BuildInfo.txt");
       
    37 _LIT8(KBuildNumberFlag,"ManufacturerSoftwareBuild");
       
    38 
       
    39 const TInt KOffsetToBuildNumber = 27; // Length of ManufacturerSoftwareBuild + 2 spaces 
       
    40 const TInt KLengthOfBuildNumber = 5; // Length of current build number
       
    41 
       
    42 class CTEFBuildInfoLogStep : public CTestStep
       
    43 {
       
    44 public:
       
    45 	CTEFBuildInfoLogStep();
       
    46 public:
       
    47 	virtual	TVerdict	doTestStepL();
       
    48 	virtual	TVerdict	doTestStepPreambleL();
       
    49 	virtual	TVerdict	doTestStepPostambleL();
       
    50 
       
    51 private:
       
    52 	RFs		iFs;
       
    53 	// Keeps the status of the file server session object
       
    54 	TBool	iSessionConnected;	
       
    55 };
       
    56 
       
    57 #endif