|
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 RUN_UTILS MkDir ${SYSDRIVE}\testdata\ |
|
20 RUN_UTILS MkDir ${SYSDRIVE}\testdata\configs\ |
|
21 START_TESTCASE DT-TEF-TestBlock-0079 |
|
22 //! @SYMTestCaseID DT-TEF-TestBlock-0079 |
|
23 //! @SYMCreationDate 03-07-2008 |
|
24 //! @SYMAuthor DavidZhang |
|
25 //! @SYMTestType CT |
|
26 //! @SYMTestPriority Medium |
|
27 //! @SYMTestCaseDesc Mix new syntax with RUN_UTILS commands |
|
28 //! @SYMTestExpectedResults Test case completes without errors. |
|
29 //! @SYMTestActions Create a test case that has a test block, creates a wrapper object, calls a command |
|
30 //! and mixes the functionality with the following actions: |
|
31 //! 1. Creates a directory using RUN_UTIL MkDir. |
|
32 //! 2. Copies a file using RUN_UTIL CopyFile. |
|
33 //! 3. Modifies the new file's permissions using RUN_UTIL MakeReadWrite. |
|
34 //! 4. Deletes the new file using RUN_UTIL DeleteFile. |
|
35 RUN_UTILS CopyFile ${SYSDRIVE}\testdata\configs\file.txt ${SYSDRIVE}\testdata\configs\file_43.txt |
|
36 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
37 CREATE_OBJECT te_RegBlockTestWrapper DummyObj |
|
38 COMMAND DummyObj DummyFunction |
|
39 END_TEST_BLOCK |
|
40 RUN_UTILS MakeReadWrite ${SYSDRIVE}\testdata\configs\file_43.txt |
|
41 END_TESTCASE DT-TEF-TestBlock-0079 |
|
42 RUN_UTILS DeleteFile ${SYSDRIVE}\testdata\configs\file_43.txt |