smsprotocols/smsstack/test/TE_SMSPDUDB/TE_smspdudbbase.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2000-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 // @file
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef _TE_SMSPDUDBBASE_H_
       
    19 #define _TE_SMSPDUDBBASE_H_
       
    20 
       
    21 #include "smspdudb.h"
       
    22 #include <e32base.h>
       
    23 #include <f32file.h>
       
    24 #include "e32test.h"
       
    25 #include "c32comm.h"
       
    26 #include "Gsmumsg.h"
       
    27 #include "gsmubuf.h"
       
    28 #include "smsstacktestutilities.h"
       
    29 
       
    30 #include <testconfigfileparser.h>
       
    31 #include <test/testexecuteserverbase.h>
       
    32 
       
    33 _LIT(KSmsPduDbTestFilename, "te_smspdudb.txt");
       
    34 _LIT(KSmsPduDbTestOutput, "c:\\sms\\te_smspdudb_parsed.txt");
       
    35 
       
    36 class CSmsPduDbTestStep : public CTestStep
       
    37 {
       
    38 
       
    39 public:
       
    40 	void PrintBuffer(const CSmsPduDbBase& aPdu);
       
    41 	void PrintMessage(TInt aIndex, const CSmsPduDbMessage& aMessage);
       
    42 	void PrintPdu(TInt aIndex, const CSmsPduDbPdu& aPdu);
       
    43 	void PrintSegment(TInt aIndex, const CSmsPduDbConcatSegment& aPdu);
       
    44 	void PrintConcat(TInt aIndex, const CSmsPduDbConcat& aConcat);
       
    45 	void DisplayCompileErrorL(const CTestConfigSection& aSection, const CTestConfigItem& aItem, TInt aError);
       
    46 
       
    47 
       
    48 public:
       
    49  	virtual TVerdict doTestStepPreambleL();
       
    50 	virtual TVerdict doTestStepPostambleL();
       
    51 
       
    52 	RFs iFs;
       
    53 	CSmsStackTestUtils* iSmsStackTestUtils;
       
    54 
       
    55 };
       
    56 
       
    57 #endif