testexecfw/tef/test/regressiontest/testblock/testdata/scripts/dt-tef-testblock-0006.script
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     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-0006
       
    20 //! @SYMTestCaseID          DT-TEF-TestBlock-0006
       
    21 //! @SYMCreationDate        03-07-2008
       
    22 //! @SYMAuthor              DavidZhang
       
    23 //! @SYMTestType            CT
       
    24 //! @SYMTestPriority        Medium
       
    25 //! @SYMTestCaseDesc        STORE/RESORE_OBJECT test.
       
    26 //! @SYMTestExpectedResults See actions.
       
    27 //! @SYMTestActions         1. In the first test block create a data wrapper, call a command that creates wrapped object
       
    28 //!                         and sets a value to it, store the object persistently and call a command one more time
       
    29 //!                         to make sure that the object is still available.
       
    30 //!                         2. In the second block call RESTORE_OBJECT to restore the object stored in the first test block
       
    31 //!                         and call a command to make sure the wrapper is available and the object's value is correct.
       
    32 	START_TEST_BLOCK	100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
       
    33 		CREATE_OBJECT	te_RegBlockTestWrapper	TestCase004_obj
       
    34 		COMMAND		TestCase004_obj			New				TestCase004_obj
       
    35 		COMMAND		TestCase004_obj			GetDataObject			TestCase004_obj
       
    36 		STORE		TestCase004_obj
       
    37 		COMMAND		TestCase004_obj			DummyFunction
       
    38 	END_TEST_BLOCK
       
    39 	START_TEST_BLOCK	100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
       
    40 		RESTORE_OBJECT	te_RegBlockTestWrapper	TestCase004_obj
       
    41 		COMMAND		TestCase004_obj			GetDataObject			TestCase004_obj
       
    42 	END_TEST_BLOCK
       
    43 END_TESTCASE DT-TEF-TestBlock-0006