1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 |
|
18 #ifndef UT_MUSENGREMOTEVIDEOPLAYER_H |
|
19 #define UT_MUSENGREMOTEVIDEOPLAYER_H |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <ceunittestsuiteclass.h> |
|
24 #include <eunitmacros.h> |
|
25 #include "musengstubs.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CMceSession; |
|
29 class CMusEngRemoteVideoPlayer; |
|
30 |
|
31 |
|
32 // CLASS DEFINITION |
|
33 /** |
|
34 * |
|
35 */ |
|
36 NONSHARABLE_CLASS( UT_CMusEngRemoteVideoPlayer ): public CEUnitTestSuiteClass |
|
37 { |
|
38 public: // Constructors and destructors |
|
39 |
|
40 /** |
|
41 * Two phase construction |
|
42 */ |
|
43 static UT_CMusEngRemoteVideoPlayer* NewL(); |
|
44 static UT_CMusEngRemoteVideoPlayer* NewLC(); |
|
45 |
|
46 /** |
|
47 * Destructor |
|
48 */ |
|
49 ~UT_CMusEngRemoteVideoPlayer(); |
|
50 |
|
51 private: // Constructors and destructors |
|
52 |
|
53 UT_CMusEngRemoteVideoPlayer(); |
|
54 void ConstructL(); |
|
55 |
|
56 private: // Test case setup and teardown |
|
57 |
|
58 void SetupL(); |
|
59 void Teardown(); |
|
60 |
|
61 private: // Test methdods |
|
62 |
|
63 void UT_NewLL(); |
|
64 void UT_LcVideoPlayerStateL(); |
|
65 void UT_LcPlayL(); |
|
66 void UT_LcWindowL(); |
|
67 void UT_LcCameraControlL(); |
|
68 void UT_LcSourceFileControlL(); |
|
69 void UT_LcDestinationFileControlL(); |
|
70 void UT_LcAudioControlL(); |
|
71 void UT_LcZoomControlL(); |
|
72 void UT_LcBrightnessControlL(); |
|
73 void UT_EnableLcWindowL(); |
|
74 void UT_LcWindowRectL(); |
|
75 void UT_LcWindowOrientationL(); |
|
76 |
|
77 private: // Data |
|
78 |
|
79 TLcAudioControlStub iLcAudioControlStub; |
|
80 CMceSession* iMceSession; |
|
81 CMusEngRemoteVideoPlayer* iRemoteVideoPlayer; |
|
82 TMusEngDisplayHandlerStub iDisplayHandlerStub; |
|
83 EUNIT_DECLARE_TEST_TABLE; |
|
84 }; |
|
85 |
|
86 #endif // UT_MUSENGREMOTEVIDEOPLAYER_H |
|
87 |
|
88 // End of file |
|