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-0040 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0040 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc If a test block expects result PASS and several commands set the result to PASS but the last command sets the block result to FAIL then the test case must fail. |
|
26 //! @SYMTestExpectedResults The test case result must be FAIL. |
|
27 //! @SYMTestActions 1. Use a test block without TEF parameters. |
|
28 //! 2. Call several commands that set the test block result to PASS. |
|
29 //! 3. Call a command that sets the test block result to FAIL. |
|
30 PRINT This test case will be failed. |
|
31 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
32 CREATE_OBJECT te_RegBlockTestWrapper DummyObj |
|
33 COMMAND DummyObj SetBlockResult BlockResult_Pass |
|
34 COMMAND DummyObj SetBlockResult BlockResult_Pass |
|
35 COMMAND DummyObj SetBlockResult BlockResult_Pass |
|
36 COMMAND DummyObj SetBlockResult BlockResult_Pass |
|
37 COMMAND DummyObj SetBlockResult BlockResult_Fail |
|
38 END_TEST_BLOCK |
|
39 END_TESTCASE DT-TEF-TestBlock-0040 |
|