testexecfw/tef/test/regressiontest/testblock/testdata/scripts/dt-tef-testblock-0098.script
//
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
LOAD_SERVER te_RegBlockTestSuite
START_TESTCASE DT-TEF-TestBlock-0098
//! @SYMTestCaseID DT-TEF-TestBlock-0098
//! @SYMCreationDate 03-07-2008
//! @SYMAuthor DavidZhang
//! @SYMTestType CT
//! @SYMTestPriority Medium
//! @SYMTestCaseDesc Check that !AsyncError on command's level works properly for several asynchronous commands.
//! @SYMTestExpectedResults The result of the test case must be PASS.
//! @SYMTestActions Activate and cancel the active object, use !AsyncError=-3 for the
//! command that activates the active object. The second active object is activated and not cancelled.
START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini
CREATE_OBJECT te_RegBlockTestWrapper TestCase093_obj
COMMAND TestCase093_obj AddActiveObjectToScheduler
COMMAND !AsyncError=-3 TestCase093_obj ActivateActiveObject TestCase093_obj
COMMAND TestCase093_obj CancelActiveObject
OUTSTANDING
COMMAND !AsyncError=0 TestCase093_obj ActivateActiveObject TestCase093_obj
OUTSTANDING
END_TEST_BLOCK
END_TESTCASE DT-TEF-TestBlock-0098