|
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_SUITE te_RegStepTestSuite -SharedData |
|
18 |
|
19 START_TESTCASE DT-TEF-TestStep-0032 |
|
20 //! @SYMTestCaseID DT-TEF-TestStep-0032 |
|
21 //! @SYMCreationDate 09-12-2008 |
|
22 //! @SYMAuthor extjasonzhou |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Step panic tests with server -SharedData. |
|
26 //! @SYMTestExpectedResults The steps should panic with the expected result (panic code and/or panic string) |
|
27 //! The test result should be pass. |
|
28 //! @SYMTestActions 1. Make the step panics with the expected code and/or string |
|
29 //! 2. Write the expected panic code and/or string in script file to check the panic result. |
|
30 RUN_TEST_STEP !PanicString="PanicMe" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode |
|
31 RUN_TEST_STEP !PanicCode=-90 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode |
|
32 RUN_TEST_STEP !PanicString=PanicMe !PanicCode=-90 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode |
|
33 RUN_TEST_STEP !PanicCode=-90 !PanicString=PanicMe 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\panictest.ini PanicStringCode |
|
34 RUN_TEST_STEP !PanicCode=110 !PanicString="Panic Me" 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\PanicTest.ini PanicStringCodeEx |
|
35 RUN_TEST_STEP !PanicString="Panic Me" !PanicCode=110 100 te_RegStepTestSuite PanicTestStep ${SYSDRIVE}\testdata\configs\PanicTest.ini PanicStringCodeEx |
|
36 END_TESTCASE DT-TEF-TestStep-0032 |