|
1 <!-- This comment will put IE 6, 7 and 8 in quirks mode --> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
4 <head> |
|
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
6 <title>FlexTimerStifSpecs: CTestCFlexTimer Class Reference</title> |
|
7 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
|
8 <link href="search/search.css" rel="stylesheet" type="text/css"/> |
|
9 <script type="text/javaScript" src="search/search.js"></script> |
|
10 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
11 </head> |
|
12 <body onload='searchBox.OnSelectItem(0);'> |
|
13 <!-- Generated by Doxygen 1.6.3 --> |
|
14 <script type="text/javascript"><!-- |
|
15 var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
|
16 --></script> |
|
17 <div class="navigation" id="top"> |
|
18 <div class="tabs"> |
|
19 <ul> |
|
20 <li><a href="index.html"><span>Main Page</span></a></li> |
|
21 <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
|
22 <li> |
|
23 <div id="MSearchBox" class="MSearchBoxInactive"> |
|
24 <img id="MSearchSelect" src="search/search.png" |
|
25 onmouseover="return searchBox.OnSearchSelectShow()" |
|
26 onmouseout="return searchBox.OnSearchSelectHide()" |
|
27 alt=""/> |
|
28 <input type="text" id="MSearchField" value="Search" accesskey="S" |
|
29 onfocus="searchBox.OnSearchFieldFocus(true)" |
|
30 onblur="searchBox.OnSearchFieldFocus(false)" |
|
31 onkeyup="searchBox.OnSearchFieldChange(event)"/> |
|
32 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
|
33 </div> |
|
34 </li> |
|
35 </ul> |
|
36 </div> |
|
37 <div class="tabs"> |
|
38 <ul> |
|
39 <li><a href="annotated.html"><span>Class List</span></a></li> |
|
40 <li><a href="functions.html"><span>Class Members</span></a></li> |
|
41 </ul> |
|
42 </div> |
|
43 </div> |
|
44 <div class="contents"> |
|
45 <h1>CTestCFlexTimer Class Reference</h1><!-- doxytag: class="CTestCFlexTimer" --> |
|
46 <p><a href="class_c_test_c_flex_timer-members.html">List of all members.</a></p> |
|
47 <table border="0" cellpadding="0" cellspacing="0"> |
|
48 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
|
49 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a01a81187d19fa795480619e38917f3a0">CreateAndDestroyCFlexTimerL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create and destroy a timer - After. <a href="#a01a81187d19fa795480619e38917f3a0"></a><br/></td></tr> |
|
51 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a27b4453bd2871bc0c5acd10f2b6fbea7">CreateAndExpireCFlexTimerL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
52 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create and expire a timer - After. <a href="#a27b4453bd2871bc0c5acd10f2b6fbea7"></a><br/></td></tr> |
|
53 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#afb54d76ecd75e2ddb3ab663c58abfbc1">CreateAndExpireTwoOverlappingAfterTimersL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create two timers and expire those - overlapping - After 32bit. <a href="#afb54d76ecd75e2ddb3ab663c58abfbc1"></a><br/></td></tr> |
|
55 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ae273e5043ca99bdb58b3af5c258d264b">CreateAndExpireTwoOverlappingAfterTimers64L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
56 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create two timers and expire those - overlapping - After 64bit. <a href="#ae273e5043ca99bdb58b3af5c258d264b"></a><br/></td></tr> |
|
57 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aefbebea75d1ca19915696fe8ecc76433">CreateAndExpireTwoNonOverlappingAfterTimersL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
58 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create two timers and expire those - not overlapping - After. <a href="#aefbebea75d1ca19915696fe8ecc76433"></a><br/></td></tr> |
|
59 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#af3a58e99b054a376beec38ac2ad727dd">HumongousAmountOfTimeridelidilidousL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
60 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create 2000 timers and expire those - After. <a href="#af3a58e99b054a376beec38ac2ad727dd"></a><br/></td></tr> |
|
61 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aa185fe332b244575bed1976efa615cf4">CreateAndExpireThreeTimersL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create and expire three timers - After/At/AtUTC. <a href="#aa185fe332b244575bed1976efa615cf4"></a><br/></td></tr> |
|
63 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab8bde23babb2924113f2f343eef0cfbf">NormalCancelL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
64 <tr><td class="mdescLeft"> </td><td class="mdescRight">Cancel a timer. <a href="#ab8bde23babb2924113f2f343eef0cfbf"></a><br/></td></tr> |
|
65 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a981479dfb7cfcd5752b78c2ef925ddab">CancelTimerThatWouldHaveTriggeredAnotherTimerL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Cancel a timer that would have triggered another timer - After. <a href="#a981479dfb7cfcd5752b78c2ef925ddab"></a><br/></td></tr> |
|
67 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ae9c7bc5b71473b93523051153f856bf7">ConfigureCTimerOverlap1L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
68 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure time window - overlap 1. <a href="#ae9c7bc5b71473b93523051153f856bf7"></a><br/></td></tr> |
|
69 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a95cf412c5038c5cdd06b3be8a5342588">ConfigureCTimerOverlap2L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
70 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure time window - overlap 2. <a href="#a95cf412c5038c5cdd06b3be8a5342588"></a><br/></td></tr> |
|
71 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ada7178baf8443ea52776bbe728c27648">ConfigureCTimerOverlap3L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
72 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure time window - overlap 3. <a href="#ada7178baf8443ea52776bbe728c27648"></a><br/></td></tr> |
|
73 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a9db36a0d22757db4d92804a5b1b8a4bc">ConfigureCTimerNonOverlap1L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure time window - non-overlap. <a href="#a9db36a0d22757db4d92804a5b1b8a4bc"></a><br/></td></tr> |
|
75 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aefa3a41bddd4c5c06e95b5149efcda8f">ConfigureCTimerNonOverlap2L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
76 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure time window - non-overlap 2. <a href="#aefa3a41bddd4c5c06e95b5149efcda8f"></a><br/></td></tr> |
|
77 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab14c53fbc45feb4d53d916dbf6361b8c">SystemTimeChangesL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
78 <tr><td class="mdescLeft"> </td><td class="mdescRight">System time changes. <a href="#ab14c53fbc45feb4d53d916dbf6361b8c"></a><br/></td></tr> |
|
79 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aedc5c711060a9ce024a63d220026359d">TimeZoneChangesL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Timezone changes. <a href="#aedc5c711060a9ce024a63d220026359d"></a><br/></td></tr> |
|
81 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a177960f7730d76a224a80d21c0d38fc8">DumbAssParametersForCTimerL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
82 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#a177960f7730d76a224a80d21c0d38fc8"></a><br/></td></tr> |
|
83 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#af074ccb56539a93d8e2abe158089d2a4">DumbAssParametersForCTimerZero32bitL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
84 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#af074ccb56539a93d8e2abe158089d2a4"></a><br/></td></tr> |
|
85 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a46f81993ea5a17830957abfa33405d9e">DumbAssParametersForCTimerZero64bitL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
86 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#a46f81993ea5a17830957abfa33405d9e"></a><br/></td></tr> |
|
87 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a6500cdee2a9a8c90f85b35068ed287ad">DumbAssParametersForCTimer64MaxL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
88 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#a6500cdee2a9a8c90f85b35068ed287ad"></a><br/></td></tr> |
|
89 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a8ab744734ad271c8a5cb3c4e1ee40147">DumbAssParametersForCTimer64ThreeYearsL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
90 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#a8ab744734ad271c8a5cb3c4e1ee40147"></a><br/></td></tr> |
|
91 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a8c3e3fccad0f4eef2fc22ba8e5de3249">DumbAssParametersForCTimer64OneYearL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
92 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with dumbass parameters <a href="#a8c3e3fccad0f4eef2fc22ba8e5de3249"></a><br/></td></tr> |
|
93 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aee74458396528c1cea9c030457f9f9d1">AfterWithNegativeValueL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
94 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After with invalid parameters <a href="#aee74458396528c1cea9c030457f9f9d1"></a><br/></td></tr> |
|
95 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a2f41ac84a360922354ad0eb146ad96e1">AfterWithNegativeValue64L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
96 <tr><td class="mdescLeft"> </td><td class="mdescRight">call After(64bit) with invalid parameters <a href="#a2f41ac84a360922354ad0eb146ad96e1"></a><br/></td></tr> |
|
97 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a9647b396796d5f5bf09638a011c43ca7">AtWithCurrentTimeL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
98 <tr><td class="mdescLeft"> </td><td class="mdescRight">call At with current time <a href="#a9647b396796d5f5bf09638a011c43ca7"></a><br/></td></tr> |
|
99 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a84f60ce57044c26c0071fd0331f8eb0e">AtUTCWithCurrentTimeL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
100 <tr><td class="mdescLeft"> </td><td class="mdescRight">call AtUTC with current time <a href="#a84f60ce57044c26c0071fd0331f8eb0e"></a><br/></td></tr> |
|
101 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a9d1dfc60854b6feae0193a50be12c64d">AtWithThreeYearsL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
102 <tr><td class="mdescLeft"> </td><td class="mdescRight">call At with time three years from now <a href="#a9d1dfc60854b6feae0193a50be12c64d"></a><br/></td></tr> |
|
103 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a10603dbf1ead8866fd4d25c94f148191">AtWithOneYearL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
104 <tr><td class="mdescLeft"> </td><td class="mdescRight">call At with time one year from now <a href="#a10603dbf1ead8866fd4d25c94f148191"></a><br/></td></tr> |
|
105 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a12ba94326c5728f0e6982e75baf6dcc5">AtWithTimeInThePastL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
106 <tr><td class="mdescLeft"> </td><td class="mdescRight">call At/AtUTC with invalid parameters <a href="#a12ba94326c5728f0e6982e75baf6dcc5"></a><br/></td></tr> |
|
107 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a8f41d2186f5a874dc805982517f9d5ef">CancelExpiredTimerL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Cancel an expired timer - After. <a href="#a8f41d2186f5a874dc805982517f9d5ef"></a><br/></td></tr> |
|
109 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab474f8aafd3190f4117c10aab4498c14">ConfigureLeftSideInThePastL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
110 <tr><td class="mdescLeft"> </td><td class="mdescRight">Left edge of the time window lays in the past - max check. <a href="#ab474f8aafd3190f4117c10aab4498c14"></a><br/></td></tr> |
|
111 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ac78f50a88c1e00a51d839a7aca8671a7">ConfigureLeftSideInThePastWindowCheckL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
112 <tr><td class="mdescLeft"> </td><td class="mdescRight">Left edge of the time window lays in the past - window check. <a href="#ac78f50a88c1e00a51d839a7aca8671a7"></a><br/></td></tr> |
|
113 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a06a38362904c286e4e7c985fc37e7768">ConfigureWithNegativeWindowSize32L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure(32bit) with negative window_size. <a href="#a06a38362904c286e4e7c985fc37e7768"></a><br/></td></tr> |
|
115 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab1f744a69fca0a318520a59895588461">ConfigureWithNegativeWindowSize64L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
116 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure(64bit) with negative window_size. <a href="#ab1f744a69fca0a318520a59895588461"></a><br/></td></tr> |
|
117 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a956d2b2a9cb31dea12c0fe21e4411842">ConfigureWithMaxWindow32L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure(32bit) with 0xFFFFFFFF window_size. <a href="#a956d2b2a9cb31dea12c0fe21e4411842"></a><br/></td></tr> |
|
119 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab1cdc5e190a183110414b0e103ef7729">ConfigureWithThreeYearWindow64L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
120 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure(64bit) with three year window_size. <a href="#ab1cdc5e190a183110414b0e103ef7729"></a><br/></td></tr> |
|
121 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a4ddbccf4bc2897656421fa5b2842becd">ConfigureWithMaxWindow64L</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
122 <tr><td class="mdescLeft"> </td><td class="mdescRight">Configure(64bit) with max window_size. <a href="#a4ddbccf4bc2897656421fa5b2842becd"></a><br/></td></tr> |
|
123 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ad4ae5c4d77189b0b4f583a2ac3b3e7c9">ConfigureWhileTimerIsInUseL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
124 <tr><td class="mdescLeft"> </td><td class="mdescRight">Call configure after starting timer. <a href="#ad4ae5c4d77189b0b4f583a2ac3b3e7c9"></a><br/></td></tr> |
|
125 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a1d835a3755a1aaaf3929450571fad4d4">TimerIsStartedTwiceL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
126 <tr><td class="mdescLeft"> </td><td class="mdescRight">Start timer twice. <a href="#a1d835a3755a1aaaf3929450571fad4d4"></a><br/></td></tr> |
|
127 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ac03dbead1a85812a28d877286632e24d">InheritedFlexTimerCallbackStopSchedulerKErrNone</a> (TAny *aArgument)</td></tr> |
|
128 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check timer stop code and stop active scheduler. <a href="#ac03dbead1a85812a28d877286632e24d"></a><br/></td></tr> |
|
129 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a56b736c0c441d6af9cda5b49394a8aa4">InheritedFlexTimerCallbackStopSchedulerKErrCancel</a> (TAny *aArgument)</td></tr> |
|
130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check timer stop code and stop active scheduler. <a href="#a56b736c0c441d6af9cda5b49394a8aa4"></a><br/></td></tr> |
|
131 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a39e84783dc72d10a43d1512b52b7938b">InheritedFlexTimerCallbackStopSchedulerKErrAbort</a> (TAny *aArgument)</td></tr> |
|
132 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check timer stop code and stop active scheduler. <a href="#a39e84783dc72d10a43d1512b52b7938b"></a><br/></td></tr> |
|
133 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a806885ec216db22b58895f41dbdcd9de">InheritedFlexTimerCallbackKErrNone</a> (TAny *aArgument)</td></tr> |
|
134 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check timer stop code. <a href="#a806885ec216db22b58895f41dbdcd9de"></a><br/></td></tr> |
|
135 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ac5e2885ff7dfd656a3dca6d30193de22">InheritedFlexTimerCallbackKErrAbort</a> (TAny *aArgument)</td></tr> |
|
136 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check timer stop code. <a href="#ac5e2885ff7dfd656a3dca6d30193de22"></a><br/></td></tr> |
|
137 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a6a2986e6ac8bd76fc48058d4076140b8">InheritedFlexTimerCallbackKErrNoneMarkTimestamp</a> (TAny *aArgument)</td></tr> |
|
138 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check error code and mark timestamps. <a href="#a6a2986e6ac8bd76fc48058d4076140b8"></a><br/></td></tr> |
|
139 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a594d1784295e653af95b961da14ada63">InheritedFlexTimerCallbackKErrNoneMarkTimestampStopScheduler</a> (TAny *aArgument)</td></tr> |
|
140 <tr><td class="mdescLeft"> </td><td class="mdescRight">Check error code and mark timestamps. <a href="#a594d1784295e653af95b961da14ada63"></a><br/></td></tr> |
|
141 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a0e0a71701313a1f2d494ff78259758ea">ChangeSystemTime1sAndCancel</a> (TAny *aArgument)</td></tr> |
|
142 <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes system time and cancels CPeriodic given as parameter. <a href="#a0e0a71701313a1f2d494ff78259758ea"></a><br/></td></tr> |
|
143 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a2fbde72851fd32f87a9721666e8587be">ChangeTimeZoneAndCancel</a> (TAny *aArgument)</td></tr> |
|
144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes system time and cancels CPeriodic given as parameter. <a href="#a2fbde72851fd32f87a9721666e8587be"></a><br/></td></tr> |
|
145 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a2388492e14083eac9a386d2afe294f03">ChangeSecureTimeAndCancel</a> (TAny *aArgument)</td></tr> |
|
146 <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes system time and cancels CPeriodic given as parameter. <a href="#a2388492e14083eac9a386d2afe294f03"></a><br/></td></tr> |
|
147 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a130e27b4cca53179521bf31b1d04638b">CancelCFlexTimer</a> (TAny *aArgument)</td></tr> |
|
148 <tr><td class="mdescLeft"> </td><td class="mdescRight">cancel CFlexTimer given as parameter <a href="#a130e27b4cca53179521bf31b1d04638b"></a><br/></td></tr> |
|
149 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a3bed54749e17c08c7909d19bc9f575d5">StopSchedulerKErrNoneArray</a> (TAny *aArgument)</td></tr> |
|
150 <tr><td class="mdescLeft"> </td><td class="mdescRight">See that expiry reason is correct. Array versio. <a href="#a3bed54749e17c08c7909d19bc9f575d5"></a><br/></td></tr> |
|
151 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ab7ef7a749744ab7df65e380ebca2c979">CancelCFlexTimerCancelPeriodic</a> (TAny *aArgument)</td></tr> |
|
152 <tr><td class="mdescLeft"> </td><td class="mdescRight">cancel CFlexTimer given as parameter also cancel CPeriodic <a href="#ab7ef7a749744ab7df65e380ebca2c979"></a><br/></td></tr> |
|
153 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ad6677110fd7d272be0bb01a5f22af55c">CancelCFlexTimerArray</a> (TAny *aArgument)</td></tr> |
|
154 <tr><td class="mdescLeft"> </td><td class="mdescRight">cancel CFlexTimer given as parameter <a href="#ad6677110fd7d272be0bb01a5f22af55c"></a><br/></td></tr> |
|
155 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a5fbb30c67914d98a451a974c1a4e99e6">CancelCFlexTimerAndStopActiveScheduler</a> (TAny *aArgument)</td></tr> |
|
156 <tr><td class="mdescLeft"> </td><td class="mdescRight">cancel CFlexTimer given as parameter and stops active scheduler <a href="#a5fbb30c67914d98a451a974c1a4e99e6"></a><br/></td></tr> |
|
157 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a2664dabecb353420d3602f28f55385eb">StopSchedulerAndCancel</a> (TAny *aArgument)</td></tr> |
|
158 <tr><td class="mdescLeft"> </td><td class="mdescRight">stops activescheduler and cancels it self <a href="#a2664dabecb353420d3602f28f55385eb"></a><br/></td></tr> |
|
159 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#afdf3f0667761f76dae15e6dea3e42959">StopTimer</a> (TAny *aArgument)</td></tr> |
|
160 <tr><td class="mdescLeft"> </td><td class="mdescRight">Stop timer and mark time to list given as parameter. <a href="#afdf3f0667761f76dae15e6dea3e42959"></a><br/></td></tr> |
|
161 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#ad659afbf837df58802b000f02ec6bb7b">ConfigureKErrInUseArray</a> (TAny *aArgument)</td></tr> |
|
162 <tr><td class="mdescLeft"> </td><td class="mdescRight">Try to configure timer and see that KErrInUse is returned. <a href="#ad659afbf837df58802b000f02ec6bb7b"></a><br/></td></tr> |
|
163 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a2a41e6ab98b16adb029aa6ad0c6682ef">StartTimerAgainArray</a> (TAny *aArgument)</td></tr> |
|
164 <tr><td class="mdescLeft"> </td><td class="mdescRight">start timer again <a href="#a2a41e6ab98b16adb029aa6ad0c6682ef"></a><br/></td></tr> |
|
165 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#aaa160b635b310e489790b34023673571">CpuLoadCreateAndExpireTwoOverlappingAfterTimersL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
166 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create two overlapping timers and start, run and expire them during high CPU load. <a href="#aaa160b635b310e489790b34023673571"></a><br/></td></tr> |
|
167 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_test_c_flex_timer.html#a1c8c6b50694b5215656d8a481d8e7d81">CpuLoadManyTimersL</a> (TTestResult &aResult, CTestFlexTimer *cb)</td></tr> |
|
168 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create 100 timers and start, run and expire them during high CPU load. <a href="#a1c8c6b50694b5215656d8a481d8e7d81"></a><br/></td></tr> |
|
169 </table> |
|
170 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
|
171 <p>STIF test cases for CFlexTimer class. This class implements test cases for testing CFlexTimer class.</p> |
|
172 <dl class="since"><dt><b>Since:</b></dt><dd>TB10.1 </dd></dl> |
|
173 <hr/><h2>Member Function Documentation</h2> |
|
174 <a class="anchor" id="a2f41ac84a360922354ad0eb146ad96e1"></a><!-- doxytag: member="CTestCFlexTimer::AfterWithNegativeValue64L" ref="a2f41ac84a360922354ad0eb146ad96e1" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
175 <div class="memitem"> |
|
176 <div class="memproto"> |
|
177 <table class="memname"> |
|
178 <tr> |
|
179 <td class="memname">static TInt CTestCFlexTimer::AfterWithNegativeValue64L </td> |
|
180 <td>(</td> |
|
181 <td class="paramtype">TTestResult & </td> |
|
182 <td class="paramname"> <em>aResult</em>, </td> |
|
183 </tr> |
|
184 <tr> |
|
185 <td class="paramkey"></td> |
|
186 <td></td> |
|
187 <td class="paramtype">CTestFlexTimer * </td> |
|
188 <td class="paramname"> <em>cb</em></td><td> </td> |
|
189 </tr> |
|
190 <tr> |
|
191 <td></td> |
|
192 <td>)</td> |
|
193 <td></td><td></td><td><code> [static]</code></td> |
|
194 </tr> |
|
195 </table> |
|
196 </div> |
|
197 <div class="memdoc"> |
|
198 |
|
199 <p>call After(64bit) with invalid parameters </p> |
|
200 <p>Test that negative intervals cause panic in After()<br/> |
|
201 <br/> |
|
202 </p> |
|
203 <ul> |
|
204 <li>Use class that is inherited from CFlexTimer.<br/> |
|
205 </li> |
|
206 <li>Call After(64bit) with negative interval See that it causes a panic.<br/> |
|
207 TODO what panic? Shouldn't this read in documentation</li> |
|
208 </ul> |
|
209 <dl><dt><b>Parameters:</b></dt><dd> |
|
210 <table border="0" cellspacing="2" cellpadding="0"> |
|
211 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
212 </table> |
|
213 </dd> |
|
214 </dl> |
|
215 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
216 |
|
217 </div> |
|
218 </div> |
|
219 <a class="anchor" id="aee74458396528c1cea9c030457f9f9d1"></a><!-- doxytag: member="CTestCFlexTimer::AfterWithNegativeValueL" ref="aee74458396528c1cea9c030457f9f9d1" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
220 <div class="memitem"> |
|
221 <div class="memproto"> |
|
222 <table class="memname"> |
|
223 <tr> |
|
224 <td class="memname">static TInt CTestCFlexTimer::AfterWithNegativeValueL </td> |
|
225 <td>(</td> |
|
226 <td class="paramtype">TTestResult & </td> |
|
227 <td class="paramname"> <em>aResult</em>, </td> |
|
228 </tr> |
|
229 <tr> |
|
230 <td class="paramkey"></td> |
|
231 <td></td> |
|
232 <td class="paramtype">CTestFlexTimer * </td> |
|
233 <td class="paramname"> <em>cb</em></td><td> </td> |
|
234 </tr> |
|
235 <tr> |
|
236 <td></td> |
|
237 <td>)</td> |
|
238 <td></td><td></td><td><code> [static]</code></td> |
|
239 </tr> |
|
240 </table> |
|
241 </div> |
|
242 <div class="memdoc"> |
|
243 |
|
244 <p>call After with invalid parameters </p> |
|
245 <p>Test that negative intervals cause panic in After()<br/> |
|
246 <br/> |
|
247 </p> |
|
248 <ul> |
|
249 <li>Use class that is inherited from CFlexTimer.<br/> |
|
250 </li> |
|
251 <li>Call After(32bit) with negative interval See that it causes a panic.<br/> |
|
252 TODO what panic? Shouldn't this read in documentation</li> |
|
253 </ul> |
|
254 <dl><dt><b>Parameters:</b></dt><dd> |
|
255 <table border="0" cellspacing="2" cellpadding="0"> |
|
256 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
257 </table> |
|
258 </dd> |
|
259 </dl> |
|
260 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
261 |
|
262 </div> |
|
263 </div> |
|
264 <a class="anchor" id="a84f60ce57044c26c0071fd0331f8eb0e"></a><!-- doxytag: member="CTestCFlexTimer::AtUTCWithCurrentTimeL" ref="a84f60ce57044c26c0071fd0331f8eb0e" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
265 <div class="memitem"> |
|
266 <div class="memproto"> |
|
267 <table class="memname"> |
|
268 <tr> |
|
269 <td class="memname">static TInt CTestCFlexTimer::AtUTCWithCurrentTimeL </td> |
|
270 <td>(</td> |
|
271 <td class="paramtype">TTestResult & </td> |
|
272 <td class="paramname"> <em>aResult</em>, </td> |
|
273 </tr> |
|
274 <tr> |
|
275 <td class="paramkey"></td> |
|
276 <td></td> |
|
277 <td class="paramtype">CTestFlexTimer * </td> |
|
278 <td class="paramname"> <em>cb</em></td><td> </td> |
|
279 </tr> |
|
280 <tr> |
|
281 <td></td> |
|
282 <td>)</td> |
|
283 <td></td><td></td><td><code> [static]</code></td> |
|
284 </tr> |
|
285 </table> |
|
286 </div> |
|
287 <div class="memdoc"> |
|
288 |
|
289 <p>call AtUTC with current time </p> |
|
290 <p>Test that AtUTC() with current time panics<br/> |
|
291 <br/> |
|
292 </p> |
|
293 <ul> |
|
294 <li>Use class that is inherited from CFlexTimer.<br/> |
|
295 </li> |
|
296 <li>Call At with current time. See that client panics<br/> |
|
297 </li> |
|
298 </ul> |
|
299 <dl><dt><b>Parameters:</b></dt><dd> |
|
300 <table border="0" cellspacing="2" cellpadding="0"> |
|
301 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
302 </table> |
|
303 </dd> |
|
304 </dl> |
|
305 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
306 |
|
307 </div> |
|
308 </div> |
|
309 <a class="anchor" id="a9647b396796d5f5bf09638a011c43ca7"></a><!-- doxytag: member="CTestCFlexTimer::AtWithCurrentTimeL" ref="a9647b396796d5f5bf09638a011c43ca7" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
310 <div class="memitem"> |
|
311 <div class="memproto"> |
|
312 <table class="memname"> |
|
313 <tr> |
|
314 <td class="memname">static TInt CTestCFlexTimer::AtWithCurrentTimeL </td> |
|
315 <td>(</td> |
|
316 <td class="paramtype">TTestResult & </td> |
|
317 <td class="paramname"> <em>aResult</em>, </td> |
|
318 </tr> |
|
319 <tr> |
|
320 <td class="paramkey"></td> |
|
321 <td></td> |
|
322 <td class="paramtype">CTestFlexTimer * </td> |
|
323 <td class="paramname"> <em>cb</em></td><td> </td> |
|
324 </tr> |
|
325 <tr> |
|
326 <td></td> |
|
327 <td>)</td> |
|
328 <td></td><td></td><td><code> [static]</code></td> |
|
329 </tr> |
|
330 </table> |
|
331 </div> |
|
332 <div class="memdoc"> |
|
333 |
|
334 <p>call At with current time </p> |
|
335 <p>Test that At() with current time panics<br/> |
|
336 <br/> |
|
337 </p> |
|
338 <ul> |
|
339 <li>Use class that is inherited from CFlexTimer.<br/> |
|
340 </li> |
|
341 <li>Call At with current time. See that client panics<br/> |
|
342 </li> |
|
343 </ul> |
|
344 <dl><dt><b>Parameters:</b></dt><dd> |
|
345 <table border="0" cellspacing="2" cellpadding="0"> |
|
346 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
347 </table> |
|
348 </dd> |
|
349 </dl> |
|
350 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
351 |
|
352 </div> |
|
353 </div> |
|
354 <a class="anchor" id="a10603dbf1ead8866fd4d25c94f148191"></a><!-- doxytag: member="CTestCFlexTimer::AtWithOneYearL" ref="a10603dbf1ead8866fd4d25c94f148191" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
355 <div class="memitem"> |
|
356 <div class="memproto"> |
|
357 <table class="memname"> |
|
358 <tr> |
|
359 <td class="memname">static TInt CTestCFlexTimer::AtWithOneYearL </td> |
|
360 <td>(</td> |
|
361 <td class="paramtype">TTestResult & </td> |
|
362 <td class="paramname"> <em>aResult</em>, </td> |
|
363 </tr> |
|
364 <tr> |
|
365 <td class="paramkey"></td> |
|
366 <td></td> |
|
367 <td class="paramtype">CTestFlexTimer * </td> |
|
368 <td class="paramname"> <em>cb</em></td><td> </td> |
|
369 </tr> |
|
370 <tr> |
|
371 <td></td> |
|
372 <td>)</td> |
|
373 <td></td><td></td><td><code> [static]</code></td> |
|
374 </tr> |
|
375 </table> |
|
376 </div> |
|
377 <div class="memdoc"> |
|
378 |
|
379 <p>call At with time one year from now </p> |
|
380 <p>Test that At() with one year from now panics<br/> |
|
381 <br/> |
|
382 </p> |
|
383 <ul> |
|
384 <li>Use class that is inherited from CFlexTimer.<br/> |
|
385 </li> |
|
386 <li>Call At with one year from now.</li> |
|
387 <li>Cancel timer<br/> |
|
388 </li> |
|
389 </ul> |
|
390 <dl><dt><b>Parameters:</b></dt><dd> |
|
391 <table border="0" cellspacing="2" cellpadding="0"> |
|
392 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
393 </table> |
|
394 </dd> |
|
395 </dl> |
|
396 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
397 |
|
398 </div> |
|
399 </div> |
|
400 <a class="anchor" id="a9d1dfc60854b6feae0193a50be12c64d"></a><!-- doxytag: member="CTestCFlexTimer::AtWithThreeYearsL" ref="a9d1dfc60854b6feae0193a50be12c64d" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
401 <div class="memitem"> |
|
402 <div class="memproto"> |
|
403 <table class="memname"> |
|
404 <tr> |
|
405 <td class="memname">static TInt CTestCFlexTimer::AtWithThreeYearsL </td> |
|
406 <td>(</td> |
|
407 <td class="paramtype">TTestResult & </td> |
|
408 <td class="paramname"> <em>aResult</em>, </td> |
|
409 </tr> |
|
410 <tr> |
|
411 <td class="paramkey"></td> |
|
412 <td></td> |
|
413 <td class="paramtype">CTestFlexTimer * </td> |
|
414 <td class="paramname"> <em>cb</em></td><td> </td> |
|
415 </tr> |
|
416 <tr> |
|
417 <td></td> |
|
418 <td>)</td> |
|
419 <td></td><td></td><td><code> [static]</code></td> |
|
420 </tr> |
|
421 </table> |
|
422 </div> |
|
423 <div class="memdoc"> |
|
424 |
|
425 <p>call At with time three years from now </p> |
|
426 <p>Test that At() with three years from now panics<br/> |
|
427 <br/> |
|
428 </p> |
|
429 <ul> |
|
430 <li>Use class that is inherited from CFlexTimer.<br/> |
|
431 </li> |
|
432 <li>Call At with three years from now. See that client panics<br/> |
|
433 </li> |
|
434 </ul> |
|
435 <dl><dt><b>Parameters:</b></dt><dd> |
|
436 <table border="0" cellspacing="2" cellpadding="0"> |
|
437 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
438 </table> |
|
439 </dd> |
|
440 </dl> |
|
441 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
442 |
|
443 </div> |
|
444 </div> |
|
445 <a class="anchor" id="a12ba94326c5728f0e6982e75baf6dcc5"></a><!-- doxytag: member="CTestCFlexTimer::AtWithTimeInThePastL" ref="a12ba94326c5728f0e6982e75baf6dcc5" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
446 <div class="memitem"> |
|
447 <div class="memproto"> |
|
448 <table class="memname"> |
|
449 <tr> |
|
450 <td class="memname">static TInt CTestCFlexTimer::AtWithTimeInThePastL </td> |
|
451 <td>(</td> |
|
452 <td class="paramtype">TTestResult & </td> |
|
453 <td class="paramname"> <em>aResult</em>, </td> |
|
454 </tr> |
|
455 <tr> |
|
456 <td class="paramkey"></td> |
|
457 <td></td> |
|
458 <td class="paramtype">CTestFlexTimer * </td> |
|
459 <td class="paramname"> <em>cb</em></td><td> </td> |
|
460 </tr> |
|
461 <tr> |
|
462 <td></td> |
|
463 <td>)</td> |
|
464 <td></td><td></td><td><code> [static]</code></td> |
|
465 </tr> |
|
466 </table> |
|
467 </div> |
|
468 <div class="memdoc"> |
|
469 |
|
470 <p>call At/AtUTC with invalid parameters </p> |
|
471 <p>Test that calling At() with time that is in the past causes panic<br/> |
|
472 <br/> |
|
473 </p> |
|
474 <ul> |
|
475 <li>Use class that is inherited from CFlexTimer.<br/> |
|
476 </li> |
|
477 <li>Call At with time in the past<br/> |
|
478 See that it causes panic TODO what panic? Shouldn't this read in documentation</li> |
|
479 </ul> |
|
480 <dl><dt><b>Parameters:</b></dt><dd> |
|
481 <table border="0" cellspacing="2" cellpadding="0"> |
|
482 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
483 </table> |
|
484 </dd> |
|
485 </dl> |
|
486 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
487 |
|
488 </div> |
|
489 </div> |
|
490 <a class="anchor" id="a130e27b4cca53179521bf31b1d04638b"></a><!-- doxytag: member="CTestCFlexTimer::CancelCFlexTimer" ref="a130e27b4cca53179521bf31b1d04638b" args="(TAny *aArgument)" --> |
|
491 <div class="memitem"> |
|
492 <div class="memproto"> |
|
493 <table class="memname"> |
|
494 <tr> |
|
495 <td class="memname">static TInt CTestCFlexTimer::CancelCFlexTimer </td> |
|
496 <td>(</td> |
|
497 <td class="paramtype">TAny * </td> |
|
498 <td class="paramname"> <em>aArgument</em></td> |
|
499 <td> ) </td> |
|
500 <td><code> [static]</code></td> |
|
501 </tr> |
|
502 </table> |
|
503 </div> |
|
504 <div class="memdoc"> |
|
505 |
|
506 <p>cancel CFlexTimer given as parameter </p> |
|
507 <p>N/A</p> |
|
508 <dl><dt><b>Parameters:</b></dt><dd> |
|
509 <table border="0" cellspacing="2" cellpadding="0"> |
|
510 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
511 </table> |
|
512 </dd> |
|
513 </dl> |
|
514 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
515 |
|
516 </div> |
|
517 </div> |
|
518 <a class="anchor" id="a5fbb30c67914d98a451a974c1a4e99e6"></a><!-- doxytag: member="CTestCFlexTimer::CancelCFlexTimerAndStopActiveScheduler" ref="a5fbb30c67914d98a451a974c1a4e99e6" args="(TAny *aArgument)" --> |
|
519 <div class="memitem"> |
|
520 <div class="memproto"> |
|
521 <table class="memname"> |
|
522 <tr> |
|
523 <td class="memname">static TInt CTestCFlexTimer::CancelCFlexTimerAndStopActiveScheduler </td> |
|
524 <td>(</td> |
|
525 <td class="paramtype">TAny * </td> |
|
526 <td class="paramname"> <em>aArgument</em></td> |
|
527 <td> ) </td> |
|
528 <td><code> [static]</code></td> |
|
529 </tr> |
|
530 </table> |
|
531 </div> |
|
532 <div class="memdoc"> |
|
533 |
|
534 <p>cancel CFlexTimer given as parameter and stops active scheduler </p> |
|
535 <p>N/A</p> |
|
536 <dl><dt><b>Parameters:</b></dt><dd> |
|
537 <table border="0" cellspacing="2" cellpadding="0"> |
|
538 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
539 </table> |
|
540 </dd> |
|
541 </dl> |
|
542 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
543 |
|
544 </div> |
|
545 </div> |
|
546 <a class="anchor" id="ad6677110fd7d272be0bb01a5f22af55c"></a><!-- doxytag: member="CTestCFlexTimer::CancelCFlexTimerArray" ref="ad6677110fd7d272be0bb01a5f22af55c" args="(TAny *aArgument)" --> |
|
547 <div class="memitem"> |
|
548 <div class="memproto"> |
|
549 <table class="memname"> |
|
550 <tr> |
|
551 <td class="memname">static TInt CTestCFlexTimer::CancelCFlexTimerArray </td> |
|
552 <td>(</td> |
|
553 <td class="paramtype">TAny * </td> |
|
554 <td class="paramname"> <em>aArgument</em></td> |
|
555 <td> ) </td> |
|
556 <td><code> [static]</code></td> |
|
557 </tr> |
|
558 </table> |
|
559 </div> |
|
560 <div class="memdoc"> |
|
561 |
|
562 <p>cancel CFlexTimer given as parameter </p> |
|
563 <p>N/A</p> |
|
564 <dl><dt><b>Parameters:</b></dt><dd> |
|
565 <table border="0" cellspacing="2" cellpadding="0"> |
|
566 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
567 </table> |
|
568 </dd> |
|
569 </dl> |
|
570 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
571 |
|
572 </div> |
|
573 </div> |
|
574 <a class="anchor" id="ab7ef7a749744ab7df65e380ebca2c979"></a><!-- doxytag: member="CTestCFlexTimer::CancelCFlexTimerCancelPeriodic" ref="ab7ef7a749744ab7df65e380ebca2c979" args="(TAny *aArgument)" --> |
|
575 <div class="memitem"> |
|
576 <div class="memproto"> |
|
577 <table class="memname"> |
|
578 <tr> |
|
579 <td class="memname">static TInt CTestCFlexTimer::CancelCFlexTimerCancelPeriodic </td> |
|
580 <td>(</td> |
|
581 <td class="paramtype">TAny * </td> |
|
582 <td class="paramname"> <em>aArgument</em></td> |
|
583 <td> ) </td> |
|
584 <td><code> [static]</code></td> |
|
585 </tr> |
|
586 </table> |
|
587 </div> |
|
588 <div class="memdoc"> |
|
589 |
|
590 <p>cancel CFlexTimer given as parameter also cancel CPeriodic </p> |
|
591 <p>N/A</p> |
|
592 <dl><dt><b>Parameters:</b></dt><dd> |
|
593 <table border="0" cellspacing="2" cellpadding="0"> |
|
594 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
595 </table> |
|
596 </dd> |
|
597 </dl> |
|
598 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
599 |
|
600 </div> |
|
601 </div> |
|
602 <a class="anchor" id="a8f41d2186f5a874dc805982517f9d5ef"></a><!-- doxytag: member="CTestCFlexTimer::CancelExpiredTimerL" ref="a8f41d2186f5a874dc805982517f9d5ef" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
603 <div class="memitem"> |
|
604 <div class="memproto"> |
|
605 <table class="memname"> |
|
606 <tr> |
|
607 <td class="memname">static TInt CTestCFlexTimer::CancelExpiredTimerL </td> |
|
608 <td>(</td> |
|
609 <td class="paramtype">TTestResult & </td> |
|
610 <td class="paramname"> <em>aResult</em>, </td> |
|
611 </tr> |
|
612 <tr> |
|
613 <td class="paramkey"></td> |
|
614 <td></td> |
|
615 <td class="paramtype">CTestFlexTimer * </td> |
|
616 <td class="paramname"> <em>cb</em></td><td> </td> |
|
617 </tr> |
|
618 <tr> |
|
619 <td></td> |
|
620 <td>)</td> |
|
621 <td></td><td></td><td><code> [static]</code></td> |
|
622 </tr> |
|
623 </table> |
|
624 </div> |
|
625 <div class="memdoc"> |
|
626 |
|
627 <p>Cancel an expired timer - After. </p> |
|
628 <p>Test that calling already expired timer does not cause any harm<br/> |
|
629 <br/> |
|
630 </p> |
|
631 <ul> |
|
632 <li>Use class that is inherited from CFlexTimer.<br/> |
|
633 </li> |
|
634 <li>Start timer and wait for it to expire. After it expires cancel it<br/> |
|
635 </li> |
|
636 <li>Start timer again and see that it expires normally.</li> |
|
637 </ul> |
|
638 <dl><dt><b>Parameters:</b></dt><dd> |
|
639 <table border="0" cellspacing="2" cellpadding="0"> |
|
640 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
641 </table> |
|
642 </dd> |
|
643 </dl> |
|
644 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
645 |
|
646 </div> |
|
647 </div> |
|
648 <a class="anchor" id="a981479dfb7cfcd5752b78c2ef925ddab"></a><!-- doxytag: member="CTestCFlexTimer::CancelTimerThatWouldHaveTriggeredAnotherTimerL" ref="a981479dfb7cfcd5752b78c2ef925ddab" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
649 <div class="memitem"> |
|
650 <div class="memproto"> |
|
651 <table class="memname"> |
|
652 <tr> |
|
653 <td class="memname">static TInt CTestCFlexTimer::CancelTimerThatWouldHaveTriggeredAnotherTimerL </td> |
|
654 <td>(</td> |
|
655 <td class="paramtype">TTestResult & </td> |
|
656 <td class="paramname"> <em>aResult</em>, </td> |
|
657 </tr> |
|
658 <tr> |
|
659 <td class="paramkey"></td> |
|
660 <td></td> |
|
661 <td class="paramtype">CTestFlexTimer * </td> |
|
662 <td class="paramname"> <em>cb</em></td><td> </td> |
|
663 </tr> |
|
664 <tr> |
|
665 <td></td> |
|
666 <td>)</td> |
|
667 <td></td><td></td><td><code> [static]</code></td> |
|
668 </tr> |
|
669 </table> |
|
670 </div> |
|
671 <div class="memdoc"> |
|
672 |
|
673 <p>Cancel a timer that would have triggered another timer - After. </p> |
|
674 <p>Test that canceling timer actually cancels it<br/> |
|
675 <br/> |
|
676 </p> |
|
677 <ul> |
|
678 <li>Use class that is inherited from CFlexTimer.<br/> |
|
679 </li> |
|
680 <li>Start two timers with overlapping windows.<br/> |
|
681 </li> |
|
682 <li>Cancel first timer before it expires and check that second timer is fired at it's max time.</li> |
|
683 </ul> |
|
684 <dl><dt><b>Parameters:</b></dt><dd> |
|
685 <table border="0" cellspacing="2" cellpadding="0"> |
|
686 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
687 </table> |
|
688 </dd> |
|
689 </dl> |
|
690 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
691 |
|
692 </div> |
|
693 </div> |
|
694 <a class="anchor" id="a2388492e14083eac9a386d2afe294f03"></a><!-- doxytag: member="CTestCFlexTimer::ChangeSecureTimeAndCancel" ref="a2388492e14083eac9a386d2afe294f03" args="(TAny *aArgument)" --> |
|
695 <div class="memitem"> |
|
696 <div class="memproto"> |
|
697 <table class="memname"> |
|
698 <tr> |
|
699 <td class="memname">static TInt CTestCFlexTimer::ChangeSecureTimeAndCancel </td> |
|
700 <td>(</td> |
|
701 <td class="paramtype">TAny * </td> |
|
702 <td class="paramname"> <em>aArgument</em></td> |
|
703 <td> ) </td> |
|
704 <td><code> [static]</code></td> |
|
705 </tr> |
|
706 </table> |
|
707 </div> |
|
708 <div class="memdoc"> |
|
709 |
|
710 <p>Changes system time and cancels CPeriodic given as parameter. </p> |
|
711 <p>N/A</p> |
|
712 <dl><dt><b>Parameters:</b></dt><dd> |
|
713 <table border="0" cellspacing="2" cellpadding="0"> |
|
714 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
715 </table> |
|
716 </dd> |
|
717 </dl> |
|
718 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
719 |
|
720 </div> |
|
721 </div> |
|
722 <a class="anchor" id="a0e0a71701313a1f2d494ff78259758ea"></a><!-- doxytag: member="CTestCFlexTimer::ChangeSystemTime1sAndCancel" ref="a0e0a71701313a1f2d494ff78259758ea" args="(TAny *aArgument)" --> |
|
723 <div class="memitem"> |
|
724 <div class="memproto"> |
|
725 <table class="memname"> |
|
726 <tr> |
|
727 <td class="memname">static TInt CTestCFlexTimer::ChangeSystemTime1sAndCancel </td> |
|
728 <td>(</td> |
|
729 <td class="paramtype">TAny * </td> |
|
730 <td class="paramname"> <em>aArgument</em></td> |
|
731 <td> ) </td> |
|
732 <td><code> [static]</code></td> |
|
733 </tr> |
|
734 </table> |
|
735 </div> |
|
736 <div class="memdoc"> |
|
737 |
|
738 <p>Changes system time and cancels CPeriodic given as parameter. </p> |
|
739 <p>N/A</p> |
|
740 <dl><dt><b>Parameters:</b></dt><dd> |
|
741 <table border="0" cellspacing="2" cellpadding="0"> |
|
742 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
743 </table> |
|
744 </dd> |
|
745 </dl> |
|
746 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
747 |
|
748 </div> |
|
749 </div> |
|
750 <a class="anchor" id="a2fbde72851fd32f87a9721666e8587be"></a><!-- doxytag: member="CTestCFlexTimer::ChangeTimeZoneAndCancel" ref="a2fbde72851fd32f87a9721666e8587be" args="(TAny *aArgument)" --> |
|
751 <div class="memitem"> |
|
752 <div class="memproto"> |
|
753 <table class="memname"> |
|
754 <tr> |
|
755 <td class="memname">static TInt CTestCFlexTimer::ChangeTimeZoneAndCancel </td> |
|
756 <td>(</td> |
|
757 <td class="paramtype">TAny * </td> |
|
758 <td class="paramname"> <em>aArgument</em></td> |
|
759 <td> ) </td> |
|
760 <td><code> [static]</code></td> |
|
761 </tr> |
|
762 </table> |
|
763 </div> |
|
764 <div class="memdoc"> |
|
765 |
|
766 <p>Changes system time and cancels CPeriodic given as parameter. </p> |
|
767 <p>N/A</p> |
|
768 <dl><dt><b>Parameters:</b></dt><dd> |
|
769 <table border="0" cellspacing="2" cellpadding="0"> |
|
770 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
771 </table> |
|
772 </dd> |
|
773 </dl> |
|
774 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
775 |
|
776 </div> |
|
777 </div> |
|
778 <a class="anchor" id="a9db36a0d22757db4d92804a5b1b8a4bc"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureCTimerNonOverlap1L" ref="a9db36a0d22757db4d92804a5b1b8a4bc" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
779 <div class="memitem"> |
|
780 <div class="memproto"> |
|
781 <table class="memname"> |
|
782 <tr> |
|
783 <td class="memname">static TInt CTestCFlexTimer::ConfigureCTimerNonOverlap1L </td> |
|
784 <td>(</td> |
|
785 <td class="paramtype">TTestResult & </td> |
|
786 <td class="paramname"> <em>aResult</em>, </td> |
|
787 </tr> |
|
788 <tr> |
|
789 <td class="paramkey"></td> |
|
790 <td></td> |
|
791 <td class="paramtype">CTestFlexTimer * </td> |
|
792 <td class="paramname"> <em>cb</em></td><td> </td> |
|
793 </tr> |
|
794 <tr> |
|
795 <td></td> |
|
796 <td>)</td> |
|
797 <td></td><td></td><td><code> [static]</code></td> |
|
798 </tr> |
|
799 </table> |
|
800 </div> |
|
801 <div class="memdoc"> |
|
802 |
|
803 <p>Configure time window - non-overlap. </p> |
|
804 <p>Test that Timers are triggered correctly after Configure<br/> |
|
805 <br/> |
|
806 </p> |
|
807 <ul> |
|
808 <li>Use class that is inherited from CFlexTimer.<br/> |
|
809 </li> |
|
810 <li>Use two timers. Set first timer having 0% window and second having 10% window.<br/> |
|
811 </li> |
|
812 <li>Set timers so that second timers max window is 1 seconds earlier than first timers min window.<br/> |
|
813 </li> |
|
814 <li>See that both timers fire at max time</li> |
|
815 </ul> |
|
816 <dl><dt><b>Parameters:</b></dt><dd> |
|
817 <table border="0" cellspacing="2" cellpadding="0"> |
|
818 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
819 </table> |
|
820 </dd> |
|
821 </dl> |
|
822 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
823 |
|
824 </div> |
|
825 </div> |
|
826 <a class="anchor" id="aefa3a41bddd4c5c06e95b5149efcda8f"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureCTimerNonOverlap2L" ref="aefa3a41bddd4c5c06e95b5149efcda8f" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
827 <div class="memitem"> |
|
828 <div class="memproto"> |
|
829 <table class="memname"> |
|
830 <tr> |
|
831 <td class="memname">static TInt CTestCFlexTimer::ConfigureCTimerNonOverlap2L </td> |
|
832 <td>(</td> |
|
833 <td class="paramtype">TTestResult & </td> |
|
834 <td class="paramname"> <em>aResult</em>, </td> |
|
835 </tr> |
|
836 <tr> |
|
837 <td class="paramkey"></td> |
|
838 <td></td> |
|
839 <td class="paramtype">CTestFlexTimer * </td> |
|
840 <td class="paramname"> <em>cb</em></td><td> </td> |
|
841 </tr> |
|
842 <tr> |
|
843 <td></td> |
|
844 <td>)</td> |
|
845 <td></td><td></td><td><code> [static]</code></td> |
|
846 </tr> |
|
847 </table> |
|
848 </div> |
|
849 <div class="memdoc"> |
|
850 |
|
851 <p>Configure time window - non-overlap 2. </p> |
|
852 <p>Test that Timers are triggered correctly after Configure<br/> |
|
853 <br/> |
|
854 </p> |
|
855 <ul> |
|
856 <li>Use class that is inherited from CFlexTimer.<br/> |
|
857 </li> |
|
858 <li>Use two timers. Set first timer having 100% window</li> |
|
859 <li>then overwrite that by giving first timer 50% window.<br/> |
|
860 </li> |
|
861 <li>Give second timer 50% window.<br/> |
|
862 </li> |
|
863 <li>Set timers so that second timers max window is 1 seconds earlier than first timers min window.<br/> |
|
864 </li> |
|
865 <li>See that both timers fire at max time</li> |
|
866 </ul> |
|
867 <dl><dt><b>Parameters:</b></dt><dd> |
|
868 <table border="0" cellspacing="2" cellpadding="0"> |
|
869 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
870 </table> |
|
871 </dd> |
|
872 </dl> |
|
873 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
874 |
|
875 </div> |
|
876 </div> |
|
877 <a class="anchor" id="ae9c7bc5b71473b93523051153f856bf7"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureCTimerOverlap1L" ref="ae9c7bc5b71473b93523051153f856bf7" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
878 <div class="memitem"> |
|
879 <div class="memproto"> |
|
880 <table class="memname"> |
|
881 <tr> |
|
882 <td class="memname">static TInt CTestCFlexTimer::ConfigureCTimerOverlap1L </td> |
|
883 <td>(</td> |
|
884 <td class="paramtype">TTestResult & </td> |
|
885 <td class="paramname"> <em>aResult</em>, </td> |
|
886 </tr> |
|
887 <tr> |
|
888 <td class="paramkey"></td> |
|
889 <td></td> |
|
890 <td class="paramtype">CTestFlexTimer * </td> |
|
891 <td class="paramname"> <em>cb</em></td><td> </td> |
|
892 </tr> |
|
893 <tr> |
|
894 <td></td> |
|
895 <td>)</td> |
|
896 <td></td><td></td><td><code> [static]</code></td> |
|
897 </tr> |
|
898 </table> |
|
899 </div> |
|
900 <div class="memdoc"> |
|
901 |
|
902 <p>Configure time window - overlap 1. </p> |
|
903 <p>Test that Timers are triggered correctly after Configure<br/> |
|
904 <br/> |
|
905 </p> |
|
906 <ul> |
|
907 <li>Use class that is inherited from CFlexTimer.<br/> |
|
908 </li> |
|
909 <li>Use two timers. Set first timer having 50% window and second having 10% window.<br/> |
|
910 </li> |
|
911 <li>Set timers so that first timers max window overlaps 1s with second timers window -> first timer causes second timer to be fired</li> |
|
912 </ul> |
|
913 <dl><dt><b>Parameters:</b></dt><dd> |
|
914 <table border="0" cellspacing="2" cellpadding="0"> |
|
915 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
916 </table> |
|
917 </dd> |
|
918 </dl> |
|
919 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
920 |
|
921 </div> |
|
922 </div> |
|
923 <a class="anchor" id="a95cf412c5038c5cdd06b3be8a5342588"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureCTimerOverlap2L" ref="a95cf412c5038c5cdd06b3be8a5342588" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
924 <div class="memitem"> |
|
925 <div class="memproto"> |
|
926 <table class="memname"> |
|
927 <tr> |
|
928 <td class="memname">static TInt CTestCFlexTimer::ConfigureCTimerOverlap2L </td> |
|
929 <td>(</td> |
|
930 <td class="paramtype">TTestResult & </td> |
|
931 <td class="paramname"> <em>aResult</em>, </td> |
|
932 </tr> |
|
933 <tr> |
|
934 <td class="paramkey"></td> |
|
935 <td></td> |
|
936 <td class="paramtype">CTestFlexTimer * </td> |
|
937 <td class="paramname"> <em>cb</em></td><td> </td> |
|
938 </tr> |
|
939 <tr> |
|
940 <td></td> |
|
941 <td>)</td> |
|
942 <td></td><td></td><td><code> [static]</code></td> |
|
943 </tr> |
|
944 </table> |
|
945 </div> |
|
946 <div class="memdoc"> |
|
947 |
|
948 <p>Configure time window - overlap 2. </p> |
|
949 <p>Test that Timers are triggered correctly after Configure<br/> |
|
950 <br/> |
|
951 </p> |
|
952 <ul> |
|
953 <li>Use class that is inherited from CFlexTimer.<br/> |
|
954 </li> |
|
955 <li>Use 64bit IF.</li> |
|
956 <li>Use two timers. Set first timer having 50% window and second having 10% window.<br/> |
|
957 </li> |
|
958 <li>Set timers so that first timers min window overlaps 1s with second timers window -> second timer causes first timer to be fired</li> |
|
959 </ul> |
|
960 <dl><dt><b>Parameters:</b></dt><dd> |
|
961 <table border="0" cellspacing="2" cellpadding="0"> |
|
962 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
963 </table> |
|
964 </dd> |
|
965 </dl> |
|
966 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
967 |
|
968 </div> |
|
969 </div> |
|
970 <a class="anchor" id="ada7178baf8443ea52776bbe728c27648"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureCTimerOverlap3L" ref="ada7178baf8443ea52776bbe728c27648" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
971 <div class="memitem"> |
|
972 <div class="memproto"> |
|
973 <table class="memname"> |
|
974 <tr> |
|
975 <td class="memname">static TInt CTestCFlexTimer::ConfigureCTimerOverlap3L </td> |
|
976 <td>(</td> |
|
977 <td class="paramtype">TTestResult & </td> |
|
978 <td class="paramname"> <em>aResult</em>, </td> |
|
979 </tr> |
|
980 <tr> |
|
981 <td class="paramkey"></td> |
|
982 <td></td> |
|
983 <td class="paramtype">CTestFlexTimer * </td> |
|
984 <td class="paramname"> <em>cb</em></td><td> </td> |
|
985 </tr> |
|
986 <tr> |
|
987 <td></td> |
|
988 <td>)</td> |
|
989 <td></td><td></td><td><code> [static]</code></td> |
|
990 </tr> |
|
991 </table> |
|
992 </div> |
|
993 <div class="memdoc"> |
|
994 |
|
995 <p>Configure time window - overlap 3. </p> |
|
996 <p>Test that if many Configures are used, latest is the one that remains. Also test 0 and 100% values<br/> |
|
997 <br/> |
|
998 </p> |
|
999 <ul> |
|
1000 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1001 </li> |
|
1002 <li>Use two timers. Set first timer having 0% window then overwrite that by giving 100% window to first timer.<br/> |
|
1003 </li> |
|
1004 <li>Give second timer 0% window.<br/> |
|
1005 </li> |
|
1006 <li>Start second timer so that it overlaps with first timer<br/> |
|
1007 </li> |
|
1008 <li>See that first timer is fired when second is fired.</li> |
|
1009 </ul> |
|
1010 <dl><dt><b>Parameters:</b></dt><dd> |
|
1011 <table border="0" cellspacing="2" cellpadding="0"> |
|
1012 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1013 </table> |
|
1014 </dd> |
|
1015 </dl> |
|
1016 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1017 |
|
1018 </div> |
|
1019 </div> |
|
1020 <a class="anchor" id="ad659afbf837df58802b000f02ec6bb7b"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureKErrInUseArray" ref="ad659afbf837df58802b000f02ec6bb7b" args="(TAny *aArgument)" --> |
|
1021 <div class="memitem"> |
|
1022 <div class="memproto"> |
|
1023 <table class="memname"> |
|
1024 <tr> |
|
1025 <td class="memname">static TInt CTestCFlexTimer::ConfigureKErrInUseArray </td> |
|
1026 <td>(</td> |
|
1027 <td class="paramtype">TAny * </td> |
|
1028 <td class="paramname"> <em>aArgument</em></td> |
|
1029 <td> ) </td> |
|
1030 <td><code> [static]</code></td> |
|
1031 </tr> |
|
1032 </table> |
|
1033 </div> |
|
1034 <div class="memdoc"> |
|
1035 |
|
1036 <p>Try to configure timer and see that KErrInUse is returned. </p> |
|
1037 <ul> |
|
1038 <li><dl><dt><b>Parameters:</b></dt><dd> |
|
1039 <table border="0" cellspacing="2" cellpadding="0"> |
|
1040 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
1041 </table> |
|
1042 </dd> |
|
1043 </dl> |
|
1044 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
1045 </li> |
|
1046 </ul> |
|
1047 |
|
1048 </div> |
|
1049 </div> |
|
1050 <a class="anchor" id="ab474f8aafd3190f4117c10aab4498c14"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureLeftSideInThePastL" ref="ab474f8aafd3190f4117c10aab4498c14" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1051 <div class="memitem"> |
|
1052 <div class="memproto"> |
|
1053 <table class="memname"> |
|
1054 <tr> |
|
1055 <td class="memname">static TInt CTestCFlexTimer::ConfigureLeftSideInThePastL </td> |
|
1056 <td>(</td> |
|
1057 <td class="paramtype">TTestResult & </td> |
|
1058 <td class="paramname"> <em>aResult</em>, </td> |
|
1059 </tr> |
|
1060 <tr> |
|
1061 <td class="paramkey"></td> |
|
1062 <td></td> |
|
1063 <td class="paramtype">CTestFlexTimer * </td> |
|
1064 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1065 </tr> |
|
1066 <tr> |
|
1067 <td></td> |
|
1068 <td>)</td> |
|
1069 <td></td><td></td><td><code> [static]</code></td> |
|
1070 </tr> |
|
1071 </table> |
|
1072 </div> |
|
1073 <div class="memdoc"> |
|
1074 |
|
1075 <p>Left edge of the time window lays in the past - max check. </p> |
|
1076 <p>Test that no harm is done if left side of the window lays in the past<br/> |
|
1077 <br/> |
|
1078 </p> |
|
1079 <ul> |
|
1080 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1081 </li> |
|
1082 <li>Call Configure with window_size x.<br/> |
|
1083 </li> |
|
1084 <li>Call After with interval < x.<br/> |
|
1085 </li> |
|
1086 <li>See that timer expires when max time is reached</li> |
|
1087 </ul> |
|
1088 <dl><dt><b>Parameters:</b></dt><dd> |
|
1089 <table border="0" cellspacing="2" cellpadding="0"> |
|
1090 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1091 </table> |
|
1092 </dd> |
|
1093 </dl> |
|
1094 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1095 |
|
1096 </div> |
|
1097 </div> |
|
1098 <a class="anchor" id="ac78f50a88c1e00a51d839a7aca8671a7"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureLeftSideInThePastWindowCheckL" ref="ac78f50a88c1e00a51d839a7aca8671a7" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1099 <div class="memitem"> |
|
1100 <div class="memproto"> |
|
1101 <table class="memname"> |
|
1102 <tr> |
|
1103 <td class="memname">static TInt CTestCFlexTimer::ConfigureLeftSideInThePastWindowCheckL </td> |
|
1104 <td>(</td> |
|
1105 <td class="paramtype">TTestResult & </td> |
|
1106 <td class="paramname"> <em>aResult</em>, </td> |
|
1107 </tr> |
|
1108 <tr> |
|
1109 <td class="paramkey"></td> |
|
1110 <td></td> |
|
1111 <td class="paramtype">CTestFlexTimer * </td> |
|
1112 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1113 </tr> |
|
1114 <tr> |
|
1115 <td></td> |
|
1116 <td>)</td> |
|
1117 <td></td><td></td><td><code> [static]</code></td> |
|
1118 </tr> |
|
1119 </table> |
|
1120 </div> |
|
1121 <div class="memdoc"> |
|
1122 |
|
1123 <p>Left edge of the time window lays in the past - window check. </p> |
|
1124 <p>Test that window works when left side of the window lays in the past <br/> |
|
1125 <br/> |
|
1126 </p> |
|
1127 <ul> |
|
1128 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1129 </li> |
|
1130 <li>Call Configure with window_size x.<br/> |
|
1131 </li> |
|
1132 <li>Call After with interval < x.<br/> |
|
1133 </li> |
|
1134 <li>Start another timer that expires before first timer.<br/> |
|
1135 </li> |
|
1136 <li>See that both timers expire when max time of the second timer is reached.</li> |
|
1137 </ul> |
|
1138 <dl><dt><b>Parameters:</b></dt><dd> |
|
1139 <table border="0" cellspacing="2" cellpadding="0"> |
|
1140 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1141 </table> |
|
1142 </dd> |
|
1143 </dl> |
|
1144 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1145 |
|
1146 </div> |
|
1147 </div> |
|
1148 <a class="anchor" id="ad4ae5c4d77189b0b4f583a2ac3b3e7c9"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWhileTimerIsInUseL" ref="ad4ae5c4d77189b0b4f583a2ac3b3e7c9" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1149 <div class="memitem"> |
|
1150 <div class="memproto"> |
|
1151 <table class="memname"> |
|
1152 <tr> |
|
1153 <td class="memname">static TInt CTestCFlexTimer::ConfigureWhileTimerIsInUseL </td> |
|
1154 <td>(</td> |
|
1155 <td class="paramtype">TTestResult & </td> |
|
1156 <td class="paramname"> <em>aResult</em>, </td> |
|
1157 </tr> |
|
1158 <tr> |
|
1159 <td class="paramkey"></td> |
|
1160 <td></td> |
|
1161 <td class="paramtype">CTestFlexTimer * </td> |
|
1162 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1163 </tr> |
|
1164 <tr> |
|
1165 <td></td> |
|
1166 <td>)</td> |
|
1167 <td></td><td></td><td><code> [static]</code></td> |
|
1168 </tr> |
|
1169 </table> |
|
1170 </div> |
|
1171 <div class="memdoc"> |
|
1172 |
|
1173 <p>Call configure after starting timer. </p> |
|
1174 <p>Test that configure is not used and returns error while timer is already running <br/> |
|
1175 <br/> |
|
1176 </p> |
|
1177 <ul> |
|
1178 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1179 </li> |
|
1180 <li>Start timer.<br/> |
|
1181 </li> |
|
1182 <li>Call Configure.<br/> |
|
1183 </li> |
|
1184 <li>See that configure returns KErrInUse.<br/> |
|
1185 </li> |
|
1186 <li>See that timer expires normally.</li> |
|
1187 </ul> |
|
1188 <dl><dt><b>Parameters:</b></dt><dd> |
|
1189 <table border="0" cellspacing="2" cellpadding="0"> |
|
1190 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1191 </table> |
|
1192 </dd> |
|
1193 </dl> |
|
1194 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1195 |
|
1196 </div> |
|
1197 </div> |
|
1198 <a class="anchor" id="a956d2b2a9cb31dea12c0fe21e4411842"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWithMaxWindow32L" ref="a956d2b2a9cb31dea12c0fe21e4411842" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1199 <div class="memitem"> |
|
1200 <div class="memproto"> |
|
1201 <table class="memname"> |
|
1202 <tr> |
|
1203 <td class="memname">static TInt CTestCFlexTimer::ConfigureWithMaxWindow32L </td> |
|
1204 <td>(</td> |
|
1205 <td class="paramtype">TTestResult & </td> |
|
1206 <td class="paramname"> <em>aResult</em>, </td> |
|
1207 </tr> |
|
1208 <tr> |
|
1209 <td class="paramkey"></td> |
|
1210 <td></td> |
|
1211 <td class="paramtype">CTestFlexTimer * </td> |
|
1212 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1213 </tr> |
|
1214 <tr> |
|
1215 <td></td> |
|
1216 <td>)</td> |
|
1217 <td></td><td></td><td><code> [static]</code></td> |
|
1218 </tr> |
|
1219 </table> |
|
1220 </div> |
|
1221 <div class="memdoc"> |
|
1222 |
|
1223 <p>Configure(32bit) with 0xFFFFFFFF window_size. </p> |
|
1224 <p>Test that 0xFFFFFFFF is valid window size <br/> |
|
1225 <br/> |
|
1226 </p> |
|
1227 <ul> |
|
1228 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1229 </li> |
|
1230 <li>Call Configure(32bit) with 0xFFFFFFFF window_size value.<br/> |
|
1231 </li> |
|
1232 <li>See that it causes no harm</li> |
|
1233 </ul> |
|
1234 <dl><dt><b>Parameters:</b></dt><dd> |
|
1235 <table border="0" cellspacing="2" cellpadding="0"> |
|
1236 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1237 </table> |
|
1238 </dd> |
|
1239 </dl> |
|
1240 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1241 |
|
1242 </div> |
|
1243 </div> |
|
1244 <a class="anchor" id="a4ddbccf4bc2897656421fa5b2842becd"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWithMaxWindow64L" ref="a4ddbccf4bc2897656421fa5b2842becd" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1245 <div class="memitem"> |
|
1246 <div class="memproto"> |
|
1247 <table class="memname"> |
|
1248 <tr> |
|
1249 <td class="memname">static TInt CTestCFlexTimer::ConfigureWithMaxWindow64L </td> |
|
1250 <td>(</td> |
|
1251 <td class="paramtype">TTestResult & </td> |
|
1252 <td class="paramname"> <em>aResult</em>, </td> |
|
1253 </tr> |
|
1254 <tr> |
|
1255 <td class="paramkey"></td> |
|
1256 <td></td> |
|
1257 <td class="paramtype">CTestFlexTimer * </td> |
|
1258 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1259 </tr> |
|
1260 <tr> |
|
1261 <td></td> |
|
1262 <td>)</td> |
|
1263 <td></td><td></td><td><code> [static]</code></td> |
|
1264 </tr> |
|
1265 </table> |
|
1266 </div> |
|
1267 <div class="memdoc"> |
|
1268 |
|
1269 <p>Configure(64bit) with max window_size. </p> |
|
1270 <p>Test that negative window panics client <br/> |
|
1271 <br/> |
|
1272 </p> |
|
1273 <ul> |
|
1274 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1275 </li> |
|
1276 <li>Call Configure(64bit) with max window_size value.<br/> |
|
1277 </li> |
|
1278 <li>See that it causes panic TODO what panic? Shouldn't this read in documentation</li> |
|
1279 </ul> |
|
1280 <dl><dt><b>Parameters:</b></dt><dd> |
|
1281 <table border="0" cellspacing="2" cellpadding="0"> |
|
1282 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1283 </table> |
|
1284 </dd> |
|
1285 </dl> |
|
1286 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1287 |
|
1288 </div> |
|
1289 </div> |
|
1290 <a class="anchor" id="a06a38362904c286e4e7c985fc37e7768"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWithNegativeWindowSize32L" ref="a06a38362904c286e4e7c985fc37e7768" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1291 <div class="memitem"> |
|
1292 <div class="memproto"> |
|
1293 <table class="memname"> |
|
1294 <tr> |
|
1295 <td class="memname">static TInt CTestCFlexTimer::ConfigureWithNegativeWindowSize32L </td> |
|
1296 <td>(</td> |
|
1297 <td class="paramtype">TTestResult & </td> |
|
1298 <td class="paramname"> <em>aResult</em>, </td> |
|
1299 </tr> |
|
1300 <tr> |
|
1301 <td class="paramkey"></td> |
|
1302 <td></td> |
|
1303 <td class="paramtype">CTestFlexTimer * </td> |
|
1304 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1305 </tr> |
|
1306 <tr> |
|
1307 <td></td> |
|
1308 <td>)</td> |
|
1309 <td></td><td></td><td><code> [static]</code></td> |
|
1310 </tr> |
|
1311 </table> |
|
1312 </div> |
|
1313 <div class="memdoc"> |
|
1314 |
|
1315 <p>Configure(32bit) with negative window_size. </p> |
|
1316 <p>Test that negative window panics client <br/> |
|
1317 <br/> |
|
1318 </p> |
|
1319 <ul> |
|
1320 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1321 </li> |
|
1322 <li>Call Configure(32bit) with negative window_size value.<br/> |
|
1323 </li> |
|
1324 <li>See that it causes panic TODO what panic? Shouldn't this read in documentation</li> |
|
1325 </ul> |
|
1326 <dl><dt><b>Parameters:</b></dt><dd> |
|
1327 <table border="0" cellspacing="2" cellpadding="0"> |
|
1328 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1329 </table> |
|
1330 </dd> |
|
1331 </dl> |
|
1332 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1333 |
|
1334 </div> |
|
1335 </div> |
|
1336 <a class="anchor" id="ab1f744a69fca0a318520a59895588461"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWithNegativeWindowSize64L" ref="ab1f744a69fca0a318520a59895588461" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1337 <div class="memitem"> |
|
1338 <div class="memproto"> |
|
1339 <table class="memname"> |
|
1340 <tr> |
|
1341 <td class="memname">static TInt CTestCFlexTimer::ConfigureWithNegativeWindowSize64L </td> |
|
1342 <td>(</td> |
|
1343 <td class="paramtype">TTestResult & </td> |
|
1344 <td class="paramname"> <em>aResult</em>, </td> |
|
1345 </tr> |
|
1346 <tr> |
|
1347 <td class="paramkey"></td> |
|
1348 <td></td> |
|
1349 <td class="paramtype">CTestFlexTimer * </td> |
|
1350 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1351 </tr> |
|
1352 <tr> |
|
1353 <td></td> |
|
1354 <td>)</td> |
|
1355 <td></td><td></td><td><code> [static]</code></td> |
|
1356 </tr> |
|
1357 </table> |
|
1358 </div> |
|
1359 <div class="memdoc"> |
|
1360 |
|
1361 <p>Configure(64bit) with negative window_size. </p> |
|
1362 <p>Test that negative window panics client <br/> |
|
1363 <br/> |
|
1364 </p> |
|
1365 <ul> |
|
1366 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1367 </li> |
|
1368 <li>Call Configure(64bit) with negative window_size value.<br/> |
|
1369 </li> |
|
1370 <li>See that it causes panic TODO what panic? Shouldn't this read in documentation</li> |
|
1371 </ul> |
|
1372 <dl><dt><b>Parameters:</b></dt><dd> |
|
1373 <table border="0" cellspacing="2" cellpadding="0"> |
|
1374 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1375 </table> |
|
1376 </dd> |
|
1377 </dl> |
|
1378 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1379 |
|
1380 </div> |
|
1381 </div> |
|
1382 <a class="anchor" id="ab1cdc5e190a183110414b0e103ef7729"></a><!-- doxytag: member="CTestCFlexTimer::ConfigureWithThreeYearWindow64L" ref="ab1cdc5e190a183110414b0e103ef7729" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1383 <div class="memitem"> |
|
1384 <div class="memproto"> |
|
1385 <table class="memname"> |
|
1386 <tr> |
|
1387 <td class="memname">static TInt CTestCFlexTimer::ConfigureWithThreeYearWindow64L </td> |
|
1388 <td>(</td> |
|
1389 <td class="paramtype">TTestResult & </td> |
|
1390 <td class="paramname"> <em>aResult</em>, </td> |
|
1391 </tr> |
|
1392 <tr> |
|
1393 <td class="paramkey"></td> |
|
1394 <td></td> |
|
1395 <td class="paramtype">CTestFlexTimer * </td> |
|
1396 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1397 </tr> |
|
1398 <tr> |
|
1399 <td></td> |
|
1400 <td>)</td> |
|
1401 <td></td><td></td><td><code> [static]</code></td> |
|
1402 </tr> |
|
1403 </table> |
|
1404 </div> |
|
1405 <div class="memdoc"> |
|
1406 |
|
1407 <p>Configure(64bit) with three year window_size. </p> |
|
1408 <p>Test that negative window panics client <br/> |
|
1409 <br/> |
|
1410 </p> |
|
1411 <ul> |
|
1412 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1413 </li> |
|
1414 <li>Call Configure(64bit) with three year window_size value.<br/> |
|
1415 </li> |
|
1416 <li>See that it causes panic TODO what panic? Shouldn't this read in documentation</li> |
|
1417 </ul> |
|
1418 <dl><dt><b>Parameters:</b></dt><dd> |
|
1419 <table border="0" cellspacing="2" cellpadding="0"> |
|
1420 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1421 </table> |
|
1422 </dd> |
|
1423 </dl> |
|
1424 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1425 |
|
1426 </div> |
|
1427 </div> |
|
1428 <a class="anchor" id="aaa160b635b310e489790b34023673571"></a><!-- doxytag: member="CTestCFlexTimer::CpuLoadCreateAndExpireTwoOverlappingAfterTimersL" ref="aaa160b635b310e489790b34023673571" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1429 <div class="memitem"> |
|
1430 <div class="memproto"> |
|
1431 <table class="memname"> |
|
1432 <tr> |
|
1433 <td class="memname">static TInt CTestCFlexTimer::CpuLoadCreateAndExpireTwoOverlappingAfterTimersL </td> |
|
1434 <td>(</td> |
|
1435 <td class="paramtype">TTestResult & </td> |
|
1436 <td class="paramname"> <em>aResult</em>, </td> |
|
1437 </tr> |
|
1438 <tr> |
|
1439 <td class="paramkey"></td> |
|
1440 <td></td> |
|
1441 <td class="paramtype">CTestFlexTimer * </td> |
|
1442 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1443 </tr> |
|
1444 <tr> |
|
1445 <td></td> |
|
1446 <td>)</td> |
|
1447 <td></td><td></td><td><code> [static]</code></td> |
|
1448 </tr> |
|
1449 </table> |
|
1450 </div> |
|
1451 <div class="memdoc"> |
|
1452 |
|
1453 <p>Create two overlapping timers and start, run and expire them during high CPU load. </p> |
|
1454 <p>Test steps:<br/> |
|
1455 1. Create CFlexTimer_1, (inteval = 10s, window=0.2*10s (default))<br/> |
|
1456 2. Create CFlexTimer_2, (inteval = 8s, window=0.2*8s (default))<br/> |
|
1457 3. Start 99% CPU Load<br/> |
|
1458 4. Start timers<br/> |
|
1459 5. Wait timers to expire<br/> |
|
1460 6. Stop CPU load<br/> |
|
1461 5. Check that timers expired within ~8sec<br/> |
|
1462 </p> |
|
1463 <dl><dt><b>Parameters:</b></dt><dd> |
|
1464 <table border="0" cellspacing="2" cellpadding="0"> |
|
1465 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
1466 </table> |
|
1467 </dd> |
|
1468 </dl> |
|
1469 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
1470 |
|
1471 </div> |
|
1472 </div> |
|
1473 <a class="anchor" id="a1c8c6b50694b5215656d8a481d8e7d81"></a><!-- doxytag: member="CTestCFlexTimer::CpuLoadManyTimersL" ref="a1c8c6b50694b5215656d8a481d8e7d81" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1474 <div class="memitem"> |
|
1475 <div class="memproto"> |
|
1476 <table class="memname"> |
|
1477 <tr> |
|
1478 <td class="memname">static TInt CTestCFlexTimer::CpuLoadManyTimersL </td> |
|
1479 <td>(</td> |
|
1480 <td class="paramtype">TTestResult & </td> |
|
1481 <td class="paramname"> <em>aResult</em>, </td> |
|
1482 </tr> |
|
1483 <tr> |
|
1484 <td class="paramkey"></td> |
|
1485 <td></td> |
|
1486 <td class="paramtype">CTestFlexTimer * </td> |
|
1487 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1488 </tr> |
|
1489 <tr> |
|
1490 <td></td> |
|
1491 <td>)</td> |
|
1492 <td></td><td></td><td><code> [static]</code></td> |
|
1493 </tr> |
|
1494 </table> |
|
1495 </div> |
|
1496 <div class="memdoc"> |
|
1497 |
|
1498 <p>Create 100 timers and start, run and expire them during high CPU load. </p> |
|
1499 <p>Test steps:<br/> |
|
1500 1. Create 100 random timers with random interval and window.<br/> |
|
1501 3. Start 98% CPU Load<br/> |
|
1502 4. Start timers<br/> |
|
1503 5. Wait timers to expire<br/> |
|
1504 6. Stop CPU load<br/> |
|
1505 5. Check that timers expired within expected limits.<br/> |
|
1506 </p> |
|
1507 <dl><dt><b>Parameters:</b></dt><dd> |
|
1508 <table border="0" cellspacing="2" cellpadding="0"> |
|
1509 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
1510 </table> |
|
1511 </dd> |
|
1512 </dl> |
|
1513 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
1514 |
|
1515 </div> |
|
1516 </div> |
|
1517 <a class="anchor" id="a01a81187d19fa795480619e38917f3a0"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndDestroyCFlexTimerL" ref="a01a81187d19fa795480619e38917f3a0" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1518 <div class="memitem"> |
|
1519 <div class="memproto"> |
|
1520 <table class="memname"> |
|
1521 <tr> |
|
1522 <td class="memname">static TInt CTestCFlexTimer::CreateAndDestroyCFlexTimerL </td> |
|
1523 <td>(</td> |
|
1524 <td class="paramtype">TTestResult & </td> |
|
1525 <td class="paramname"> <em>aResult</em>, </td> |
|
1526 </tr> |
|
1527 <tr> |
|
1528 <td class="paramkey"></td> |
|
1529 <td></td> |
|
1530 <td class="paramtype">CTestFlexTimer * </td> |
|
1531 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1532 </tr> |
|
1533 <tr> |
|
1534 <td></td> |
|
1535 <td>)</td> |
|
1536 <td></td><td></td><td><code> [static]</code></td> |
|
1537 </tr> |
|
1538 </table> |
|
1539 </div> |
|
1540 <div class="memdoc"> |
|
1541 |
|
1542 <p>Create and destroy a timer - After. </p> |
|
1543 <p>Test that timer can be instantiated and deleted.<br/> |
|
1544 <br/> |
|
1545 </p> |
|
1546 <ul> |
|
1547 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1548 </li> |
|
1549 <li>Create, start and delete timer.</li> |
|
1550 </ul> |
|
1551 <dl><dt><b>Parameters:</b></dt><dd> |
|
1552 <table border="0" cellspacing="2" cellpadding="0"> |
|
1553 <tr><td valign="top"></td><td valign="top"><em>aResult</em> </td><td>Result of the test for the FW. </td></tr> |
|
1554 </table> |
|
1555 </dd> |
|
1556 </dl> |
|
1557 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1558 |
|
1559 </div> |
|
1560 </div> |
|
1561 <a class="anchor" id="a27b4453bd2871bc0c5acd10f2b6fbea7"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndExpireCFlexTimerL" ref="a27b4453bd2871bc0c5acd10f2b6fbea7" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1562 <div class="memitem"> |
|
1563 <div class="memproto"> |
|
1564 <table class="memname"> |
|
1565 <tr> |
|
1566 <td class="memname">static TInt CTestCFlexTimer::CreateAndExpireCFlexTimerL </td> |
|
1567 <td>(</td> |
|
1568 <td class="paramtype">TTestResult & </td> |
|
1569 <td class="paramname"> <em>aResult</em>, </td> |
|
1570 </tr> |
|
1571 <tr> |
|
1572 <td class="paramkey"></td> |
|
1573 <td></td> |
|
1574 <td class="paramtype">CTestFlexTimer * </td> |
|
1575 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1576 </tr> |
|
1577 <tr> |
|
1578 <td></td> |
|
1579 <td>)</td> |
|
1580 <td></td><td></td><td><code> [static]</code></td> |
|
1581 </tr> |
|
1582 </table> |
|
1583 </div> |
|
1584 <div class="memdoc"> |
|
1585 |
|
1586 <p>Create and expire a timer - After. </p> |
|
1587 <p>Test that timer expires at it's max time <br/> |
|
1588 <br/> |
|
1589 </p> |
|
1590 <ul> |
|
1591 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1592 </li> |
|
1593 <li>See that timeout is happening at latest possible moment.</li> |
|
1594 </ul> |
|
1595 <dl><dt><b>Parameters:</b></dt><dd> |
|
1596 <table border="0" cellspacing="2" cellpadding="0"> |
|
1597 <tr><td valign="top"></td><td valign="top"><em>aResult</em> </td><td>Result of the test for the FW. </td></tr> |
|
1598 </table> |
|
1599 </dd> |
|
1600 </dl> |
|
1601 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1602 |
|
1603 </div> |
|
1604 </div> |
|
1605 <a class="anchor" id="aa185fe332b244575bed1976efa615cf4"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndExpireThreeTimersL" ref="aa185fe332b244575bed1976efa615cf4" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1606 <div class="memitem"> |
|
1607 <div class="memproto"> |
|
1608 <table class="memname"> |
|
1609 <tr> |
|
1610 <td class="memname">static TInt CTestCFlexTimer::CreateAndExpireThreeTimersL </td> |
|
1611 <td>(</td> |
|
1612 <td class="paramtype">TTestResult & </td> |
|
1613 <td class="paramname"> <em>aResult</em>, </td> |
|
1614 </tr> |
|
1615 <tr> |
|
1616 <td class="paramkey"></td> |
|
1617 <td></td> |
|
1618 <td class="paramtype">CTestFlexTimer * </td> |
|
1619 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1620 </tr> |
|
1621 <tr> |
|
1622 <td></td> |
|
1623 <td>)</td> |
|
1624 <td></td><td></td><td><code> [static]</code></td> |
|
1625 </tr> |
|
1626 </table> |
|
1627 </div> |
|
1628 <div class="memdoc"> |
|
1629 |
|
1630 <p>Create and expire three timers - After/At/AtUTC. </p> |
|
1631 <p>Test that At, After and AtUTC are handled equally<br/> |
|
1632 <br/> |
|
1633 </p> |
|
1634 <ul> |
|
1635 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1636 </li> |
|
1637 <li>Start timers and wait for them to expire.<br/> |
|
1638 </li> |
|
1639 <li>Start timers so that timers started with After and At overlap and timer started with AtUTC does not overlap.<br/> |
|
1640 </li> |
|
1641 <li>See that After and At expire at the same time and that</li> |
|
1642 <li>AT UTC expires at it's max time</li> |
|
1643 </ul> |
|
1644 <dl><dt><b>Parameters:</b></dt><dd> |
|
1645 <table border="0" cellspacing="2" cellpadding="0"> |
|
1646 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1647 </table> |
|
1648 </dd> |
|
1649 </dl> |
|
1650 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1651 |
|
1652 </div> |
|
1653 </div> |
|
1654 <a class="anchor" id="aefbebea75d1ca19915696fe8ecc76433"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndExpireTwoNonOverlappingAfterTimersL" ref="aefbebea75d1ca19915696fe8ecc76433" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1655 <div class="memitem"> |
|
1656 <div class="memproto"> |
|
1657 <table class="memname"> |
|
1658 <tr> |
|
1659 <td class="memname">static TInt CTestCFlexTimer::CreateAndExpireTwoNonOverlappingAfterTimersL </td> |
|
1660 <td>(</td> |
|
1661 <td class="paramtype">TTestResult & </td> |
|
1662 <td class="paramname"> <em>aResult</em>, </td> |
|
1663 </tr> |
|
1664 <tr> |
|
1665 <td class="paramkey"></td> |
|
1666 <td></td> |
|
1667 <td class="paramtype">CTestFlexTimer * </td> |
|
1668 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1669 </tr> |
|
1670 <tr> |
|
1671 <td></td> |
|
1672 <td>)</td> |
|
1673 <td></td><td></td><td><code> [static]</code></td> |
|
1674 </tr> |
|
1675 </table> |
|
1676 </div> |
|
1677 <div class="memdoc"> |
|
1678 |
|
1679 <p>Create two timers and expire those - not overlapping - After. </p> |
|
1680 <p>Test that two timer that are not overlapping are fired at their own max time.<br/> |
|
1681 <br/> |
|
1682 </p> |
|
1683 <ul> |
|
1684 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1685 </li> |
|
1686 <li>Use non-overlapping time windows. (default window).<br/> |
|
1687 </li> |
|
1688 <li>See that both timers expire at latest possible moment.<br/> |
|
1689 </li> |
|
1690 </ul> |
|
1691 <dl><dt><b>Parameters:</b></dt><dd> |
|
1692 <table border="0" cellspacing="2" cellpadding="0"> |
|
1693 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1694 </table> |
|
1695 </dd> |
|
1696 </dl> |
|
1697 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1698 |
|
1699 </div> |
|
1700 </div> |
|
1701 <a class="anchor" id="ae273e5043ca99bdb58b3af5c258d264b"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndExpireTwoOverlappingAfterTimers64L" ref="ae273e5043ca99bdb58b3af5c258d264b" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1702 <div class="memitem"> |
|
1703 <div class="memproto"> |
|
1704 <table class="memname"> |
|
1705 <tr> |
|
1706 <td class="memname">static TInt CTestCFlexTimer::CreateAndExpireTwoOverlappingAfterTimers64L </td> |
|
1707 <td>(</td> |
|
1708 <td class="paramtype">TTestResult & </td> |
|
1709 <td class="paramname"> <em>aResult</em>, </td> |
|
1710 </tr> |
|
1711 <tr> |
|
1712 <td class="paramkey"></td> |
|
1713 <td></td> |
|
1714 <td class="paramtype">CTestFlexTimer * </td> |
|
1715 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1716 </tr> |
|
1717 <tr> |
|
1718 <td></td> |
|
1719 <td>)</td> |
|
1720 <td></td><td></td><td><code> [static]</code></td> |
|
1721 </tr> |
|
1722 </table> |
|
1723 </div> |
|
1724 <div class="memdoc"> |
|
1725 |
|
1726 <p>Create two timers and expire those - overlapping - After 64bit. </p> |
|
1727 <p>Test that two overlapping timers are fired at latest possible moment<br/> |
|
1728 <br/> |
|
1729 </p> |
|
1730 <ul> |
|
1731 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1732 </li> |
|
1733 <li>Use overlapping time windows. (default window).<br/> |
|
1734 </li> |
|
1735 <li>See that both timers expire when first timer expires.<br/> |
|
1736 </li> |
|
1737 <li>use 64bit After().</li> |
|
1738 </ul> |
|
1739 <dl><dt><b>Parameters:</b></dt><dd> |
|
1740 <table border="0" cellspacing="2" cellpadding="0"> |
|
1741 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1742 </table> |
|
1743 </dd> |
|
1744 </dl> |
|
1745 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1746 |
|
1747 </div> |
|
1748 </div> |
|
1749 <a class="anchor" id="afb54d76ecd75e2ddb3ab663c58abfbc1"></a><!-- doxytag: member="CTestCFlexTimer::CreateAndExpireTwoOverlappingAfterTimersL" ref="afb54d76ecd75e2ddb3ab663c58abfbc1" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1750 <div class="memitem"> |
|
1751 <div class="memproto"> |
|
1752 <table class="memname"> |
|
1753 <tr> |
|
1754 <td class="memname">static TInt CTestCFlexTimer::CreateAndExpireTwoOverlappingAfterTimersL </td> |
|
1755 <td>(</td> |
|
1756 <td class="paramtype">TTestResult & </td> |
|
1757 <td class="paramname"> <em>aResult</em>, </td> |
|
1758 </tr> |
|
1759 <tr> |
|
1760 <td class="paramkey"></td> |
|
1761 <td></td> |
|
1762 <td class="paramtype">CTestFlexTimer * </td> |
|
1763 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1764 </tr> |
|
1765 <tr> |
|
1766 <td></td> |
|
1767 <td>)</td> |
|
1768 <td></td><td></td><td><code> [static]</code></td> |
|
1769 </tr> |
|
1770 </table> |
|
1771 </div> |
|
1772 <div class="memdoc"> |
|
1773 |
|
1774 <p>Create two timers and expire those - overlapping - After 32bit. </p> |
|
1775 <p>Test that two overlapping timers are fired at latest possible moment<br/> |
|
1776 <br/> |
|
1777 </p> |
|
1778 <ul> |
|
1779 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1780 </li> |
|
1781 <li>Use overlapping time windows. (default window).<br/> |
|
1782 </li> |
|
1783 <li>See that both timers expire when first timer expires.<br/> |
|
1784 </li> |
|
1785 <li>Use 32bit After()</li> |
|
1786 </ul> |
|
1787 <dl><dt><b>Parameters:</b></dt><dd> |
|
1788 <table border="0" cellspacing="2" cellpadding="0"> |
|
1789 <tr><td valign="top"></td><td valign="top"><em>aResult</em> </td><td>Result of the test for the FW. </td></tr> |
|
1790 </table> |
|
1791 </dd> |
|
1792 </dl> |
|
1793 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1794 |
|
1795 </div> |
|
1796 </div> |
|
1797 <a class="anchor" id="a6500cdee2a9a8c90f85b35068ed287ad"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimer64MaxL" ref="a6500cdee2a9a8c90f85b35068ed287ad" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1798 <div class="memitem"> |
|
1799 <div class="memproto"> |
|
1800 <table class="memname"> |
|
1801 <tr> |
|
1802 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimer64MaxL </td> |
|
1803 <td>(</td> |
|
1804 <td class="paramtype">TTestResult & </td> |
|
1805 <td class="paramname"> <em>aResult</em>, </td> |
|
1806 </tr> |
|
1807 <tr> |
|
1808 <td class="paramkey"></td> |
|
1809 <td></td> |
|
1810 <td class="paramtype">CTestFlexTimer * </td> |
|
1811 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1812 </tr> |
|
1813 <tr> |
|
1814 <td></td> |
|
1815 <td>)</td> |
|
1816 <td></td><td></td><td><code> [static]</code></td> |
|
1817 </tr> |
|
1818 </table> |
|
1819 </div> |
|
1820 <div class="memdoc"> |
|
1821 |
|
1822 <p>call After with dumbass parameters </p> |
|
1823 <p>Test that calling After(64bit) with 0xFFFFFFFFFFFFFFFF interval panics client<br/> |
|
1824 <br/> |
|
1825 </p> |
|
1826 <ul> |
|
1827 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1828 </li> |
|
1829 <li>Call After(64bit) with interval 0xFFFFFFFFFFFFFFFF.</li> |
|
1830 <li>See that client is paniced</li> |
|
1831 </ul> |
|
1832 <dl><dt><b>Parameters:</b></dt><dd> |
|
1833 <table border="0" cellspacing="2" cellpadding="0"> |
|
1834 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1835 </table> |
|
1836 </dd> |
|
1837 </dl> |
|
1838 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1839 |
|
1840 </div> |
|
1841 </div> |
|
1842 <a class="anchor" id="a8c3e3fccad0f4eef2fc22ba8e5de3249"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimer64OneYearL" ref="a8c3e3fccad0f4eef2fc22ba8e5de3249" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1843 <div class="memitem"> |
|
1844 <div class="memproto"> |
|
1845 <table class="memname"> |
|
1846 <tr> |
|
1847 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimer64OneYearL </td> |
|
1848 <td>(</td> |
|
1849 <td class="paramtype">TTestResult & </td> |
|
1850 <td class="paramname"> <em>aResult</em>, </td> |
|
1851 </tr> |
|
1852 <tr> |
|
1853 <td class="paramkey"></td> |
|
1854 <td></td> |
|
1855 <td class="paramtype">CTestFlexTimer * </td> |
|
1856 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1857 </tr> |
|
1858 <tr> |
|
1859 <td></td> |
|
1860 <td>)</td> |
|
1861 <td></td><td></td><td><code> [static]</code></td> |
|
1862 </tr> |
|
1863 </table> |
|
1864 </div> |
|
1865 <div class="memdoc"> |
|
1866 |
|
1867 <p>call After with dumbass parameters </p> |
|
1868 <p>Test that calling After(64bit) with one year interval panics client<br/> |
|
1869 <br/> |
|
1870 </p> |
|
1871 <ul> |
|
1872 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1873 </li> |
|
1874 <li>Call After(64bit) with interval 30*1000*1000*1000*1000.</li> |
|
1875 <li>Cancel timer</li> |
|
1876 </ul> |
|
1877 <dl><dt><b>Parameters:</b></dt><dd> |
|
1878 <table border="0" cellspacing="2" cellpadding="0"> |
|
1879 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1880 </table> |
|
1881 </dd> |
|
1882 </dl> |
|
1883 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1884 |
|
1885 </div> |
|
1886 </div> |
|
1887 <a class="anchor" id="a8ab744734ad271c8a5cb3c4e1ee40147"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimer64ThreeYearsL" ref="a8ab744734ad271c8a5cb3c4e1ee40147" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1888 <div class="memitem"> |
|
1889 <div class="memproto"> |
|
1890 <table class="memname"> |
|
1891 <tr> |
|
1892 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimer64ThreeYearsL </td> |
|
1893 <td>(</td> |
|
1894 <td class="paramtype">TTestResult & </td> |
|
1895 <td class="paramname"> <em>aResult</em>, </td> |
|
1896 </tr> |
|
1897 <tr> |
|
1898 <td class="paramkey"></td> |
|
1899 <td></td> |
|
1900 <td class="paramtype">CTestFlexTimer * </td> |
|
1901 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1902 </tr> |
|
1903 <tr> |
|
1904 <td></td> |
|
1905 <td>)</td> |
|
1906 <td></td><td></td><td><code> [static]</code></td> |
|
1907 </tr> |
|
1908 </table> |
|
1909 </div> |
|
1910 <div class="memdoc"> |
|
1911 |
|
1912 <p>call After with dumbass parameters </p> |
|
1913 <p>Test that calling After(64bit) with three years interval panics client<br/> |
|
1914 <br/> |
|
1915 </p> |
|
1916 <ul> |
|
1917 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1918 </li> |
|
1919 <li>Call After(64bit) with interval 93312000*1000*1000.</li> |
|
1920 <li>See that client is paniced</li> |
|
1921 </ul> |
|
1922 <dl><dt><b>Parameters:</b></dt><dd> |
|
1923 <table border="0" cellspacing="2" cellpadding="0"> |
|
1924 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1925 </table> |
|
1926 </dd> |
|
1927 </dl> |
|
1928 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1929 |
|
1930 </div> |
|
1931 </div> |
|
1932 <a class="anchor" id="a177960f7730d76a224a80d21c0d38fc8"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimerL" ref="a177960f7730d76a224a80d21c0d38fc8" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1933 <div class="memitem"> |
|
1934 <div class="memproto"> |
|
1935 <table class="memname"> |
|
1936 <tr> |
|
1937 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimerL </td> |
|
1938 <td>(</td> |
|
1939 <td class="paramtype">TTestResult & </td> |
|
1940 <td class="paramname"> <em>aResult</em>, </td> |
|
1941 </tr> |
|
1942 <tr> |
|
1943 <td class="paramkey"></td> |
|
1944 <td></td> |
|
1945 <td class="paramtype">CTestFlexTimer * </td> |
|
1946 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1947 </tr> |
|
1948 <tr> |
|
1949 <td></td> |
|
1950 <td>)</td> |
|
1951 <td></td><td></td><td><code> [static]</code></td> |
|
1952 </tr> |
|
1953 </table> |
|
1954 </div> |
|
1955 <div class="memdoc"> |
|
1956 |
|
1957 <p>call After with dumbass parameters </p> |
|
1958 <p>Test that stupid parameters do not cause any harm<br/> |
|
1959 <br/> |
|
1960 </p> |
|
1961 <ul> |
|
1962 <li>Use class that is inherited from CFlexTimer.<br/> |
|
1963 </li> |
|
1964 <li>Call After(32bit) with interval 1. See that timer expires almost right away<br/> |
|
1965 </li> |
|
1966 <li>Call After(32bit) with interval 0x7FFFFFFF. Cancel timer<br/> |
|
1967 </li> |
|
1968 <li>Call After(64bit) with interval 1. See that timer expires almost right away<br/> |
|
1969 </li> |
|
1970 </ul> |
|
1971 <dl><dt><b>Parameters:</b></dt><dd> |
|
1972 <table border="0" cellspacing="2" cellpadding="0"> |
|
1973 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
1974 </table> |
|
1975 </dd> |
|
1976 </dl> |
|
1977 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
1978 |
|
1979 </div> |
|
1980 </div> |
|
1981 <a class="anchor" id="af074ccb56539a93d8e2abe158089d2a4"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimerZero32bitL" ref="af074ccb56539a93d8e2abe158089d2a4" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
1982 <div class="memitem"> |
|
1983 <div class="memproto"> |
|
1984 <table class="memname"> |
|
1985 <tr> |
|
1986 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimerZero32bitL </td> |
|
1987 <td>(</td> |
|
1988 <td class="paramtype">TTestResult & </td> |
|
1989 <td class="paramname"> <em>aResult</em>, </td> |
|
1990 </tr> |
|
1991 <tr> |
|
1992 <td class="paramkey"></td> |
|
1993 <td></td> |
|
1994 <td class="paramtype">CTestFlexTimer * </td> |
|
1995 <td class="paramname"> <em>cb</em></td><td> </td> |
|
1996 </tr> |
|
1997 <tr> |
|
1998 <td></td> |
|
1999 <td>)</td> |
|
2000 <td></td><td></td><td><code> [static]</code></td> |
|
2001 </tr> |
|
2002 </table> |
|
2003 </div> |
|
2004 <div class="memdoc"> |
|
2005 |
|
2006 <p>call After with dumbass parameters </p> |
|
2007 <p>Test that calling After(32bit) with zero interval panics client<br/> |
|
2008 <br/> |
|
2009 </p> |
|
2010 <ul> |
|
2011 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2012 </li> |
|
2013 <li>Call After(32bit) with interval 0.</li> |
|
2014 <li>See that client is paniced</li> |
|
2015 </ul> |
|
2016 <dl><dt><b>Parameters:</b></dt><dd> |
|
2017 <table border="0" cellspacing="2" cellpadding="0"> |
|
2018 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2019 </table> |
|
2020 </dd> |
|
2021 </dl> |
|
2022 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2023 |
|
2024 </div> |
|
2025 </div> |
|
2026 <a class="anchor" id="a46f81993ea5a17830957abfa33405d9e"></a><!-- doxytag: member="CTestCFlexTimer::DumbAssParametersForCTimerZero64bitL" ref="a46f81993ea5a17830957abfa33405d9e" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2027 <div class="memitem"> |
|
2028 <div class="memproto"> |
|
2029 <table class="memname"> |
|
2030 <tr> |
|
2031 <td class="memname">static TInt CTestCFlexTimer::DumbAssParametersForCTimerZero64bitL </td> |
|
2032 <td>(</td> |
|
2033 <td class="paramtype">TTestResult & </td> |
|
2034 <td class="paramname"> <em>aResult</em>, </td> |
|
2035 </tr> |
|
2036 <tr> |
|
2037 <td class="paramkey"></td> |
|
2038 <td></td> |
|
2039 <td class="paramtype">CTestFlexTimer * </td> |
|
2040 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2041 </tr> |
|
2042 <tr> |
|
2043 <td></td> |
|
2044 <td>)</td> |
|
2045 <td></td><td></td><td><code> [static]</code></td> |
|
2046 </tr> |
|
2047 </table> |
|
2048 </div> |
|
2049 <div class="memdoc"> |
|
2050 |
|
2051 <p>call After with dumbass parameters </p> |
|
2052 <p>Test that calling After(64bit) with zero interval panics client<br/> |
|
2053 <br/> |
|
2054 </p> |
|
2055 <ul> |
|
2056 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2057 </li> |
|
2058 <li>Call After(64bit) with interval 0.</li> |
|
2059 <li>See that client is paniced</li> |
|
2060 </ul> |
|
2061 <dl><dt><b>Parameters:</b></dt><dd> |
|
2062 <table border="0" cellspacing="2" cellpadding="0"> |
|
2063 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2064 </table> |
|
2065 </dd> |
|
2066 </dl> |
|
2067 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2068 |
|
2069 </div> |
|
2070 </div> |
|
2071 <a class="anchor" id="af3a58e99b054a376beec38ac2ad727dd"></a><!-- doxytag: member="CTestCFlexTimer::HumongousAmountOfTimeridelidilidousL" ref="af3a58e99b054a376beec38ac2ad727dd" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2072 <div class="memitem"> |
|
2073 <div class="memproto"> |
|
2074 <table class="memname"> |
|
2075 <tr> |
|
2076 <td class="memname">static TInt CTestCFlexTimer::HumongousAmountOfTimeridelidilidousL </td> |
|
2077 <td>(</td> |
|
2078 <td class="paramtype">TTestResult & </td> |
|
2079 <td class="paramname"> <em>aResult</em>, </td> |
|
2080 </tr> |
|
2081 <tr> |
|
2082 <td class="paramkey"></td> |
|
2083 <td></td> |
|
2084 <td class="paramtype">CTestFlexTimer * </td> |
|
2085 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2086 </tr> |
|
2087 <tr> |
|
2088 <td></td> |
|
2089 <td>)</td> |
|
2090 <td></td><td></td><td><code> [static]</code></td> |
|
2091 </tr> |
|
2092 </table> |
|
2093 </div> |
|
2094 <div class="memdoc"> |
|
2095 |
|
2096 <p>Create 2000 timers and expire those - After. </p> |
|
2097 <p>Test that many timers are started and expired at rapid sequence<br/> |
|
2098 <br/> |
|
2099 </p> |
|
2100 <ul> |
|
2101 <li>Use class that is inherited from CFlexTimer.</li> |
|
2102 <li>Start and expire at 2000 timers. Some of having overlapping windows (default window)with each other and others not having.<br/> |
|
2103 </li> |
|
2104 <li>See that all timers expire within their window. Start timers so that at least 1000 timers.</li> |
|
2105 <li>are running simultaneously. <br/> |
|
2106 </li> |
|
2107 <li>No need to check that they expire at latest possible moment</li> |
|
2108 <li>that is checked in algorithm tests.</li> |
|
2109 </ul> |
|
2110 <dl><dt><b>Parameters:</b></dt><dd> |
|
2111 <table border="0" cellspacing="2" cellpadding="0"> |
|
2112 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2113 </table> |
|
2114 </dd> |
|
2115 </dl> |
|
2116 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2117 |
|
2118 </div> |
|
2119 </div> |
|
2120 <a class="anchor" id="ac5e2885ff7dfd656a3dca6d30193de22"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackKErrAbort" ref="ac5e2885ff7dfd656a3dca6d30193de22" args="(TAny *aArgument)" --> |
|
2121 <div class="memitem"> |
|
2122 <div class="memproto"> |
|
2123 <table class="memname"> |
|
2124 <tr> |
|
2125 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackKErrAbort </td> |
|
2126 <td>(</td> |
|
2127 <td class="paramtype">TAny * </td> |
|
2128 <td class="paramname"> <em>aArgument</em></td> |
|
2129 <td> ) </td> |
|
2130 <td><code> [static]</code></td> |
|
2131 </tr> |
|
2132 </table> |
|
2133 </div> |
|
2134 <div class="memdoc"> |
|
2135 |
|
2136 <p>Check timer stop code. </p> |
|
2137 <p>Simple function that checks that Error code is KErrAbort</p> |
|
2138 <dl><dt><b>Parameters:</b></dt><dd> |
|
2139 <table border="0" cellspacing="2" cellpadding="0"> |
|
2140 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2141 </table> |
|
2142 </dd> |
|
2143 </dl> |
|
2144 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2145 |
|
2146 </div> |
|
2147 </div> |
|
2148 <a class="anchor" id="a806885ec216db22b58895f41dbdcd9de"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackKErrNone" ref="a806885ec216db22b58895f41dbdcd9de" args="(TAny *aArgument)" --> |
|
2149 <div class="memitem"> |
|
2150 <div class="memproto"> |
|
2151 <table class="memname"> |
|
2152 <tr> |
|
2153 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackKErrNone </td> |
|
2154 <td>(</td> |
|
2155 <td class="paramtype">TAny * </td> |
|
2156 <td class="paramname"> <em>aArgument</em></td> |
|
2157 <td> ) </td> |
|
2158 <td><code> [static]</code></td> |
|
2159 </tr> |
|
2160 </table> |
|
2161 </div> |
|
2162 <div class="memdoc"> |
|
2163 |
|
2164 <p>Check timer stop code. </p> |
|
2165 <p>Simple function that checks that Error code is KErrNone</p> |
|
2166 <dl><dt><b>Parameters:</b></dt><dd> |
|
2167 <table border="0" cellspacing="2" cellpadding="0"> |
|
2168 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2169 </table> |
|
2170 </dd> |
|
2171 </dl> |
|
2172 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2173 |
|
2174 </div> |
|
2175 </div> |
|
2176 <a class="anchor" id="a6a2986e6ac8bd76fc48058d4076140b8"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackKErrNoneMarkTimestamp" ref="a6a2986e6ac8bd76fc48058d4076140b8" args="(TAny *aArgument)" --> |
|
2177 <div class="memitem"> |
|
2178 <div class="memproto"> |
|
2179 <table class="memname"> |
|
2180 <tr> |
|
2181 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackKErrNoneMarkTimestamp </td> |
|
2182 <td>(</td> |
|
2183 <td class="paramtype">TAny * </td> |
|
2184 <td class="paramname"> <em>aArgument</em></td> |
|
2185 <td> ) </td> |
|
2186 <td><code> [static]</code></td> |
|
2187 </tr> |
|
2188 </table> |
|
2189 </div> |
|
2190 <div class="memdoc"> |
|
2191 |
|
2192 <p>Check error code and mark timestamps. </p> |
|
2193 <p>Function that checks that Error code is KErrNone. ans saves timestamps </p> |
|
2194 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_test_c_flex_timer.html#afb54d76ecd75e2ddb3ab663c58abfbc1" title="Create two timers and expire those - overlapping - After 32bit.">CreateAndExpireTwoOverlappingAfterTimersL</a></dd></dl> |
|
2195 <dl><dt><b>Parameters:</b></dt><dd> |
|
2196 <table border="0" cellspacing="2" cellpadding="0"> |
|
2197 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2198 </table> |
|
2199 </dd> |
|
2200 </dl> |
|
2201 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2202 |
|
2203 </div> |
|
2204 </div> |
|
2205 <a class="anchor" id="a594d1784295e653af95b961da14ada63"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackKErrNoneMarkTimestampStopScheduler" ref="a594d1784295e653af95b961da14ada63" args="(TAny *aArgument)" --> |
|
2206 <div class="memitem"> |
|
2207 <div class="memproto"> |
|
2208 <table class="memname"> |
|
2209 <tr> |
|
2210 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackKErrNoneMarkTimestampStopScheduler </td> |
|
2211 <td>(</td> |
|
2212 <td class="paramtype">TAny * </td> |
|
2213 <td class="paramname"> <em>aArgument</em></td> |
|
2214 <td> ) </td> |
|
2215 <td><code> [static]</code></td> |
|
2216 </tr> |
|
2217 </table> |
|
2218 </div> |
|
2219 <div class="memdoc"> |
|
2220 |
|
2221 <p>Check error code and mark timestamps. </p> |
|
2222 <p>Function that checks that Error code is KErrNone. ans saves timestamps </p> |
|
2223 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_test_c_flex_timer.html#afb54d76ecd75e2ddb3ab663c58abfbc1" title="Create two timers and expire those - overlapping - After 32bit.">CreateAndExpireTwoOverlappingAfterTimersL</a></dd></dl> |
|
2224 <dl><dt><b>Parameters:</b></dt><dd> |
|
2225 <table border="0" cellspacing="2" cellpadding="0"> |
|
2226 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2227 </table> |
|
2228 </dd> |
|
2229 </dl> |
|
2230 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2231 |
|
2232 </div> |
|
2233 </div> |
|
2234 <a class="anchor" id="a39e84783dc72d10a43d1512b52b7938b"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrAbort" ref="a39e84783dc72d10a43d1512b52b7938b" args="(TAny *aArgument)" --> |
|
2235 <div class="memitem"> |
|
2236 <div class="memproto"> |
|
2237 <table class="memname"> |
|
2238 <tr> |
|
2239 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrAbort </td> |
|
2240 <td>(</td> |
|
2241 <td class="paramtype">TAny * </td> |
|
2242 <td class="paramname"> <em>aArgument</em></td> |
|
2243 <td> ) </td> |
|
2244 <td><code> [static]</code></td> |
|
2245 </tr> |
|
2246 </table> |
|
2247 </div> |
|
2248 <div class="memdoc"> |
|
2249 |
|
2250 <p>Check timer stop code and stop active scheduler. </p> |
|
2251 <p>Simple function that stops the active scheduler. Checks that Error code is KErrAbort</p> |
|
2252 <dl><dt><b>Parameters:</b></dt><dd> |
|
2253 <table border="0" cellspacing="2" cellpadding="0"> |
|
2254 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2255 </table> |
|
2256 </dd> |
|
2257 </dl> |
|
2258 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2259 |
|
2260 </div> |
|
2261 </div> |
|
2262 <a class="anchor" id="a56b736c0c441d6af9cda5b49394a8aa4"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrCancel" ref="a56b736c0c441d6af9cda5b49394a8aa4" args="(TAny *aArgument)" --> |
|
2263 <div class="memitem"> |
|
2264 <div class="memproto"> |
|
2265 <table class="memname"> |
|
2266 <tr> |
|
2267 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrCancel </td> |
|
2268 <td>(</td> |
|
2269 <td class="paramtype">TAny * </td> |
|
2270 <td class="paramname"> <em>aArgument</em></td> |
|
2271 <td> ) </td> |
|
2272 <td><code> [static]</code></td> |
|
2273 </tr> |
|
2274 </table> |
|
2275 </div> |
|
2276 <div class="memdoc"> |
|
2277 |
|
2278 <p>Check timer stop code and stop active scheduler. </p> |
|
2279 <p>Simple function that stops the active scheduler. Checks that Error code is KErrCancel</p> |
|
2280 <dl><dt><b>Parameters:</b></dt><dd> |
|
2281 <table border="0" cellspacing="2" cellpadding="0"> |
|
2282 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2283 </table> |
|
2284 </dd> |
|
2285 </dl> |
|
2286 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2287 |
|
2288 </div> |
|
2289 </div> |
|
2290 <a class="anchor" id="ac03dbead1a85812a28d877286632e24d"></a><!-- doxytag: member="CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrNone" ref="ac03dbead1a85812a28d877286632e24d" args="(TAny *aArgument)" --> |
|
2291 <div class="memitem"> |
|
2292 <div class="memproto"> |
|
2293 <table class="memname"> |
|
2294 <tr> |
|
2295 <td class="memname">static TInt CTestCFlexTimer::InheritedFlexTimerCallbackStopSchedulerKErrNone </td> |
|
2296 <td>(</td> |
|
2297 <td class="paramtype">TAny * </td> |
|
2298 <td class="paramname"> <em>aArgument</em></td> |
|
2299 <td> ) </td> |
|
2300 <td><code> [static]</code></td> |
|
2301 </tr> |
|
2302 </table> |
|
2303 </div> |
|
2304 <div class="memdoc"> |
|
2305 |
|
2306 <p>Check timer stop code and stop active scheduler. </p> |
|
2307 <p>Simple function that stops the active scheduler. Checks that Error code is KErrNone</p> |
|
2308 <dl><dt><b>Parameters:</b></dt><dd> |
|
2309 <table border="0" cellspacing="2" cellpadding="0"> |
|
2310 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2311 </table> |
|
2312 </dd> |
|
2313 </dl> |
|
2314 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2315 |
|
2316 </div> |
|
2317 </div> |
|
2318 <a class="anchor" id="ab8bde23babb2924113f2f343eef0cfbf"></a><!-- doxytag: member="CTestCFlexTimer::NormalCancelL" ref="ab8bde23babb2924113f2f343eef0cfbf" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2319 <div class="memitem"> |
|
2320 <div class="memproto"> |
|
2321 <table class="memname"> |
|
2322 <tr> |
|
2323 <td class="memname">static TInt CTestCFlexTimer::NormalCancelL </td> |
|
2324 <td>(</td> |
|
2325 <td class="paramtype">TTestResult & </td> |
|
2326 <td class="paramname"> <em>aResult</em>, </td> |
|
2327 </tr> |
|
2328 <tr> |
|
2329 <td class="paramkey"></td> |
|
2330 <td></td> |
|
2331 <td class="paramtype">CTestFlexTimer * </td> |
|
2332 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2333 </tr> |
|
2334 <tr> |
|
2335 <td></td> |
|
2336 <td>)</td> |
|
2337 <td></td><td></td><td><code> [static]</code></td> |
|
2338 </tr> |
|
2339 </table> |
|
2340 </div> |
|
2341 <div class="memdoc"> |
|
2342 |
|
2343 <p>Cancel a timer. </p> |
|
2344 <p>See that normal cancelling works<br/> |
|
2345 <br/> |
|
2346 </p> |
|
2347 <ul> |
|
2348 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2349 </li> |
|
2350 <li>Start timers With At, AtUTC and After.<br/> |
|
2351 </li> |
|
2352 <li>Cancel a running timers and see that those do not expire anymore.<br/> |
|
2353 </li> |
|
2354 </ul> |
|
2355 <dl><dt><b>Parameters:</b></dt><dd> |
|
2356 <table border="0" cellspacing="2" cellpadding="0"> |
|
2357 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2358 </table> |
|
2359 </dd> |
|
2360 </dl> |
|
2361 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2362 |
|
2363 </div> |
|
2364 </div> |
|
2365 <a class="anchor" id="a2a41e6ab98b16adb029aa6ad0c6682ef"></a><!-- doxytag: member="CTestCFlexTimer::StartTimerAgainArray" ref="a2a41e6ab98b16adb029aa6ad0c6682ef" args="(TAny *aArgument)" --> |
|
2366 <div class="memitem"> |
|
2367 <div class="memproto"> |
|
2368 <table class="memname"> |
|
2369 <tr> |
|
2370 <td class="memname">static TInt CTestCFlexTimer::StartTimerAgainArray </td> |
|
2371 <td>(</td> |
|
2372 <td class="paramtype">TAny * </td> |
|
2373 <td class="paramname"> <em>aArgument</em></td> |
|
2374 <td> ) </td> |
|
2375 <td><code> [static]</code></td> |
|
2376 </tr> |
|
2377 </table> |
|
2378 </div> |
|
2379 <div class="memdoc"> |
|
2380 |
|
2381 <p>start timer again </p> |
|
2382 <ul> |
|
2383 <li><dl><dt><b>Parameters:</b></dt><dd> |
|
2384 <table border="0" cellspacing="2" cellpadding="0"> |
|
2385 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2386 </table> |
|
2387 </dd> |
|
2388 </dl> |
|
2389 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2390 </li> |
|
2391 </ul> |
|
2392 |
|
2393 </div> |
|
2394 </div> |
|
2395 <a class="anchor" id="a2664dabecb353420d3602f28f55385eb"></a><!-- doxytag: member="CTestCFlexTimer::StopSchedulerAndCancel" ref="a2664dabecb353420d3602f28f55385eb" args="(TAny *aArgument)" --> |
|
2396 <div class="memitem"> |
|
2397 <div class="memproto"> |
|
2398 <table class="memname"> |
|
2399 <tr> |
|
2400 <td class="memname">static TInt CTestCFlexTimer::StopSchedulerAndCancel </td> |
|
2401 <td>(</td> |
|
2402 <td class="paramtype">TAny * </td> |
|
2403 <td class="paramname"> <em>aArgument</em></td> |
|
2404 <td> ) </td> |
|
2405 <td><code> [static]</code></td> |
|
2406 </tr> |
|
2407 </table> |
|
2408 </div> |
|
2409 <div class="memdoc"> |
|
2410 |
|
2411 <p>stops activescheduler and cancels it self </p> |
|
2412 <p>N/A</p> |
|
2413 <dl><dt><b>Parameters:</b></dt><dd> |
|
2414 <table border="0" cellspacing="2" cellpadding="0"> |
|
2415 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2416 </table> |
|
2417 </dd> |
|
2418 </dl> |
|
2419 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2420 |
|
2421 </div> |
|
2422 </div> |
|
2423 <a class="anchor" id="a3bed54749e17c08c7909d19bc9f575d5"></a><!-- doxytag: member="CTestCFlexTimer::StopSchedulerKErrNoneArray" ref="a3bed54749e17c08c7909d19bc9f575d5" args="(TAny *aArgument)" --> |
|
2424 <div class="memitem"> |
|
2425 <div class="memproto"> |
|
2426 <table class="memname"> |
|
2427 <tr> |
|
2428 <td class="memname">static TInt CTestCFlexTimer::StopSchedulerKErrNoneArray </td> |
|
2429 <td>(</td> |
|
2430 <td class="paramtype">TAny * </td> |
|
2431 <td class="paramname"> <em>aArgument</em></td> |
|
2432 <td> ) </td> |
|
2433 <td><code> [static]</code></td> |
|
2434 </tr> |
|
2435 </table> |
|
2436 </div> |
|
2437 <div class="memdoc"> |
|
2438 |
|
2439 <p>See that expiry reason is correct. Array versio. </p> |
|
2440 <p>N/A</p> |
|
2441 <dl><dt><b>Parameters:</b></dt><dd> |
|
2442 <table border="0" cellspacing="2" cellpadding="0"> |
|
2443 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2444 </table> |
|
2445 </dd> |
|
2446 </dl> |
|
2447 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2448 |
|
2449 </div> |
|
2450 </div> |
|
2451 <a class="anchor" id="afdf3f0667761f76dae15e6dea3e42959"></a><!-- doxytag: member="CTestCFlexTimer::StopTimer" ref="afdf3f0667761f76dae15e6dea3e42959" args="(TAny *aArgument)" --> |
|
2452 <div class="memitem"> |
|
2453 <div class="memproto"> |
|
2454 <table class="memname"> |
|
2455 <tr> |
|
2456 <td class="memname">static TInt CTestCFlexTimer::StopTimer </td> |
|
2457 <td>(</td> |
|
2458 <td class="paramtype">TAny * </td> |
|
2459 <td class="paramname"> <em>aArgument</em></td> |
|
2460 <td> ) </td> |
|
2461 <td><code> [static]</code></td> |
|
2462 </tr> |
|
2463 </table> |
|
2464 </div> |
|
2465 <div class="memdoc"> |
|
2466 |
|
2467 <p>Stop timer and mark time to list given as parameter. </p> |
|
2468 <ul> |
|
2469 <li><dl><dt><b>Parameters:</b></dt><dd> |
|
2470 <table border="0" cellspacing="2" cellpadding="0"> |
|
2471 <tr><td valign="top"></td><td valign="top"><em>N/A</em> </td><td></td></tr> |
|
2472 </table> |
|
2473 </dd> |
|
2474 </dl> |
|
2475 <dl class="return"><dt><b>Returns:</b></dt><dd>N/A </dd></dl> |
|
2476 </li> |
|
2477 </ul> |
|
2478 |
|
2479 </div> |
|
2480 </div> |
|
2481 <a class="anchor" id="ab14c53fbc45feb4d53d916dbf6361b8c"></a><!-- doxytag: member="CTestCFlexTimer::SystemTimeChangesL" ref="ab14c53fbc45feb4d53d916dbf6361b8c" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2482 <div class="memitem"> |
|
2483 <div class="memproto"> |
|
2484 <table class="memname"> |
|
2485 <tr> |
|
2486 <td class="memname">static TInt CTestCFlexTimer::SystemTimeChangesL </td> |
|
2487 <td>(</td> |
|
2488 <td class="paramtype">TTestResult & </td> |
|
2489 <td class="paramname"> <em>aResult</em>, </td> |
|
2490 </tr> |
|
2491 <tr> |
|
2492 <td class="paramkey"></td> |
|
2493 <td></td> |
|
2494 <td class="paramtype">CTestFlexTimer * </td> |
|
2495 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2496 </tr> |
|
2497 <tr> |
|
2498 <td></td> |
|
2499 <td>)</td> |
|
2500 <td></td><td></td><td><code> [static]</code></td> |
|
2501 </tr> |
|
2502 </table> |
|
2503 </div> |
|
2504 <div class="memdoc"> |
|
2505 |
|
2506 <p>System time changes. </p> |
|
2507 <p>Test that changing system time cancels AT and AtUTC timers and leaves After timers running<br/> |
|
2508 <br/> |
|
2509 </p> |
|
2510 <ul> |
|
2511 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2512 </li> |
|
2513 <li>Start three timers. At/AtUTC/After<br/> |
|
2514 </li> |
|
2515 <li>Change system time e.g. User::SetHomeTime()<br/> |
|
2516 </li> |
|
2517 <li>See that At/AtUTC timers are cancelled with error code KErrAbort<br/> |
|
2518 </li> |
|
2519 <li>See that remaining timer is fired at max time<br/> |
|
2520 </li> |
|
2521 </ul> |
|
2522 <dl><dt><b>Parameters:</b></dt><dd> |
|
2523 <table border="0" cellspacing="2" cellpadding="0"> |
|
2524 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2525 </table> |
|
2526 </dd> |
|
2527 </dl> |
|
2528 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2529 |
|
2530 </div> |
|
2531 </div> |
|
2532 <a class="anchor" id="a1d835a3755a1aaaf3929450571fad4d4"></a><!-- doxytag: member="CTestCFlexTimer::TimerIsStartedTwiceL" ref="a1d835a3755a1aaaf3929450571fad4d4" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2533 <div class="memitem"> |
|
2534 <div class="memproto"> |
|
2535 <table class="memname"> |
|
2536 <tr> |
|
2537 <td class="memname">static TInt CTestCFlexTimer::TimerIsStartedTwiceL </td> |
|
2538 <td>(</td> |
|
2539 <td class="paramtype">TTestResult & </td> |
|
2540 <td class="paramname"> <em>aResult</em>, </td> |
|
2541 </tr> |
|
2542 <tr> |
|
2543 <td class="paramkey"></td> |
|
2544 <td></td> |
|
2545 <td class="paramtype">CTestFlexTimer * </td> |
|
2546 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2547 </tr> |
|
2548 <tr> |
|
2549 <td></td> |
|
2550 <td>)</td> |
|
2551 <td></td><td></td><td><code> [static]</code></td> |
|
2552 </tr> |
|
2553 </table> |
|
2554 </div> |
|
2555 <div class="memdoc"> |
|
2556 |
|
2557 <p>Start timer twice. </p> |
|
2558 <p>Test that client is paniced if timer is started twise <br/> |
|
2559 <br/> |
|
2560 </p> |
|
2561 <ul> |
|
2562 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2563 </li> |
|
2564 <li>Start timer with After()<br/> |
|
2565 </li> |
|
2566 <li>Start timer again with At()<br/> |
|
2567 </li> |
|
2568 <li>See that client panics with code EFlexTimerServerErrorPendingTimer //TODO referense in documentation</li> |
|
2569 </ul> |
|
2570 <dl><dt><b>Parameters:</b></dt><dd> |
|
2571 <table border="0" cellspacing="2" cellpadding="0"> |
|
2572 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2573 </table> |
|
2574 </dd> |
|
2575 </dl> |
|
2576 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2577 |
|
2578 </div> |
|
2579 </div> |
|
2580 <a class="anchor" id="aedc5c711060a9ce024a63d220026359d"></a><!-- doxytag: member="CTestCFlexTimer::TimeZoneChangesL" ref="aedc5c711060a9ce024a63d220026359d" args="(TTestResult &aResult, CTestFlexTimer *cb)" --> |
|
2581 <div class="memitem"> |
|
2582 <div class="memproto"> |
|
2583 <table class="memname"> |
|
2584 <tr> |
|
2585 <td class="memname">static TInt CTestCFlexTimer::TimeZoneChangesL </td> |
|
2586 <td>(</td> |
|
2587 <td class="paramtype">TTestResult & </td> |
|
2588 <td class="paramname"> <em>aResult</em>, </td> |
|
2589 </tr> |
|
2590 <tr> |
|
2591 <td class="paramkey"></td> |
|
2592 <td></td> |
|
2593 <td class="paramtype">CTestFlexTimer * </td> |
|
2594 <td class="paramname"> <em>cb</em></td><td> </td> |
|
2595 </tr> |
|
2596 <tr> |
|
2597 <td></td> |
|
2598 <td>)</td> |
|
2599 <td></td><td></td><td><code> [static]</code></td> |
|
2600 </tr> |
|
2601 </table> |
|
2602 </div> |
|
2603 <div class="memdoc"> |
|
2604 |
|
2605 <p>Timezone changes. </p> |
|
2606 <p>Test that changing time zone cancels AT and AtUTC timers and leaves After timers running<br/> |
|
2607 <br/> |
|
2608 </p> |
|
2609 <ul> |
|
2610 <li>Use class that is inherited from CFlexTimer.<br/> |
|
2611 </li> |
|
2612 <li>Start three timers. At/AtUTC/After<br/> |
|
2613 </li> |
|
2614 <li>Change timezone e.g. User::SetUTCOffset()<br/> |
|
2615 </li> |
|
2616 <li>See that At/AtUTC timers are cancelled with error code KErrAbort<br/> |
|
2617 </li> |
|
2618 <li>See that remaining timer is fired at max time</li> |
|
2619 </ul> |
|
2620 <dl><dt><b>Parameters:</b></dt><dd> |
|
2621 <table border="0" cellspacing="2" cellpadding="0"> |
|
2622 <tr><td valign="top"></td><td valign="top"><em>TBD</em> </td><td></td></tr> |
|
2623 </table> |
|
2624 </dd> |
|
2625 </dl> |
|
2626 <dl class="return"><dt><b>Returns:</b></dt><dd>The status of execution of the test. KErrNone if the test was executed ok, any system wide errorcode otherwise. </dd></dl> |
|
2627 |
|
2628 </div> |
|
2629 </div> |
|
2630 </div> |
|
2631 <!--- window showing the filter options --> |
|
2632 <div id="MSearchSelectWindow" |
|
2633 onmouseover="return searchBox.OnSearchSelectShow()" |
|
2634 onmouseout="return searchBox.OnSearchSelectHide()" |
|
2635 onkeydown="return searchBox.OnSearchSelectKey(event)"> |
|
2636 <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a></div> |
|
2637 |
|
2638 <!-- iframe showing the search results (closed by default) --> |
|
2639 <div id="MSearchResultsWindow"> |
|
2640 <iframe src="" frameborder="0" |
|
2641 name="MSearchResults" id="MSearchResults"> |
|
2642 </iframe> |
|
2643 </div> |
|
2644 |
|
2645 <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 22 15:09:47 2010 for FlexTimerStifSpecs by |
|
2646 <a href="http://www.doxygen.org/index.html"> |
|
2647 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> |
|
2648 </body> |
|
2649 </html> |