|
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_RegScriptCommandServer |
|
18 |
|
19 START_TESTCASE DT-TEF-ScriptCommand-0014 |
|
20 //! @SYMTestCaseID DT-TEF-ScriptCommand-0014 |
|
21 //! @SYMCreationDate 26-06-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Test "RUN_UTILS" script command. |
|
26 //! @SYMTestExpectedResults The RUN_UTILS command should run successfully with the specified task. |
|
27 //! Test result should be pass. |
|
28 //! @SYMTestActions Execute some tasks with the command RUN_UTILS in script file |
|
29 RUN_UTILS MkDir ${SYSDRIVE}\UTILTEST |
|
30 RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckFolderAndFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0014 |
|
31 |
|
32 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\scripts\dt-tef-scriptcommand-0014.script ${SYSDRIVE}\UTILTEST\dt-tef-scriptcommand-0014.script |
|
33 RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckFolderAndFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0014_1 |
|
34 |
|
35 RUN_UTILS DeleteFile ${SYSDRIVE}\UTILTEST\dt-tef-scriptcommand-0014.script |
|
36 RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckFolderAndFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0014_2 |
|
37 |
|
38 RUN_UTILS DeleteDirectory ${SYSDRIVE}\UTILTEST |
|
39 RUN_TEST_STEP 10 Te_RegScriptCommandServer CheckFolderAndFile ${SYSDRIVE}\testdata\configs\te_regscriptcommandtest.ini ScriptCommand_0014_3 |
|
40 END_TESTCASE DT-TEF-ScriptCommand-0014 |