diff -r 000000000000 -r 3e07fef1e154 testexecfw/tef/test/regressiontest/concurrenttest/testdata/scripts/dt-tef-concurrent-0005.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testexecfw/tef/test/regressiontest/concurrenttest/testdata/scripts/dt-tef-concurrent-0005.script Mon Mar 08 15:03:44 2010 +0800 @@ -0,0 +1,91 @@ +// +// 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_SUITE Te_RegConcurrentTestSuite1 +LOAD_SUITE Te_RegConcurrentTestSuite2 +PRINT + +START_TESTCASE DT-TEF-Concurrent-0005 +//! @SYMTestCaseID DT-TEF-Concurrent-0005 +//! @SYMCreationDate 03-09-2008 +//! @SYMAuthor extjasonzhou +//! @SYMTestType CT +//! @SYMTestPriority Medium +//! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with two servers not shared data. +//! @SYMTestExpectedResults Test cases should all passed with the expected behavior. +//! The steps inside concurrent block in the same test case +//! should be executed simultaneously while others are not. +//! @SYMTestActions 1. Load two servers without shared data. +//! 2. Run some steps in a test case (of two servers). +//! 3. Call CONCURRENT in the same test case. +//! 4. Run some more steps in this and another test case (of two servers). +//! 5. Call CONSECUTIVE in the second test case. +//! 6. Run some more steps in the second test case (of two servers). + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 + CONCURRENT + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 +END_TESTCASE DT-TEF-Concurrent-0005 +START_TESTCASE DT-TEF-Concurrent-0005-1 +//! @SYMTestCaseID DT-TEF-Concurrent-0005 +//! @SYMCreationDate 03-09-2008 +//! @SYMAuthor extjasonzhou +//! @SYMTestType CT +//! @SYMTestPriority Medium +//! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with two servers not shared data. +//! @SYMTestExpectedResults Test cases should all passed with the expected behavior. +//! The steps inside concurrent block in the same test case +//! should be executed simultaneously while others are not. +//! @SYMTestActions 1. Load two servers without shared data. +//! 2. Run some steps in a test case (of two servers). +//! 3. Call CONCURRENT in the same test case. +//! 4. Run some more steps in this and another test case (of two servers). +//! 5. Call CONSECUTIVE in the second test case. +//! 6. Run some more steps in the second test case (of two servers). + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep2 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep2 + CONSECUTIVE + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 + + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 40 + RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 40 +END_TESTCASE DT-TEF-Concurrent-0005-1