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 LOAD_SUITE Te_RegConcurrentTestSuite3 -SharedData |
|
20 PRINT |
|
21 |
|
22 CONCURRENT |
|
23 START_TESTCASE DT-TEF-Concurrent-0010 |
|
24 //! @SYMTestCaseID DT-TEF-Concurrent-0010 |
|
25 //! @SYMCreationDate 03-09-2008 |
|
26 //! @SYMAuthor extjasonzhou |
|
27 //! @SYMTestType CT |
|
28 //! @SYMTestPriority Medium |
|
29 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with 3 servers two of them not shared data and the other one shared data. |
|
30 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
31 //! The steps inside concurrent block should be executed simultaneously while others are not. |
|
32 //! But in concurrent block, if a shared data server step executes, the execution of next step will wait there until this step finished. |
|
33 //! @SYMTestActions 1. Load 3 servers servers two of them not shared data and the other one shared data. |
|
34 //! 2. Call CONCURRENT |
|
35 //! 3. Run some steps in a test case (both shared data and non-shared data servers). |
|
36 //! 4. Call CONSECUTIVE |
|
37 //! 5. Run some more steps in another test case (steps of both non-shared data servers and shared data server). |
|
38 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 |
|
39 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 |
|
40 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 |
|
41 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite3 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 |
|
42 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 |
|
43 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 |
|
44 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite3 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 |
|
45 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 |
|
46 END_TESTCASE DT-TEF-Concurrent-0010 |
|
47 CONSECUTIVE |
|
48 START_TESTCASE DT-TEF-Concurrent-0010-1 |
|
49 //! @SYMTestCaseID DT-TEF-Concurrent-0010 |
|
50 //! @SYMCreationDate 03-09-2008 |
|
51 //! @SYMAuthor extjasonzhou |
|
52 //! @SYMTestType CT |
|
53 //! @SYMTestPriority Medium |
|
54 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with 3 servers two of them not shared data and the other one shared data. |
|
55 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
56 //! The steps inside concurrent block should be executed simultaneously while others are not. |
|
57 //! But in concurrent block, if a shared data server step executes, the execution of next step will wait there until this step finished. |
|
58 //! @SYMTestActions 1. Load 3 servers servers two of them not shared data and the other one shared data. |
|
59 //! 2. Call CONCURRENT |
|
60 //! 3. Run some steps in a test case (both shared data and non-shared data servers). |
|
61 //! 4. Call CONSECUTIVE |
|
62 //! 5. Run some more steps in another test case (steps of both non-shared data servers and shared data server). |
|
63 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 |
|
64 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 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_RegConcurrentTestSuite3 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 |
|
67 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 |
|
68 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1 |
|
69 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite3 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1 |
|
70 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 |
|
71 |
|
72 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 20 |
|
73 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite2 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 0 |
|
74 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite3 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 20 |
|
75 END_TESTCASE DT-TEF-Concurrent-0010-1 |
|