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 PRINT |
|
19 |
|
20 START_TESTCASE DT-TEF-Concurrent-0002 |
|
21 //! @SYMTestCaseID DT-TEF-Concurrent-0002 |
|
22 //! @SYMCreationDate 03-09-2008 |
|
23 //! @SYMAuthor extjasonzhou |
|
24 //! @SYMTestType CT |
|
25 //! @SYMTestPriority Medium |
|
26 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with one server not shared data. |
|
27 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
28 //! The steps inside concurrent block in the same test case |
|
29 //! should be executed simultaneously while others are not. |
|
30 //! @SYMTestActions 1. Load a server without shared data. |
|
31 //! 2. Run some steps in a test case. |
|
32 //! 3. Call CONCURRENT in the same test case. |
|
33 //! 4. Run some more steps in this and another test case. |
|
34 //! 5. Call CONSECUTIVE in the second test case. |
|
35 //! 6. Run some more steps in the second test case. |
|
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 CONCURRENT |
|
41 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 |
|
42 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1 |
|
43 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1 |
|
44 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 |
|
45 END_TESTCASE DT-TEF-Concurrent-0002 |
|
46 START_TESTCASE DT-TEF-Concurrent-0002-1 |
|
47 //! @SYMTestCaseID DT-TEF-Concurrent-0002-1 (Support 0002) |
|
48 //! @SYMCreationDate 03-09-2008 |
|
49 //! @SYMAuthor extjasonzhou |
|
50 //! @SYMTestType CT |
|
51 //! @SYMTestPriority Medium |
|
52 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with one server not shared data. |
|
53 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
54 //! The steps inside concurrent block in the same test case |
|
55 //! should be executed simultaneously while others are not. |
|
56 //! @SYMTestActions 1. Load a server without shared data. |
|
57 //! 2. Run some steps in a test case. |
|
58 //! 3. Call CONCURRENT in the same test case. |
|
59 //! 4. Run some more steps in this and another test case. |
|
60 //! 5. Call CONSECUTIVE in the second test case. |
|
61 //! 6. Run some more steps in the second test case. |
|
62 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep2 |
|
63 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep2 |
|
64 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep2 |
|
65 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep2 |
|
66 CONSECUTIVE |
|
67 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep0 |
|
68 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep0 |
|
69 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep0 |
|
70 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep0 |
|
71 |
|
72 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 40 |
|
73 END_TESTCASE DT-TEF-Concurrent-0002-1 |
|