|
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 -SharedData |
|
18 |
|
19 START_TESTCASE DT-TEF-TestBlock-0008 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0008 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Multiple usage of RESTORE_OBJECT (in two different blocks). |
|
26 //! @SYMTestExpectedResults The test completes without errors. |
|
27 //! The test result should be pass. |
|
28 //! @SYMTestActions Create multiple objects, with individual lookup names. Ensure the new |
|
29 //! objects are saved to the store for later use. Use the new command block to |
|
30 //! transfer ownership of one of these objects to the persistent dictionary. |
|
31 //! Relevant persistent object is available across multiple test block executions. |
|
32 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
33 CREATE_OBJECT te_RegBlockTestWrapper TestCase024_obj |
|
34 CREATE_OBJECT te_RegBlockTestWrapper TestCase024_obja |
|
35 STORE TestCase024_obj |
|
36 END_TEST_BLOCK |
|
37 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
38 RESTORE_OBJECT te_RegBlockTestWrapper TestCase024_obj |
|
39 COMMAND TestCase024_obj DummyFunction |
|
40 STORE TestCase024_obj |
|
41 END_TEST_BLOCK |
|
42 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
43 RESTORE_OBJECT te_RegBlockTestWrapper TestCase024_obj |
|
44 COMMAND TestCase024_obj DummyFunction |
|
45 END_TEST_BLOCK |
|
46 END_TESTCASE DT-TEF-TestBlock-0008 |