testexecfw/tef/test/regressiontest/testblock/testdata/scripts/dt-tef-testblock-0004.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-0004
       
    20 //! @SYMTestCaseID          DT-TEF-TestBlock-0004
       
    21 //! @SYMCreationDate        03-07-2008
       
    22 //! @SYMAuthor              DavidZhang
       
    23 //! @SYMTestType            CT
       
    24 //! @SYMTestPriority        Medium
       
    25 //! @SYMTestCaseDesc        Check that a active scheduler is not reused in the second block if SHARED_ACTIVE_SCHEDULER are not used.
       
    26 //! @SYMTestExpectedResults The test case must fail.
       
    27 //! @SYMTestActions         1. Create an active object (RTimer) in the first test block and
       
    28 //!                         store both the data wrapper (containing the active object) and the active scheduler
       
    29 //!                         2. In the second test block restore the wrapper and activate the active object.
       
    30 	PRINT This test case will be failed.
       
    31 	START_TEST_BLOCK	100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
       
    32 		SHARED_ACTIVE_SCHEDULER
       
    33 		CREATE_OBJECT	te_RegBlockTestWrapper	TestCase088_obj
       
    34 		COMMAND		TestCase088_obj			AddActiveObjectToScheduler
       
    35 		STORE		TestCase088_obj
       
    36 		STORE_ACTIVE_SCHEDULER
       
    37 	END_TEST_BLOCK
       
    38 	START_TEST_BLOCK	100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
       
    39 		SHARED_ACTIVE_SCHEDULER
       
    40 		RESTORE_OBJECT	te_RegBlockTestWrapper	TestCase088_obj
       
    41 		COMMAND		TestCase088_obj			ActivateActiveObject		TestCase088_obj
       
    42 		OUTSTANDING
       
    43 	END_TEST_BLOCK
       
    44 END_TESTCASE DT-TEF-TestBlock-0004