|
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 // graphics-wserv-integ-surface-screenrotation.script |
|
18 // |
|
19 // Tests elements of the classes associated with RWindow and the Surface Update Server |
|
20 // as a means of confidence that the APIs work as expected. |
|
21 // |
|
22 // The purpose is to provide a regression test suite of Public |
|
23 // APIs for RWindow. Negative testing is performed to confirm that correct |
|
24 // errors are returned when incorrect parameters are given. |
|
25 // |
|
26 // The tests are fully automated. |
|
27 ///////////////////////////////////////////////////////////////////// |
|
28 |
|
29 //! @file |
|
30 //! @SYMTestSuiteName graphics-wserv-integ-surface |
|
31 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
32 LOAD_SUITE t_wservintegserver |
|
33 |
|
34 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0009-0001 |
|
35 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0009-0001 |
|
36 //! @SYMPREQ 1007 1019 |
|
37 //! @SYMREQ 8222 8223 8227 |
|
38 //! @SYMAPI RWindow |
|
39 //! @SYMAuthor John Mercer |
|
40 //! @SYMCreationDate 24/08/2007 |
|
41 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
42 //! @SYMTestCaseDesc Moving Image with opaque UI Components, whilst changing screen device orientation |
|
43 //! @SYMTestActions With graphics-0001 as a base. |
|
44 //! From a separate thread/process raise a screen orientation change event. |
|
45 //! Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation |
|
46 //! Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini) |
|
47 //! Measure frame rate. |
|
48 //! @SYMTestStatus Implemented |
|
49 //! @SYMTestPriority 1 |
|
50 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
51 //! Display is composed of moving image in background with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
52 //! NOTE: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective. |
|
53 //! @SYMTestType CIT |
|
54 |
|
55 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0009-001 |
|
56 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0009-0001 |
|
57 |
|
58 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0024-0001 |
|
59 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0024-0001 |
|
60 //! @SYMPREQ 1007 1019 |
|
61 //! @SYMREQ 8222 8223 8227 |
|
62 //! @SYMAPI RWindow |
|
63 //! @SYMAuthor John Mercer |
|
64 //! @SYMCreationDate 24/08/2007 |
|
65 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
66 //! @SYMTestCaseDesc Moving Image with semi-transparent UI Components, whilst changing screen device orientation |
|
67 //! @SYMTestActions With graphics-0001 as a base. |
|
68 //! From a separate thread/process raise a screen orientation change event. |
|
69 //! Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation |
|
70 //! Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini) |
|
71 //! Measure frame rate. |
|
72 //! @SYMTestStatus Implemented |
|
73 //! @SYMTestPriority 1 |
|
74 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
75 //! Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
76 //! NOTE: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective. |
|
77 //! @SYMTestType CIT |
|
78 |
|
79 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0024-001 |
|
80 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0024-0001 |
|
81 |
|
82 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0039-0001 |
|
83 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0039-0001 |
|
84 //! @SYMPREQ 1007 1019 |
|
85 //! @SYMREQ 8222 8223 8227 |
|
86 //! @SYMAPI RWindow |
|
87 //! @SYMAuthor John Mercer |
|
88 //! @SYMCreationDate 24/08/2007 |
|
89 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
90 //! @SYMTestCaseDesc Multiple Moving Images with opaque UI Components, whilst changing screen device orientation |
|
91 //! @SYMTestActions With graphics-0001 as a base. |
|
92 //! From a separate thread/process raise a screen orientation change event. |
|
93 //! Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation |
|
94 //! Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini) |
|
95 //! Measure frame rate. |
|
96 //! @SYMTestStatus Implemented |
|
97 //! @SYMTestPriority 1 |
|
98 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
99 //! Display is composed of 2 moving images in background, with opaque UI components in foreground. The moving images are that of a clock sweep with large numerals indicating the frame number (red on blue background for video, and yellow on green background for viewfinder). |
|
100 //! NOTE: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective. |
|
101 //! @SYMTestType CIT |
|
102 |
|
103 RUN_TEST_STEP !Heap=0x200000 500 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0039-001 |
|
104 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0039-0001 |
|
105 |
|
106 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0054-0001 |
|
107 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0054-0001 |
|
108 //! @SYMPREQ 1007 1019 |
|
109 //! @SYMREQ 8222 8223 8227 |
|
110 //! @SYMAPI RWindow |
|
111 //! @SYMAuthor John Mercer |
|
112 //! @SYMCreationDate 24/08/2007 |
|
113 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
114 //! @SYMTestCaseDesc Multiple Moving Images with semi-transparent UI Components, whilst changing screen device orientation |
|
115 //! @SYMTestActions With graphics-0061 as a base. |
|
116 //! From a separate thread/process raise a screen orientation change event. |
|
117 //! Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation |
|
118 //! Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini) |
|
119 //! Measure frame rate. |
|
120 //! @SYMTestStatus Implemented |
|
121 //! @SYMTestPriority 1 |
|
122 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
123 //! Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
124 //! NOTE: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective. |
|
125 //! @SYMTestType CIT |
|
126 |
|
127 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0054-001 |
|
128 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0054-0001 |