mmlibs/mmfw/tsrc/mmfunittest/srtdecoder/inc/testsrtreader.h
changeset 0 b8ed18f6c07b
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     1 // Copyright (c) 2008-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 //
       
    15 
       
    16 #ifndef TESTSRTREADER_H
       
    17 #define TESTSRTREADER_H
       
    18 
       
    19 #include <testframework.h>
       
    20 #include "testsrtdecoder.h"
       
    21 
       
    22 /* 
       
    23 Test GetBuffer with a valid source
       
    24 MM-MMF-SUBTITLE-SRTREADER-U-0001-HP
       
    25 */
       
    26 NONSHARABLE_CLASS(RTestSrtReaderStep0001) : public RTestSrtDecoderStep
       
    27 	{
       
    28 public:
       
    29 	RTestSrtReaderStep0001();
       
    30 
       
    31 private:
       
    32 	// from RTestStep;
       
    33 	TVerdict DoTestStepL();
       
    34 	TVerdict DoTestStepPreambleL();
       
    35 	TVerdict DoTestStepPostambleL();
       
    36 	
       
    37 private:	
       
    38     RFs iFsSession;
       
    39 	};
       
    40 
       
    41 /* 
       
    42 Test constructor without source
       
    43 MM-MMF-SUBTITLE-SRTREADER-U-0100-HP
       
    44 */
       
    45 NONSHARABLE_CLASS(RTestSrtReaderStep0100) : public RTestStep
       
    46 	{
       
    47 public:
       
    48 	RTestSrtReaderStep0100();
       
    49 
       
    50 private:
       
    51 	// from RTestStep;
       
    52 	TVerdict DoTestStepL();
       
    53 	};
       
    54 	
       
    55 #endif // TESTSRTREADER_H