|
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-dsa.script |
|
18 // |
|
19 // Tests Public elements of the DSA class |
|
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 DSA. 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 LOAD_SUITE t_wservintegserver |
|
30 |
|
31 //! @file |
|
32 //! @SYMTestSuiteName graphics-wserv-integ-dsa |
|
33 //! @SYMScriptTestEnvironment This test script requires a modified ROM, which replaces |
|
34 //! the default wsini.ini with wsini_dsa_h4.ini. |
|
35 |
|
36 START_TESTCASE GRAPHICS-WSERV-INTEG-DSA-0001-0001 |
|
37 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-DSA-0001-0001 |
|
38 //! @SYMPREQ 1007 1019 |
|
39 //! @SYMREQ 8222 8223 8227 |
|
40 //! @SYMAPI DSA |
|
41 //! @SYMAuthor Andy Kinney |
|
42 //! @SYMCreationDate 16/03/2007 |
|
43 //! @SYMTestCaseDependencies setup-graphics-wserv-integ-dsa.script wsini_dsa.ini |
|
44 //! @SYMTestCaseDesc Check DSA app is aborted when screen rotated |
|
45 //! @SYMTestActions 1. Start non-DSA app (t_app1.exe) |
|
46 //! 2. Start DSA app (t_dsaapp.exe) |
|
47 //! 3. t_dsaapp draws to top half of screen |
|
48 //! red/green alternate frames |
|
49 //! 4. t_app1 rotates screen to 90 after |
|
50 //! number of iterations divided by number of rotations |
|
51 //! 5. t_dsaapp reaches last iteration and writes result file |
|
52 //! 6. TEF Step code reads result file and checks for expected |
|
53 //! values, and reports pass or fail |
|
54 //! @SYMTestStatus Implemented |
|
55 //! @SYMTestPriority Critical |
|
56 //! @SYMTestExpectedResults The screen rotates to 90, then back to 0. Top half of screen is displaying |
|
57 //! alternate frames of green and blue. DSA App counts that it received two |
|
58 //! abort requests based on screen rotation. |
|
59 //! @SYMTestType CIT |
|
60 RUN_TEST_STEP 180 t_wservintegserver WServIntegDsa c:\graphics\graphics-wserv-integ-dsa.ini graphics-wserv-integ-dsa-0001-001 |
|
61 END_TESTCASE GRAPHICS-WSERV-INTEG-DSA-0001-0001 |