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_SERVER te_RegBlockTestSuite |
|
18 |
|
19 START_TESTCASE DT-TEF-TestBlock-0096 |
|
20 //! @SYMTestCaseID DT-TEF-TestBlock-0096 |
|
21 //! @SYMCreationDate 03-07-2008 |
|
22 //! @SYMAuthor DavidZhang |
|
23 //! @SYMTestType CT |
|
24 //! @SYMTestPriority Medium |
|
25 //! @SYMTestCaseDesc Check that OUTSTANDING poll interval will delay work of the thread. |
|
26 //! @SYMTestExpectedResults The delay caused by the OUTSTANDING must be 5 seconds long at least. |
|
27 //! @SYMTestActions Create a test block, create an active object (RTimer) in the test block and activate it. Call OUTSTANDING 5000000 |
|
28 //! command for a time sufficient to let the active object to finish it's work. Measure a time of the delay. |
|
29 START_TEST_BLOCK 100 te_RegBlockTestSuite ${SYSDRIVE}\testdata\configs\te_RegBlockTestSuite.ini |
|
30 CREATE_OBJECT te_RegBlockTestWrapper TestCase091_obj |
|
31 COMMAND TestCase091_obj AddActiveObjectToScheduler |
|
32 COMMAND TestCase091_obj ActivateActiveObject TestCase091_obj |
|
33 COMMAND TestCase091_obj StartTimer |
|
34 OUTSTANDING 5000000 |
|
35 COMMAND TestCase091_obj CheckTimer TestCase091_delay |
|
36 COMMAND TestCase091_obj CheckActiveObjectWorkIsComplete TestCase091_must_be_complete_true |
|
37 END_TEST_BLOCK |
|
38 END_TESTCASE DT-TEF-TestBlock-0096 |
|