|
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: CaeTestStillSettings.h |
|
15 * |
|
16 */ |
|
17 #ifndef CAE_TEST_STILL_SETTINGS_H |
|
18 #define CAE_TEST_STILL_SETTINGS_H |
|
19 |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 #include "CaeTestSettingsClient.h" |
|
24 |
|
25 class CCaeTestStillSettings : public CTestCase |
|
26 { |
|
27 public: |
|
28 |
|
29 CCaeTestStillSettings(); |
|
30 ~CCaeTestStillSettings(); |
|
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 TestDigiZoomValNeg1L(); |
|
46 void TestOpticalZoomValMinL(); |
|
47 void TestOpticalZoomValMaxL(); |
|
48 void TestDigiZoomMode0L(); |
|
49 |
|
50 void TestOpticalZoomMode1L(); |
|
51 void TestOpticalDigiZoomMode2L(); |
|
52 |
|
53 void TestDigiZoomModeNeg1L(); |
|
54 |
|
55 void TestBrightness0L(); |
|
56 void TestBrightness100L(); |
|
57 void TestBrightnessNeg100L(); |
|
58 void TestBrightness101L(); |
|
59 void TestBrightnessNeg101L(); |
|
60 |
|
61 void TestContrast0L(); |
|
62 void TestContrast100L(); |
|
63 void TestContrastNeg100L(); |
|
64 void TestContrast101L(); |
|
65 void TestContrastNeg101L(); |
|
66 |
|
67 void TestExposureMode2L(); |
|
68 void TestExposureMode4L(); |
|
69 void TestExposureModeNeg1L(); |
|
70 void TestExposureMode5L(); |
|
71 |
|
72 void TestWhiteBalanceMode1L(); |
|
73 void TestWhiteBalanceMode2L(); |
|
74 void TestWhiteBalanceMode4L(); |
|
75 void TestWhiteBalanceMode8L(); |
|
76 void TestWhiteBalanceMode10L(); |
|
77 void TestWhiteBalanceModeNeg1L(); |
|
78 void TestWhiteBalanceMode5L(); |
|
79 |
|
80 void TestFlashMode4L(); |
|
81 void TestFlashMode8L(); |
|
82 void TestFlashModeNeg1L(); |
|
83 void TestFlashMode5L(); |
|
84 void TestFlashMode6L(); |
|
85 void TestFlashMode9L(); |
|
86 void TestFlashMode10L(); |
|
87 |
|
88 void TestExposureModeInitialized2L(); |
|
89 void TestWhiteBalanceModeInitialized2L(); |
|
90 void TestFlashModeInitialized2L(); |
|
91 void TestDigiZoomInitializedMode0L(); |
|
92 |
|
93 void TestGetInfo(); |
|
94 |
|
95 void TestResetToDefaultsL(); |
|
96 void TestSetViewFinderMirrorL(); |
|
97 |
|
98 void TestGetStillFrameSizeWhenInitializedL(); |
|
99 void TestGetStillFrameSizeWhenPreparedL(); |
|
100 |
|
101 void TestEstimatedStillSizeInBytesWhenInitializedL(); |
|
102 void TestEstimatedStillSizeInBytesWhenPreparedL(); |
|
103 void TestSetSnapImageSizeBeforePrepareL(); |
|
104 void TestSetSnapImageSizeDuringAndAfterPrepareL(); |
|
105 |
|
106 void TestInitUidL(); |
|
107 void TestSetJpegQuality0L(); |
|
108 void TestSetJpegQuality101L(); |
|
109 |
|
110 void TestCaptureStillBurstIntervalM2L(); |
|
111 |
|
112 void TestSetJpegCodecInvalidL(); |
|
113 |
|
114 private: |
|
115 CCaeTestSettingsClient* iSettingsClient; |
|
116 }; |
|
117 |
|
118 #endif // CAE_TEST_STILL_SETTINGS_H |