1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/inc/testvideoplayer.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,542 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Header file: Video Player Tests.
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __TESTVIDEOPLAYER_H__
1.22 +#define __TESTVIDEOPLAYER_H__
1.23 +
1.24 +#include "tsi_mmf_vclntavi_stepbase.h"
1.25 +#include "u32hal.h"
1.26 +#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
1.27 +#include <mmf/common/mmfvideoenums.h>
1.28 +#endif
1.29 +
1.30 +
1.31 +/**
1.32 + * Load and initialise a video file.
1.33 + *
1.34 + * RTestVclntPlayAviFile
1.35 + *
1.36 + */
1.37 +class RTestVclntPlayAviFile : public RTestVclntAviPlayerStep
1.38 + {
1.39 +public:
1.40 + RTestVclntPlayAviFile(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.41 + static RTestVclntPlayAviFile* NewL(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.42 + static RTestVclntPlayAviFile* NewLC(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.43 + virtual TVerdict DoTestStepL();
1.44 + virtual TVerdict DoTestL(CVideoPlayerUtility* aVideo);
1.45 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.46 + virtual TVerdict SetCacheSize();
1.47 +protected:
1.48 + const TBool iPlay;
1.49 + TTimeIntervalMicroSeconds iDuration;
1.50 + };
1.51 +
1.52 +
1.53 +/**
1.54 + * Load and initialise an video descriptor.
1.55 + *
1.56 + * RTestVclntPlayAviDes
1.57 + *
1.58 + */
1.59 +class RTestVclntPlayAviDes : public RTestVclntAviPlayerStep
1.60 + {
1.61 +public:
1.62 + RTestVclntPlayAviDes(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError,const TBool aPlay) ;
1.63 + static RTestVclntPlayAviDes* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError,const TBool aPlay);
1.64 + static RTestVclntPlayAviDes* NewLC(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError,const TBool aPlay);
1.65 + virtual TVerdict DoTestStepL();
1.66 + virtual TVerdict DoTestStepPreambleL();
1.67 + virtual TVerdict DoTestStepPostambleL();
1.68 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.69 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.70 +protected:
1.71 + HBufC8* iVideo; // Buffer for holding video descriptor data
1.72 + TTimeIntervalMicroSeconds iDuration;// Stores duration of video
1.73 + const TBool iPlay; // Does this test require playing the video
1.74 + } ;
1.75 +
1.76 +/**
1.77 + * Open video from a URL and play.
1.78 + *
1.79 + * RTestVclntPlayAviUrl
1.80 + *
1.81 + */
1.82 +
1.83 +class RTestVclntPlayAviUrl : public RTestVclntAviPlayerStep
1.84 + {
1.85 +public:
1.86 + RTestVclntPlayAviUrl(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.87 + static RTestVclntPlayAviUrl* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.88 + static RTestVclntPlayAviUrl* NewLC(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
1.89 + virtual TVerdict DoTestStepL();
1.90 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.91 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.92 +protected:
1.93 + TTimeIntervalMicroSeconds iDuration;// Stores duration of video
1.94 + const TBool iPlay; // Does this test require playing the video
1.95 + };
1.96 +
1.97 +/**
1.98 + * Set and enquire framerate
1.99 + *
1.100 + * RTestVclntEnqFrameRate
1.101 + *
1.102 + */
1.103 +class RTestVclntEnqFrameRate : public RTestVclntPlayAviFile
1.104 + {
1.105 +public:
1.106 + static RTestVclntEnqFrameRate* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aFrameRate);
1.107 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.108 +
1.109 +private:
1.110 + RTestVclntEnqFrameRate(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aFrameRate);
1.111 +
1.112 +private:
1.113 + TReal32 iFrameRate;
1.114 + };
1.115 +
1.116 +
1.117 +/**
1.118 + * set position and play form this position.
1.119 + *
1.120 + * RTestVclntPosition
1.121 + *
1.122 + */
1.123 +class RTestVclntPosition : public RTestVclntPlayAviFile
1.124 + {
1.125 +public:
1.126 + static RTestVclntPosition* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aPosition);
1.127 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.128 +private:
1.129 + RTestVclntPosition(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aPosition);
1.130 +
1.131 +private:
1.132 + TTimeIntervalMicroSeconds iPosition;
1.133 + };
1.134 +
1.135 +/**
1.136 + * Video priority
1.137 + *
1.138 + * RTestVclntPriority
1.139 + *
1.140 + */
1.141 +class RTestVclntPriority : public RTestVclntPlayAviFile
1.142 + {
1.143 +public:
1.144 + static RTestVclntPriority* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aPriority);
1.145 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.146 +private:
1.147 + RTestVclntPriority(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aPriority);
1.148 +
1.149 +private:
1.150 + TInt iPriority;
1.151 + };
1.152 +
1.153 +
1.154 +/**
1.155 + * Video duration
1.156 + *
1.157 + * RTestVclntDuration
1.158 + *
1.159 + */
1.160 +class RTestVclntDuration : public RTestVclntPlayAviFile
1.161 + {
1.162 +public:
1.163 + static RTestVclntDuration* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aDuration);
1.164 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.165 + virtual TVerdict SetCacheSize();
1.166 +private:
1.167 + RTestVclntDuration(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aDuration);
1.168 + SVMCacheInfo iCurrentCacheSize;
1.169 + TVerdict CheckCacheError(TInt aError);
1.170 + };
1.171 +
1.172 +
1.173 +/**
1.174 + * Video Volume
1.175 + *
1.176 + * RTestVclntVolume
1.177 + *
1.178 + */
1.179 +class RTestVclntVolume : public RTestVclntPlayAviFile
1.180 + {
1.181 +public:
1.182 + static RTestVclntVolume* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aVolume);
1.183 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.184 +private:
1.185 + RTestVclntVolume(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aVolume);
1.186 +
1.187 +private:
1.188 + TInt iVolume;
1.189 + };
1.190 +
1.191 +
1.192 +/**
1.193 + * Video open, close and then open again.
1.194 + *
1.195 + * RTestVclntCloseOpen
1.196 + *
1.197 + */
1.198 +class RTestVclntCloseOpen : public RTestVclntPlayAviFile
1.199 + {
1.200 +public:
1.201 + static RTestVclntCloseOpen* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.202 + virtual TVerdict DoTestStepL();
1.203 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.204 +private:
1.205 + RTestVclntCloseOpen(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.206 + TInt iOpenCount;
1.207 + };
1.208 +
1.209 +
1.210 +
1.211 +/**
1.212 + * Video pause.
1.213 + *
1.214 + * RTestVclntPause
1.215 + *
1.216 + */
1.217 +class RTestVclntPause : public RTestVclntPlayAviFile
1.218 + {
1.219 +public:
1.220 + static RTestVclntPause* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.221 + virtual TVerdict DoTestStepL();
1.222 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.223 +private:
1.224 + RTestVclntPause(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.225 + TUint iPlayerDuration;
1.226 + TUint iActualDuration;
1.227 + };
1.228 +
1.229 +
1.230 +/**
1.231 + * Video pause.
1.232 + *
1.233 + * RTestVclntBalance
1.234 + *
1.235 + */
1.236 +class RTestVclntBalance : public RTestVclntPlayAviFile
1.237 + {
1.238 +public:
1.239 + static RTestVclntBalance* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aBalance);
1.240 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.241 +private:
1.242 + RTestVclntBalance(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aBalance);
1.243 +
1.244 +private:
1.245 + TInt iBalance;
1.246 + };
1.247 +
1.248 +
1.249 +
1.250 +/**
1.251 + * Video set play window and delete play window.
1.252 + *
1.253 + * RTestVclntPlayWindow
1.254 + *
1.255 + */
1.256 +class RTestVclntPlayWindow : public RTestVclntPlayAviFile
1.257 + {
1.258 +public:
1.259 + static RTestVclntPlayWindow* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aStart, const TTimeIntervalMicroSeconds aEnd);
1.260 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.261 +private:
1.262 + RTestVclntPlayWindow(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TTimeIntervalMicroSeconds aStart, const TTimeIntervalMicroSeconds aEnd);
1.263 +
1.264 +private:
1.265 + TTimeIntervalMicroSeconds iStart;
1.266 + TTimeIntervalMicroSeconds iEnd;
1.267 + };
1.268 +
1.269 +
1.270 +/**
1.271 + * Video get meta data.
1.272 + *
1.273 + * RTestVclntMeta
1.274 + *
1.275 + */
1.276 +class RTestVclntMeta : public RTestVclntPlayAviFile
1.277 + {
1.278 +public:
1.279 + static RTestVclntMeta* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.280 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.281 +private:
1.282 + RTestVclntMeta(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.283 +
1.284 +private:
1.285 + TTimeIntervalMicroSeconds iStart;
1.286 + TTimeIntervalMicroSeconds iEnd;
1.287 + };
1.288 +
1.289 +
1.290 +/**
1.291 + * Video get framesize.
1.292 + *
1.293 + * RTestVclntFrameSize
1.294 + *
1.295 + */
1.296 +class RTestVclntFrameSize : public RTestVclntPlayAviFile
1.297 + {
1.298 +public:
1.299 + static RTestVclntFrameSize* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.300 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.301 +private:
1.302 + RTestVclntFrameSize(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.303 +private:
1.304 + TSize iFrameSize;
1.305 + };
1.306 +
1.307 +
1.308 +/**
1.309 + * Video get mime type.
1.310 + *
1.311 + * RTestVclntMimeType
1.312 + *
1.313 + */
1.314 +class RTestVclntMimeType : public RTestVclntPlayAviFile
1.315 + {
1.316 +public:
1.317 + static RTestVclntMimeType* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.318 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.319 +private:
1.320 + RTestVclntMimeType(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.321 + };
1.322 +
1.323 +
1.324 +/**
1.325 + * Video player scale values test.
1.326 + *
1.327 + * RTestVclntScale
1.328 + *
1.329 + */
1.330 +class RTestVclntScale : public RTestVclntPlayAviFile
1.331 + {
1.332 +public:
1.333 + static RTestVclntScale* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.334 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.335 +private:
1.336 + RTestVclntScale(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.337 + };
1.338 +
1.339 +/**
1.340 + * Crop test for video
1.341 + *
1.342 + * RTestVclntCrop
1.343 + *
1.344 + */
1.345 +class RTestVclntCrop : public RTestVclntPlayAviFile
1.346 + {
1.347 +public:
1.348 + static RTestVclntCrop* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.349 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.350 +private:
1.351 + RTestVclntCrop(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.352 + };
1.353 +
1.354 +#ifdef SYMBIAN_BUILD_GCE
1.355 +
1.356 +/**
1.357 +Auto scale test for video
1.358 +*/
1.359 +
1.360 +class RTestVclntAutoScale : public RTestVclntPlayAviFile
1.361 + {
1.362 +public:
1.363 + static RTestVclntAutoScale* NewL(const TDesC& aTestName);
1.364 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.365 +private:
1.366 + RTestVclntAutoScale(const TDesC& aTestName);
1.367 + };
1.368 +
1.369 +#endif // SYMBIAN_BUILD_GCE
1.370 +
1.371 +/**
1.372 + * Frame test for video.
1.373 + *
1.374 + * RTestVclntGetFrame
1.375 + *
1.376 + */
1.377 +class RTestVclntGetFrame : public RTestVclntPlayAviFile
1.378 + {
1.379 +public:
1.380 + static RTestVclntGetFrame* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError, TBool aUseIntentAPI);
1.381 + virtual TVerdict DoTestStepL();
1.382 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.383 +protected:
1.384 + virtual void MvpuoFrameReady(CFbsBitmap& aFrame,TInt aError);
1.385 +private:
1.386 + RTestVclntGetFrame(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, TBool aUseIntentAPI);
1.387 + TBool iUseIntentAPI;
1.388 + };
1.389 +
1.390 +
1.391 +/**
1.392 + * Video rebuffering.
1.393 + *
1.394 + * RTestVclntRebuffering
1.395 + *
1.396 + */
1.397 +class RTestVclntRebuffering : public RTestVclntPlayAviFile, public MVideoLoadingObserver
1.398 + {
1.399 +public:
1.400 + static RTestVclntRebuffering* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.401 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.402 + void MvloLoadingStarted();
1.403 + void MvloLoadingComplete();
1.404 +private:
1.405 + RTestVclntRebuffering(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.406 + };
1.407 +
1.408 +/**
1.409 + * Video get framesize.
1.410 + *
1.411 + * RTestVclntRepeat
1.412 + *
1.413 + */
1.414 +class RTestVclntRepeat : public RTestVclntPlayAviFile
1.415 + {
1.416 +public:
1.417 + static RTestVclntRepeat* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aRepeat);
1.418 + virtual TVerdict DoTestL(CVideoPlayerUtility* aPlayer);
1.419 +private:
1.420 + RTestVclntRepeat(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TInt aRepeat);
1.421 +private:
1.422 + TInt iRepeat;
1.423 + };
1.424 +
1.425 +
1.426 +
1.427 +/**
1.428 + * Video Delete object while playing
1.429 + *
1.430 + * RTestVclntDelete
1.431 + *
1.432 + */
1.433 +class RTestVclntDelete : public RTestVclntPlayAviFile
1.434 + {
1.435 +public:
1.436 + static RTestVclntDelete* NewL(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.437 + virtual TVerdict DoTestStepL();
1.438 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.439 +private:
1.440 + RTestVclntDelete(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError);
1.441 + };
1.442 +
1.443 +/**
1.444 + * Play Video file
1.445 + *
1.446 + * RTestVclntPlayAviFileHandle
1.447 + *
1.448 + */
1.449 +class RTestVclntPlayAviFileHandle : public RTestVclntAviPlayerStep
1.450 + {
1.451 +public:
1.452 + RTestVclntPlayAviFileHandle(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError, const TBool aAlloc);
1.453 + static RTestVclntPlayAviFileHandle* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError, const TBool aAlloc);
1.454 + static RTestVclntPlayAviFileHandle* NewLC(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError, const TBool aAlloc);
1.455 + virtual TVerdict DoTestStepL();
1.456 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.457 + virtual TInt SetCacheSize();
1.458 + virtual TInt CheckCacheError(TInt aError);
1.459 +
1.460 +protected:
1.461 + TVerdict PerformTestStepL();
1.462 + const TBool iAlloc; // Is this test an Alloc test
1.463 + TTimeIntervalMicroSeconds iDuration; // Stores duration of video
1.464 + RFs iFs;
1.465 + RFile iFile;
1.466 + TBool iIsOpen;
1.467 + };
1.468 +
1.469 +/**
1.470 +
1.471 +RTestVideoPlayCapabilityVelocity
1.472 +
1.473 +*/
1.474 +class RTestVideoPlayCapabilityVelocity: public RTestVclntAviPlayerStep
1.475 + {
1.476 +public:
1.477 + RTestVideoPlayCapabilityVelocity(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.478 + static RTestVideoPlayCapabilityVelocity* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.479 + virtual TVerdict DoTestStepL();
1.480 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.481 +protected:
1.482 + TVideoPlayRateCapabilities iVideoPlayRateCapabilities;
1.483 + TInt iPlayVelocity;
1.484 + RFs iFs;
1.485 + RFile iFile;
1.486 + };
1.487 +
1.488 +/**
1.489 +
1.490 +RTestVideoPlayStepFrame
1.491 +
1.492 +*/
1.493 +class RTestVideoPlayStepFrame: public RTestVclntAviPlayerStep
1.494 + {
1.495 +public:
1.496 + RTestVideoPlayStepFrame(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.497 + static RTestVideoPlayStepFrame* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.498 + virtual TVerdict DoTestStepL();
1.499 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.500 + static TInt TimerCallback(TAny* aPtr);
1.501 +protected:
1.502 + TVideoPlayRateCapabilities iVideoPlayRateCapabilities;
1.503 + CPeriodic* iTimer;
1.504 + TInt iPlayVelocity;
1.505 + RFs iFs;
1.506 + RFile iFile;
1.507 + };
1.508 +
1.509 +/**
1.510 +
1.511 +RTestVideoPlayCapabilityVelocity
1.512 +
1.513 +*/
1.514 +class RTestVideoPlayAudVidEnable: public RTestVclntAviPlayerStep
1.515 + {
1.516 +public:
1.517 + RTestVideoPlayAudVidEnable(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.518 + static RTestVideoPlayAudVidEnable* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.519 + virtual TVerdict DoTestStepL();
1.520 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.521 +protected:
1.522 + TInt iPlayVelocity;
1.523 + RFs iFs;
1.524 + RFile iFile;
1.525 + };
1.526 +
1.527 +/**
1.528 +
1.529 +RTestVideoPlayAutoScale
1.530 +
1.531 +*/
1.532 +class RTestVideoPlayAutoScale: public RTestVclntAviPlayerStep
1.533 + {
1.534 +public:
1.535 + RTestVideoPlayAutoScale(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.536 + static RTestVideoPlayAutoScale* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, TInt aExpectedError);
1.537 + virtual TVerdict DoTestStepL();
1.538 + virtual void FsmL(TVclntTestPlayEvents aEventCode);
1.539 +protected:
1.540 + TInt iPlayVelocity;
1.541 + RFs iFs;
1.542 + RFile iFile;
1.543 + };
1.544 +
1.545 +#endif //__TESTVIDEOPLAYER_H__