<ahref="test_8h.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00069"></a><aclass="code"href="structtestcase.html">00069</a><spanclass="keyword">struct </span><aclass="code"href="structtestcase.html"title="Structure representing a test case.">testcase</a> {
<aname="l00070"></a><aclass="code"href="structtestcase.html#ac2174dd3b54bc450ef1234b1327ad56e">00070</a><spanclass="keywordtype">char</span> *(*gettest)(void); <spanclass="comment">/**< @brief Test case name get function. */</span>
<aname="l00071"></a><aclass="code"href="structtestcase.html#a6834d2a8e6c4ba9047f548162f582b04">00071</a> void (*<aclass="code"href="structtestcase.html#a6834d2a8e6c4ba9047f548162f582b04"title="Test case preparation function.">setup</a>)(void); <spanclass="comment">/**< @brief Test case preparation function. */</span>
<aname="l00072"></a><aclass="code"href="structtestcase.html#af49c801184c28dfd578bfe4a69a7f211">00072</a> void (*<aclass="code"href="structtestcase.html#af49c801184c28dfd578bfe4a69a7f211"title="Test case clean up function.">teardown</a>)(void); <spanclass="comment">/**< @brief Test case clean up function. */</span>
<aname="l00073"></a><aclass="code"href="structtestcase.html#af216996149ef003c44a83a57c57db2f0">00073</a> void (*<aclass="code"href="structtestcase.html#af216996149ef003c44a83a57c57db2f0"title="Test case execution function.">execute</a>)(void); <spanclass="comment">/**< @brief Test case execution function. */</span>
<aname="l00079"></a>00079 <aclass="code"href="group__core.html#gac8b681d521d3b6c25e7a0304674732c9"title="Static working area allocation.">WORKING_AREA</a>(T0, THREADS_STACK_SIZE);
<aname="l00080"></a>00080 <aclass="code"href="group__core.html#gac8b681d521d3b6c25e7a0304674732c9"title="Static working area allocation.">WORKING_AREA</a>(T1, THREADS_STACK_SIZE);
<aname="l00081"></a>00081 <aclass="code"href="group__core.html#gac8b681d521d3b6c25e7a0304674732c9"title="Static working area allocation.">WORKING_AREA</a>(T2, THREADS_STACK_SIZE);
<aname="l00082"></a>00082 <aclass="code"href="group__core.html#gac8b681d521d3b6c25e7a0304674732c9"title="Static working area allocation.">WORKING_AREA</a>(T3, THREADS_STACK_SIZE);
<aname="l00083"></a>00083 <aclass="code"href="group__core.html#gac8b681d521d3b6c25e7a0304674732c9"title="Static working area allocation.">WORKING_AREA</a>(T4, THREADS_STACK_SIZE);
<aname="l00092"></a>00092 <spanclass="preprocessor"></span><aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__test.html#ga6b0a5b39f57674777d7b044e1a15603a"title="Test execution thread function.">TestThread</a>(<spanclass="keywordtype">void</span> *p);
<aname="l00093"></a>00093 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#ga5551ca9506fe131cae2e4036c512cc98"title="Prints a decimal unsigned number.">test_printn</a>(<aclass="code"href="group___s_t_m8___c_o_r_e.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> n);
<aname="l00094"></a>00094 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#ga65f8ec6aa3d624a48d498f04efa2dce8"title="Prints a line without final end-of-line.">test_print</a>(<spanclass="keywordtype">char</span> *msgp);
<aname="l00095"></a>00095 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#gaf5e5d95b5ea7bd33f91ca52ee8088f4e"title="Prints a line.">test_println</a>(<spanclass="keywordtype">char</span> *msgp);
<aname="l00096"></a>00096 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#gab3d9527d7616b3f9f8cba60cda0211a8"title="Emits a token into the tokens buffer.">test_emit_token</a>(<spanclass="keywordtype">char</span> token);
<aname="l00097"></a>00097 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a> _test_fail(<spanclass="keywordtype">unsigned</span> point);
<aname="l00098"></a>00098 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a> _test_assert(<spanclass="keywordtype">unsigned</span> point, <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a> condition);
<aname="l00099"></a>00099 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a> _test_assert_sequence(<spanclass="keywordtype">unsigned</span> point, <spanclass="keywordtype">char</span> *expected);
<aname="l00100"></a>00100 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a> _test_assert_time_window(<spanclass="keywordtype">unsigned</span> point, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> start, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> end);
<aname="l00101"></a>00101 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#ga9415896a22ab615391028ec0852bc678"title="Pends a termination request in all the test-spawned threads.">test_terminate_threads</a>(<spanclass="keywordtype">void</span>);
<aname="l00102"></a>00102 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#ga361d9d2685d79754206ae8af370a303c"title="Waits for the completion of all the test-spawned threads.">test_wait_threads</a>(<spanclass="keywordtype">void</span>);
<aname="l00103"></a>00103 <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a><aclass="code"href="group__test.html#gac067dd7ee03b2c56d4d26ce9815ed3f7"title="Delays execution until next system time tick.">test_wait_tick</a>(<spanclass="keywordtype">void</span>);
<aname="l00104"></a>00104 <spanclass="keywordtype">void</span><aclass="code"href="group__test.html#gad4ce516117b9a9c8cd884c192c8f9bb1"title="Starts the test timer.">test_start_timer</a>(<spanclass="keywordtype">unsigned</span> ms);
<aname="l00162"></a>00162 <spanclass="keyword">extern</span><aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a><aclass="code"href="group__test.html#gad74c89f8a5049c1055b6a0f0596424b0"title="Set to TRUE when the test timer reaches its deadline.">test_timer_done</a>;
Generated on Sun Oct 24 2010 09:40:37 for ChibiOS/RT by <ahref="http://www.doxygen.org/index.html"><imgsrc="doxygen.png"alt="doxygen"align="middle"border="0"></a> 1.7.1</small></address>