|
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-0007 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0007 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Create a number of objects in the first block. Make sure that the objects are not accessible in the dictionary in the second block. |
|
26 //! @SYMTestExpectedResults The data wrappers that were created in the first block are not accessible in the second block. |
|
27 //! The test result should be pass. |
|
28 //! @SYMTestActions 1. In the first test block create two data wrappers. |
|
29 //! 2. In the second block check that the data wrappers are not accessible anymore. |
|
30 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
31 CREATE_OBJECT te_RegBlockTestWrapper TestCase020_obj |
|
32 CREATE_OBJECT te_RegBlockTestWrapper TestCase020_obja |
|
33 COMMAND TestCase020_obj DummyFunction |
|
34 COMMAND TestCase020_obja DummyFunction |
|
35 END_TEST_BLOCK |
|
36 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
37 CREATE_OBJECT te_RegBlockTestWrapper TestCase020_objb |
|
38 COMMAND !Error=-1 TestCase020_objb GetDataObject TestCase020_obj_is_null |
|
39 COMMAND !Error=-1 TestCase020_objb GetDataObject TestCase020_obja_is_null |
|
40 END_TEST_BLOCK |
|
41 END_TESTCASE DT-TEF-TestBlock-0007 |