|
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 |
|
18 |
|
19 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteConfig.ini ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak |
|
20 START_TESTCASE DT-TEF-TestStep-0002 |
|
21 //! @SYMTestCaseID DT-TEF-TestStep-0002 |
|
22 //! @SYMCreationDate 26-06-2008 |
|
23 //! @SYMAuthor DavidZhang |
|
24 //! @SYMTestType CT |
|
25 //! @SYMTestPriority Medium |
|
26 //! @SYMTestCaseDesc Negative Test of read/write value from/to configuration file. |
|
27 //! @SYMTestExpectedResults Test case should be passed. |
|
28 //! @SYMTestActions 1. Read/write value from/to a section in an ini file |
|
29 //! 2. The secion doesn't exist in the ini file |
|
30 //! 3. Section name doesn't specify in script file. |
|
31 //! 4. Section is empty. |
|
32 //! @SYMPREQ PREQ2261 |
|
33 //! @SYMREQ REQ10438 |
|
34 //! REQ10440 |
|
35 //! @SYMTestStatus 1. Under Development |
|
36 RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section6 |
|
37 RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep |
|
38 RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigNegStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section8 |
|
39 END_TESTCASE DT-TEF-TestStep-0002 |
|
40 |
|
41 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini |
|
42 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak ${SYSDRIVE}\testdata\configs\readwriteconfig.ini |
|
43 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak |