Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef TESTSRTDECODERREGIONFUNCS_H
17 #define TESTSRTDECODERREGIONFUNCS_H
19 #include <testframework.h>
20 #include "testsrtdecoder.h"
23 class CSrtSubtitleDecoder;
26 Test functions of calculating region, setting video position, starting and stopping decoding.
27 MM-MMF-SUBTITLE-SRTDECODER-U-0001-HP
29 NONSHARABLE_CLASS (RTestSrtDecoderStep0001) : public RTestSrtDecoderStep
32 RTestSrtDecoderStep0001();
36 TVerdict DoTestStepL();
37 TVerdict DoTestStepPreambleL();
38 TVerdict DoTestStepPostambleL();
40 virtual TVerdict TestCalculateSubtitleRegion();
41 virtual TVerdict TestSetVideoPosition();
42 virtual TVerdict TestStartStop();
46 Test functions of calculating invalid regions, setting invalid video position.
47 MM-MMF-SUBTITLE-SRTDECODER-U-0102-HP
49 NONSHARABLE_CLASS (RTestSrtDecoderStep0102) : public RTestSrtDecoderStep
52 RTestSrtDecoderStep0102();
56 TVerdict DoTestStepL();
57 TVerdict DoTestStepPreambleL();
58 TVerdict DoTestStepPostambleL();
60 TVerdict TestCalculateSubtitleRegion();
61 TVerdict TestStartStop();
65 Test functions of calculating invalid regions, setting invalid video position.
66 MM-MMF-SUBTITLE-SRTDECODER-U-0104-HP
68 NONSHARABLE_CLASS (RTestSrtDecoderStep0104) : public RTestSrtDecoderStep
71 RTestSrtDecoderStep0104();
75 TVerdict DoTestStepL();
78 #endif // TESTSRTDECODERREGIONFUNCS_H