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-0001 |
|
21 //! @SYMTestCaseID DT-TEF-TestStep-0001 |
|
22 //! @SYMCreationDate 26-06-2008 |
|
23 //! @SYMAuthor DavidZhang |
|
24 //! @SYMTestType CT |
|
25 //! @SYMTestPriority Medium |
|
26 //! @SYMTestCaseDesc Test read and write config value from configuration file. |
|
27 //! @SYMTestExpectedResults The information in the config file should be read in and write correctly. |
|
28 //! The test result should be pass. |
|
29 //! @SYMTestActions Load a configuration file, read the value from it and write a value into it. |
|
30 //! @SYMPREQ PREQ2261 |
|
31 //! @SYMREQ REQ10438 |
|
32 //! REQ10440 |
|
33 //! @SYMTestStatus 1. Under Development |
|
34 RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section0 |
|
35 RUN_TEST_STEP 100 te_RegStepTestSuite ReadWriteConfigStep ${SYSDRIVE}\testdata\configs\readwriteconfig.ini Section7 |
|
36 END_TESTCASE DT-TEF-TestStep-0001 |
|
37 |
|
38 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini |
|
39 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak ${SYSDRIVE}\testdata\configs\readwriteconfig.ini |
|
40 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\readwriteconfig.ini.bak |
|