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 START_TESTCASE DT-TEF-TestBlock-0063 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0063 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Create a number of data wrapper objects, initialize underlying wrapped objects and check they |
|
26 //! can be accessed and modified using their names via the API. |
|
27 //! @SYMTestExpectedResults The test completes without errors. |
|
28 //! @SYMTestActions 1. Use CREATE_OBJECT instructions to create 2 data wrapper objects. |
|
29 //! 2. Call a wrapper's API command named New that creates wrapped objects for the wrappers. |
|
30 //! 3. Make sure that the wrapped objects are accessible through other wrapper's CDataWrapper::GetDataObject() function |
|
31 //! 4. Change the wrapped object's values though a different wrapper |
|
32 //! 5. Check that the new values were set properly getting the wrapped objects using CDataWrapper::GetDataObject() function again. |
|
33 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
34 CREATE_OBJECT te_RegBlockTestWrapper TestCase006_obj |
|
35 CREATE_OBJECT te_RegBlockTestWrapper TestCase006_obj_1 |
|
36 CREATE_OBJECT te_RegBlockTestWrapper TestCase006_obj_2 |
|
37 COMMAND TestCase006_obj_1 New TestCase006_obj_1 |
|
38 COMMAND TestCase006_obj_2 New TestCase006_obj_2 |
|
39 COMMAND TestCase006_obj GetDataObject TestCase006_obj_1 |
|
40 COMMAND TestCase006_obj GetDataObject TestCase006_obj_2 |
|
41 COMMAND TestCase006_obj ModifyByName TestCase006_obj1_value2 |
|
42 COMMAND TestCase006_obj ModifyByName TestCase006_obj2_value2 |
|
43 COMMAND TestCase006_obj GetDataObject TestCase006_obj1_value2 |
|
44 COMMAND TestCase006_obj GetDataObject TestCase006_obj2_value2 |
|
45 COMMAND TestCase006_obj SetDataObject TestCase006_obj |
|
46 END_TEST_BLOCK |
|
47 END_TESTCASE DT-TEF-TestBlock-0063 |
|