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: CaeTestVideoSettings.h |
|
15 * |
|
16 */ |
|
17 #ifndef CAE_TEST_VIDEO_SETTINGS_H |
|
18 #define CAE_TEST_VIDEO_SETTINGS_H |
|
19 |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 #include "CaeTestSettingsClient.h" |
|
24 |
|
25 class CCaeTestVideoSettings : public CTestCase |
|
26 { |
|
27 public: |
|
28 |
|
29 CCaeTestVideoSettings (); |
|
30 ~CCaeTestVideoSettings (); |
|
31 |
|
32 // Allocate the resources for one test function |
|
33 void setUpL (); |
|
34 |
|
35 // Free the resources reserved in setUpL() |
|
36 void tearDown (); |
|
37 |
|
38 // A function to collect and return a suite of tests |
|
39 static MTest* suiteL (); |
|
40 |
|
41 protected: |
|
42 |
|
43 // Own test functions that use assertions and may leave: |
|
44 void TestDigiZoomVal2L(); |
|
45 void TestDigiZoomNegVal1L(); |
|
46 void TestDigiZoomMode0L(); |
|
47 void TestOpticalZoomMode1L(); |
|
48 void TestOpticalDigiZoomMode2L(); |
|
49 void TestDigiZoomNegMode1L(); |
|
50 void TestBrightness0L(); |
|
51 void TestBrightness100L(); |
|
52 void TestBrightnessNeg100L(); |
|
53 void TestBrightness101L(); |
|
54 void TestBrightnessNeg101L(); |
|
55 void TestContrast0L(); |
|
56 void TestContrast100L(); |
|
57 void TestContrastNeg100L(); |
|
58 void TestContrast101L(); |
|
59 void TestContrastNeg101L(); |
|
60 void TestExposureMode2L(); |
|
61 void TestExposureMode4L(); |
|
62 void TestExposureModeNeg1L(); |
|
63 void TestExposureMode5L(); |
|
64 void TestWhiteBalanceMode1L(); |
|
65 void TestWhiteBalanceMode2L(); |
|
66 void TestWhiteBalanceMode4L(); |
|
67 void TestWhiteBalanceMode8L(); |
|
68 void TestWhiteBalanceMode10L(); |
|
69 void TestWhiteBalanceModeNeg1L(); |
|
70 void TestWhiteBalanceMode5L(); |
|
71 void TestWhiteBalanceMode12L(); |
|
72 void TestFlashMode0L(); |
|
73 void TestFlashMode1L(); |
|
74 void TestFlashMode2L(); |
|
75 void TestFlashMode4L(); |
|
76 void TestFlashMode8L(); |
|
77 void TestFlashModeNeg1L(); |
|
78 void TestFlashMode5L(); |
|
79 void TestVideoClipMaxSize0L(); |
|
80 void TestVideoClipMaxSizeNeg1L(); |
|
81 void TestVideoClipMaxSize10001L(); |
|
82 void TestVideoClipMaxSizeWhenVideoNotPrepared0L(); |
|
83 void TestVideoClipMaxSizeWhenVideoNotPrepared5000L(); |
|
84 void TestVideoAudioETrueL(); |
|
85 void TestVideoAudioEFalseL(); |
|
86 void TestExposureModeRecording2L(); |
|
87 void TestWhiteBalanceModeRecording2L(); |
|
88 void TestFlashModeRecording2L(); |
|
89 void TestDigiZoomRecordingMode0L(); |
|
90 void TestVideoClipMaxSizeRecording10000L(); |
|
91 void TestVideoClipMaxSizeNotInitialized10000L(); |
|
92 void TestVideoAudioRecordingETrueL(); |
|
93 void TestVideoAudioNotInitializedL(); |
|
94 void TestGetVideoAudioNotInitializedL(); |
|
95 |
|
96 void TestSetVideoFileNameL(); |
|
97 void TestSetEmptyVideoFileNameL(); |
|
98 void TestSetVideoFileNameWhenPreparedL(); |
|
99 void TestSetVideoFileNameWhenNotInitializedL(); |
|
100 void TestSetVideoFileNameWhenRecordingL(); |
|
101 |
|
102 void TestSetVideoTimeIntervalSubQcifL(); |
|
103 void TestSetVideoTimeIntervalSubQcifWhenPreparedL(); |
|
104 void TestSetVideoTimeIntervalSubQcifWhenRecordingL(); |
|
105 void TestSetZeroVideoTimeIntervalSubQcifWhenPreparedL(); |
|
106 void TestSetVideoTimeIntervalNegativeL(); |
|
107 void TestSetVideoTimeIntervalHugeL(); |
|
108 |
|
109 void TestGetVideoFrameSizeWhenInitializedL(); |
|
110 void TestGetVideoFrameSizeWhenPreparedL(); |
|
111 void TestVideoFrameRateWhenInitializedL(); |
|
112 void TestVideoFrameRateWhenPreparedL(); |
|
113 void TestEstimatedVideoRecordingBitRateWhenInitializedL(); |
|
114 void TestEstimatedVideoRecordingBitRateWhenPreparedL(); |
|
115 |
|
116 |
|
117 private: |
|
118 CCaeTestSettingsClient * iSettingsClient; |
|
119 }; |
|
120 |
|
121 #endif // CAE_TEST_VIDEO_SETTINGS_H |
|