|
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-0003 |
|
21 //! @SYMTestCaseID DT-TEF-Concurrent-0003 |
|
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 in the test case which inside concurrent block |
|
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 |
|
33 //! 4. Run some more steps in another test case. |
|
34 //! 5. Call CONSECUTIVE |
|
35 //! 6. Run some more steps in the third 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 END_TESTCASE DT-TEF-Concurrent-0003 |
|
41 CONCURRENT |
|
42 START_TESTCASE DT-TEF-Concurrent-0003-1 |
|
43 //! @SYMTestCaseID DT-TEF-Concurrent-0003-1 |
|
44 //! @SYMCreationDate 03-09-2008 |
|
45 //! @SYMAuthor extjasonzhou |
|
46 //! @SYMTestType CT |
|
47 //! @SYMTestPriority Medium |
|
48 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with one server not shared data. |
|
49 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
50 //! The steps in the test case which inside concurrent block |
|
51 //! should be executed simultaneously while others are not. |
|
52 //! @SYMTestActions 1. Load a server without shared data. |
|
53 //! 2. Run some steps in a test case. |
|
54 //! 3. Call CONCURRENT |
|
55 //! 4. Run some more steps in another test case. |
|
56 //! 5. Call CONSECUTIVE |
|
57 //! 6. Run some more steps in the third test case. |
|
58 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep1 |
|
59 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep1 |
|
60 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep1 |
|
61 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep1 |
|
62 END_TESTCASE DT-TEF-Concurrent-0003-1 |
|
63 CONSECUTIVE |
|
64 START_TESTCASE DT-TEF-Concurrent-0003-2 |
|
65 //! @SYMTestCaseID DT-TEF-Concurrent-0003-2 |
|
66 //! @SYMCreationDate 03-09-2008 |
|
67 //! @SYMAuthor extjasonzhou |
|
68 //! @SYMTestType CT |
|
69 //! @SYMTestPriority Medium |
|
70 //! @SYMTestCaseDesc Test Concurrent functionalities of TEF steps with one server not shared data. |
|
71 //! @SYMTestExpectedResults Test cases should all passed with the expected behavior. |
|
72 //! The steps in the test case which inside concurrent block |
|
73 //! should be executed simultaneously while others are not. |
|
74 //! @SYMTestActions 1. Load a server without shared data. |
|
75 //! 2. Run some steps in a test case. |
|
76 //! 3. Call CONCURRENT |
|
77 //! 4. Run some more steps in another test case. |
|
78 //! 5. Call CONSECUTIVE |
|
79 //! 6. Run some more steps in the third test case. |
|
80 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegWaitStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini WaitStep2 |
|
81 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegLoopStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini LoopStep2 |
|
82 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegAccessStaticVarStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini AccessStaticVarStep2 |
|
83 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegDummyStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini DummyStep2 |
|
84 |
|
85 RUN_TEST_STEP 100 Te_RegConcurrentTestSuite1 Te_RegCheckTestResultStep ${SYSDRIVE}\testdata\configs\te_regconcurrenttestsuite.ini 30 |
|
86 END_TESTCASE DT-TEF-Concurrent-0003-2 |