testexecmdw/tef/tef/test/regressiontest/concurrenttest/testdata/scripts/dt-tef-concurrent-0006.script
branchRCL_3
changeset 3 9397a16b6eb8
parent 1 6edeef394eb7
equal deleted inserted replaced
1:6edeef394eb7 3:9397a16b6eb8
     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_SUITE	Te_RegConcurrentTestSuite1
       
    18 LOAD_SUITE	Te_RegConcurrentTestSuite2
       
    19 PRINT
       
    20 
       
    21 START_TESTCASE DT-TEF-Concurrent-0006
       
    22 //! @SYMTestCaseID          DT-TEF-Concurrent-0006
       
    23 //! @SYMCreationDate        03-09-2008
       
    24 //! @SYMAuthor              extjasonzhou
       
    25 //! @SYMTestType            CT
       
    26 //! @SYMTestPriority        Medium
       
    27 //! @SYMTestCaseDesc        Test Concurrent functionalities of TEF steps with two servers not shared data.
       
    28 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior.
       
    29 //!                         The steps in the test case which inside concurrent block
       
    30 //!                         should be executed simultaneously while others are not.
       
    31 //! @SYMTestActions         1. Load two server without shared data.
       
    32 //!                         2. Run some steps in a test case (of two servers).
       
    33 //!                         3. Call CONCURRENT
       
    34 //!                         4. Run some more steps in another test case (of two servers).
       
    35 //!                         5. Call CONSECUTIVE
       
    36 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0
       
    37 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0
       
    38 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0
       
    39 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0
       
    40 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0
       
    41 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0
       
    42 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0
       
    43 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0
       
    44 END_TESTCASE DT-TEF-Concurrent-0006
       
    45 CONCURRENT
       
    46 START_TESTCASE DT-TEF-Concurrent-0006-1
       
    47 //! @SYMTestCaseID          DT-TEF-Concurrent-0006-1
       
    48 //! @SYMCreationDate        03-09-2008
       
    49 //! @SYMAuthor              extjasonzhou
       
    50 //! @SYMTestType            CT
       
    51 //! @SYMTestPriority        Medium
       
    52 //! @SYMTestCaseDesc        Test Concurrent functionalities of TEF steps with two servers not shared data.
       
    53 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior.
       
    54 //!                         The steps in the test case which inside concurrent block
       
    55 //!                         should be executed simultaneously while others are not.
       
    56 //! @SYMTestActions         1. Load two server without shared data.
       
    57 //!                         2. Run some steps in a test case (of two servers).
       
    58 //!                         3. Call CONCURRENT
       
    59 //!                         4. Run some more steps in another test case (of two servers).
       
    60 //!                         5. Call CONSECUTIVE
       
    61 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1
       
    62 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1
       
    63 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1
       
    64 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1
       
    65 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1
       
    66 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1
       
    67 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1
       
    68 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1
       
    69 END_TESTCASE DT-TEF-Concurrent-0006-1
       
    70 CONSECUTIVE
       
    71 START_TESTCASE DT-TEF-Concurrent-0006-2
       
    72 //! @SYMTestCaseID          DT-TEF-Concurrent-0006-2
       
    73 //! @SYMCreationDate        03-09-2008
       
    74 //! @SYMAuthor              extjasonzhou
       
    75 //! @SYMTestType            CT
       
    76 //! @SYMTestPriority        Medium
       
    77 //! @SYMTestCaseDesc        Test Concurrent functionalities of TEF steps with two servers not shared data.
       
    78 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior.
       
    79 //!                         The steps in the test case which inside concurrent block
       
    80 //!                         should be executed simultaneously while others are not.
       
    81 //! @SYMTestActions         1. Load two server without shared data.
       
    82 //!                         2. Run some steps in a test case (of two servers).
       
    83 //!                         3. Call CONCURRENT
       
    84 //!                         4. Run some more steps in another test case (of two servers).
       
    85 //!                         5. Call CONSECUTIVE
       
    86 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 20
       
    87 	RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 20
       
    88 END_TESTCASE DT-TEF-Concurrent-0006-2