1 // |
|
2 // Copyright (c) 2005-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 LOAD_SERVER te_RegBlockTestSuite |
|
18 |
|
19 START_TESTCASE DT-TEF-TestBlock-0082 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0082 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Multiple commands with different expected errors on command level. |
|
26 //! @SYMTestExpectedResults The test case result is PASS. |
|
27 //! @SYMTestActions Call multiple commands with different !Error parameters expected. The commands execute a function |
|
28 //! that sets the error using CDataWrapper::SetError(). |
|
29 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
30 CREATE_OBJECT te_RegBlockTestWrapper TestCase055_obj |
|
31 COMMAND !Error=-1 TestCase055_obj SetError TestCase055_obj_Error_1 |
|
32 COMMAND !Error=-2 TestCase055_obj SetError TestCase055_obj_Error_2 |
|
33 COMMAND !Error=-3 TestCase055_obj SetError TestCase055_obj_Error_3 |
|
34 COMMAND !Error=-4 TestCase055_obj SetError TestCase055_obj_Error_4 |
|
35 COMMAND !Error=-5 TestCase055_obj SetError TestCase055_obj_Error_5 |
|
36 COMMAND !Error=-6 TestCase055_obj SetError TestCase055_obj_Error_6 |
|
37 COMMAND !Error=-7 TestCase055_obj SetError TestCase055_obj_Error_7 |
|
38 COMMAND !Error=-8 TestCase055_obj SetError TestCase055_obj_Error_8 |
|
39 COMMAND !Error=-9 TestCase055_obj SetError TestCase055_obj_Error_9 |
|
40 END_TEST_BLOCK |
|
41 END_TESTCASE DT-TEF-TestBlock-0082 |
|