|
1 ///////////////////////////////////////////////////////////////////// |
|
2 // graphics-wserv-integ-dsa.script |
|
3 // |
|
4 // Tests Public elements of the DSA class |
|
5 // as a means of confidence that the APIs work as expected. |
|
6 // |
|
7 // The purpose is to provide a regression test suite of Public |
|
8 // APIs for DSA. Negative testing is performed to confirm that correct |
|
9 // errors are returned when incorrect parameters are given. |
|
10 // |
|
11 // The tests are fully automated. |
|
12 ///////////////////////////////////////////////////////////////////// |
|
13 |
|
14 LOAD_SUITE t_wservintegserver |
|
15 |
|
16 //! @file |
|
17 //! @SYMTestSuiteName graphics-wserv-integ-dsa |
|
18 //! @SYMScriptTestEnvironment This test script requires a modified ROM, which replaces |
|
19 //! the default wsini.ini with wsini_dsa_h6.ini. |
|
20 |
|
21 START_TESTCASE GRAPHICS-WSERV-INTEG-DSA-0001-0002 |
|
22 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-DSA-0001-0002 |
|
23 //! @SYMPREQ 1007 1019 |
|
24 //! @SYMREQ 8222 8223 8227 |
|
25 //! @SYMAPI DSA |
|
26 //! @SYMAuthor Andy Kinney |
|
27 //! @SYMCreationDate 16/03/2007 |
|
28 //! @SYMTestCaseDependencies setup-graphics-wserv-integ-dsa.script wsini_dsa.ini |
|
29 //! @SYMTestCaseDesc Check DSA app is aborted when screen rotated |
|
30 //! @SYMTestActions 1. Start non-DSA app (t_app1.exe) |
|
31 //! 2. Start DSA app (t_dsaapp.exe) |
|
32 //! 3. t_dsaapp draws to top half of screen |
|
33 //! red/green alternate frames |
|
34 //! 4. t_app1 rotates screen to 0 after (dummy rotation since 90 degree not supported on H6) |
|
35 //! number of iterations divided by number of rotations |
|
36 //! 5. t_dsaapp reaches last iteration and writes result file |
|
37 //! 6. TEF Step code reads result file and checks for expected |
|
38 //! values, and reports pass or fail |
|
39 //! @SYMTestStatus Implemented |
|
40 //! @SYMTestPriority Critical |
|
41 //! @SYMTestExpectedResults The screen does not rotate and no panics are generated. Top half of screen is displaying |
|
42 //! alternate frames of green and blue. DSA App does not count any abort requests |
|
43 /! @SYMTestType CIT |
|
44 RUN_TEST_STEP 180 t_wservintegserver WServIntegDsa c:\graphics\graphics-wserv-integ-dsa.ini graphics-wserv-integ-dsa-0001-002 |
|
45 END_TESTCASE GRAPHICS-WSERV-INTEG-DSA-0001-0002 |