Thu, 19 May 2022 14:30:20 +0200
#189 basic map implementation
universe@390 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
universe@390 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
universe@390 | 3 | <head> |
universe@390 | 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
universe@390 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
universe@390 | 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
universe@390 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
universe@390 | 8 | <title>ucx: /home/mike/workspace/c/ucx/src/ucx/test.h File Reference</title> |
universe@390 | 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
universe@390 | 10 | <script type="text/javascript" src="jquery.js"></script> |
universe@390 | 11 | <script type="text/javascript" src="dynsections.js"></script> |
universe@390 | 12 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
universe@390 | 13 | <script type="text/javascript" src="search/searchdata.js"></script> |
universe@390 | 14 | <script type="text/javascript" src="search/search.js"></script> |
universe@390 | 15 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
universe@390 | 16 | </head> |
universe@390 | 17 | <body> |
universe@390 | 18 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
universe@390 | 19 | <div id="titlearea"> |
universe@390 | 20 | <table cellspacing="0" cellpadding="0"> |
universe@390 | 21 | <tbody> |
universe@390 | 22 | <tr style="height: 56px;"> |
universe@390 | 23 | <td id="projectlogo"><img alt="Logo" src="uaplogo.png"/></td> |
universe@390 | 24 | <td id="projectalign" style="padding-left: 0.5em;"> |
universe@390 | 25 | <div id="projectname">ucx |
universe@390 | 26 | </div> |
universe@390 | 27 | <div id="projectbrief">UAP Common Extensions</div> |
universe@390 | 28 | </td> |
universe@390 | 29 | </tr> |
universe@390 | 30 | </tbody> |
universe@390 | 31 | </table> |
universe@390 | 32 | </div> |
universe@390 | 33 | <!-- end header part --> |
universe@390 | 34 | <!-- Generated by Doxygen 1.8.13 --> |
universe@390 | 35 | <script type="text/javascript"> |
universe@390 | 36 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
universe@390 | 37 | </script> |
universe@390 | 38 | <script type="text/javascript" src="menudata.js"></script> |
universe@390 | 39 | <script type="text/javascript" src="menu.js"></script> |
universe@390 | 40 | <script type="text/javascript"> |
universe@390 | 41 | $(function() { |
universe@390 | 42 | initMenu('',true,false,'search.php','Search'); |
universe@390 | 43 | $(document).ready(function() { init_search(); }); |
universe@390 | 44 | }); |
universe@390 | 45 | </script> |
universe@390 | 46 | <div id="main-nav"></div> |
universe@390 | 47 | <!-- window showing the filter options --> |
universe@390 | 48 | <div id="MSearchSelectWindow" |
universe@390 | 49 | onmouseover="return searchBox.OnSearchSelectShow()" |
universe@390 | 50 | onmouseout="return searchBox.OnSearchSelectHide()" |
universe@390 | 51 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
universe@390 | 52 | </div> |
universe@390 | 53 | |
universe@390 | 54 | <!-- iframe showing the search results (closed by default) --> |
universe@390 | 55 | <div id="MSearchResultsWindow"> |
universe@390 | 56 | <iframe src="javascript:void(0)" frameborder="0" |
universe@390 | 57 | name="MSearchResults" id="MSearchResults"> |
universe@390 | 58 | </iframe> |
universe@390 | 59 | </div> |
universe@390 | 60 | |
universe@390 | 61 | <div id="nav-path" class="navpath"> |
universe@390 | 62 | <ul> |
universe@390 | 63 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_69f4ea29401808fe6229564976cde3ce.html">ucx</a></li> </ul> |
universe@390 | 64 | </div> |
universe@390 | 65 | </div><!-- top --> |
universe@390 | 66 | <div class="header"> |
universe@390 | 67 | <div class="summary"> |
universe@390 | 68 | <a href="#nested-classes">Data Structures</a> | |
universe@390 | 69 | <a href="#define-members">Macros</a> | |
universe@390 | 70 | <a href="#typedef-members">Typedefs</a> | |
universe@390 | 71 | <a href="#func-members">Functions</a> </div> |
universe@390 | 72 | <div class="headertitle"> |
universe@390 | 73 | <div class="title">test.h File Reference</div> </div> |
universe@390 | 74 | </div><!--header--> |
universe@390 | 75 | <div class="contents"> |
universe@390 | 76 | |
universe@390 | 77 | <p>UCX Test Framework. |
universe@390 | 78 | <a href="#details">More...</a></p> |
universe@390 | 79 | <div class="textblock"><code>#include "<a class="el" href="ucx_8h_source.html">ucx.h</a>"</code><br /> |
universe@390 | 80 | <code>#include <stdio.h></code><br /> |
universe@390 | 81 | <code>#include <<a class="el" href="string_8h_source.html">string.h</a>></code><br /> |
universe@390 | 82 | <code>#include <setjmp.h></code><br /> |
universe@390 | 83 | </div> |
universe@390 | 84 | <p><a href="test_8h_source.html">Go to the source code of this file.</a></p> |
universe@390 | 85 | <table class="memberdecls"> |
universe@390 | 86 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
universe@390 | 87 | Data Structures</h2></td></tr> |
universe@390 | 88 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structUcxTestList.html">UcxTestList</a></td></tr> |
universe@390 | 89 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Structure for the internal list of test cases. <a href="structUcxTestList.html#details">More...</a><br /></td></tr> |
universe@390 | 90 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 91 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a></td></tr> |
universe@390 | 92 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A test suite containing multiple test cases. <a href="structUcxTestSuite.html#details">More...</a><br /></td></tr> |
universe@390 | 93 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 94 | </table><table class="memberdecls"> |
universe@390 | 95 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
universe@390 | 96 | Macros</h2></td></tr> |
universe@390 | 97 | <tr class="memitem:a828bb1dfda1afd67ca795075903d227d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a828bb1dfda1afd67ca795075903d227d">__FUNCTION__</a>   __func__</td></tr> |
universe@390 | 98 | <tr class="memdesc:a828bb1dfda1afd67ca795075903d227d"><td class="mdescLeft"> </td><td class="mdescRight">Alias for the <code>__func__</code> preprocessor macro. <a href="#a828bb1dfda1afd67ca795075903d227d">More...</a><br /></td></tr> |
universe@390 | 99 | <tr class="separator:a828bb1dfda1afd67ca795075903d227d"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 100 | <tr class="memitem:a66cfb29c329fc9eaef071f2449836659"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a66cfb29c329fc9eaef071f2449836659">UCX_TEST</a>(name)   void name(<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a>* _suite_,FILE *_output_)</td></tr> |
universe@390 | 101 | <tr class="memdesc:a66cfb29c329fc9eaef071f2449836659"><td class="mdescLeft"> </td><td class="mdescRight">Macro for a <a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c" title="Pointer to a test function. ">UcxTest</a> function header. <a href="#a66cfb29c329fc9eaef071f2449836659">More...</a><br /></td></tr> |
universe@390 | 102 | <tr class="separator:a66cfb29c329fc9eaef071f2449836659"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 103 | <tr class="memitem:a0547b8d4f3bcdb0633fdd8925e8aa5d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4">UCX_TEST_BEGIN</a></td></tr> |
universe@390 | 104 | <tr class="memdesc:a0547b8d4f3bcdb0633fdd8925e8aa5d4"><td class="mdescLeft"> </td><td class="mdescRight">Marks the begin of a test. <a href="#a0547b8d4f3bcdb0633fdd8925e8aa5d4">More...</a><br /></td></tr> |
universe@390 | 105 | <tr class="separator:a0547b8d4f3bcdb0633fdd8925e8aa5d4"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 106 | <tr class="memitem:a08f477cd12fc3fe741a92493e5df58a9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9">UCX_TEST_ASSERT</a>(condition, message)</td></tr> |
universe@390 | 107 | <tr class="memdesc:a08f477cd12fc3fe741a92493e5df58a9"><td class="mdescLeft"> </td><td class="mdescRight">Checks a test assertion. <a href="#a08f477cd12fc3fe741a92493e5df58a9">More...</a><br /></td></tr> |
universe@390 | 108 | <tr class="separator:a08f477cd12fc3fe741a92493e5df58a9"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 109 | <tr class="memitem:ae073cf5ead22cb27d662da048e16f44a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a">UCX_TEST_SUBROUTINE</a>(name, ...)</td></tr> |
universe@390 | 110 | <tr class="memdesc:ae073cf5ead22cb27d662da048e16f44a"><td class="mdescLeft"> </td><td class="mdescRight">Macro for a test subroutine function header. <a href="#ae073cf5ead22cb27d662da048e16f44a">More...</a><br /></td></tr> |
universe@390 | 111 | <tr class="separator:ae073cf5ead22cb27d662da048e16f44a"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 112 | <tr class="memitem:a0efbab91c54f5237a2ab207f48cf0e51"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a0efbab91c54f5237a2ab207f48cf0e51">UCX_TEST_CALL_SUBROUTINE</a>(name, ...)   name(_suite_,_output_,_env_,__VA_ARGS__);</td></tr> |
universe@390 | 113 | <tr class="memdesc:a0efbab91c54f5237a2ab207f48cf0e51"><td class="mdescLeft"> </td><td class="mdescRight">Macro for calling a test subroutine. <a href="#a0efbab91c54f5237a2ab207f48cf0e51">More...</a><br /></td></tr> |
universe@390 | 114 | <tr class="separator:a0efbab91c54f5237a2ab207f48cf0e51"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 115 | <tr class="memitem:a86e64857c04f0447f8b16fb9c2b3b639"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639">UCX_TEST_END</a>   fwrite("success.\n", 1, 9, _output_); _suite_->success++;}</td></tr> |
universe@390 | 116 | <tr class="memdesc:a86e64857c04f0447f8b16fb9c2b3b639"><td class="mdescLeft"> </td><td class="mdescRight">Marks the end of a test. <a href="#a86e64857c04f0447f8b16fb9c2b3b639">More...</a><br /></td></tr> |
universe@390 | 117 | <tr class="separator:a86e64857c04f0447f8b16fb9c2b3b639"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 118 | </table><table class="memberdecls"> |
universe@390 | 119 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> |
universe@390 | 120 | Typedefs</h2></td></tr> |
universe@390 | 121 | <tr class="memitem:a52115d1d0f1c4a565ed6ef7c1bfd0363"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a52115d1d0f1c4a565ed6ef7c1bfd0363">UcxTestSuite</a></td></tr> |
universe@390 | 122 | <tr class="memdesc:a52115d1d0f1c4a565ed6ef7c1bfd0363"><td class="mdescLeft"> </td><td class="mdescRight">Type for the <a class="el" href="structUcxTestSuite.html" title="A test suite containing multiple test cases. ">UcxTestSuite</a>. <a href="#a52115d1d0f1c4a565ed6ef7c1bfd0363">More...</a><br /></td></tr> |
universe@390 | 123 | <tr class="separator:a52115d1d0f1c4a565ed6ef7c1bfd0363"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 124 | <tr class="memitem:ae906817354c010b83c2784260cce7a1c"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c">UcxTest</a>) (<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> *, FILE *)</td></tr> |
universe@390 | 125 | <tr class="memdesc:ae906817354c010b83c2784260cce7a1c"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to a test function. <a href="#ae906817354c010b83c2784260cce7a1c">More...</a><br /></td></tr> |
universe@390 | 126 | <tr class="separator:ae906817354c010b83c2784260cce7a1c"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 127 | <tr class="memitem:a8048c50ae73ea690b776edfd63bd6a5d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structUcxTestList.html">UcxTestList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a8048c50ae73ea690b776edfd63bd6a5d">UcxTestList</a></td></tr> |
universe@390 | 128 | <tr class="memdesc:a8048c50ae73ea690b776edfd63bd6a5d"><td class="mdescLeft"> </td><td class="mdescRight">Type for the internal list of test cases. <a href="#a8048c50ae73ea690b776edfd63bd6a5d">More...</a><br /></td></tr> |
universe@390 | 129 | <tr class="separator:a8048c50ae73ea690b776edfd63bd6a5d"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 130 | </table><table class="memberdecls"> |
universe@390 | 131 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
universe@390 | 132 | Functions</h2></td></tr> |
universe@390 | 133 | <tr class="memitem:a531f0df90363e0befbe900878f65f09e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a531f0df90363e0befbe900878f65f09e">ucx_test_suite_new</a> ()</td></tr> |
universe@390 | 134 | <tr class="memdesc:a531f0df90363e0befbe900878f65f09e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new test suite. <a href="#a531f0df90363e0befbe900878f65f09e">More...</a><br /></td></tr> |
universe@390 | 135 | <tr class="separator:a531f0df90363e0befbe900878f65f09e"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 136 | <tr class="memitem:a4a6ac61a6f72722273f8eaa7a343edde"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a4a6ac61a6f72722273f8eaa7a343edde">ucx_test_suite_free</a> (<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> *suite)</td></tr> |
universe@390 | 137 | <tr class="memdesc:a4a6ac61a6f72722273f8eaa7a343edde"><td class="mdescLeft"> </td><td class="mdescRight">Destroys a test suite. <a href="#a4a6ac61a6f72722273f8eaa7a343edde">More...</a><br /></td></tr> |
universe@390 | 138 | <tr class="separator:a4a6ac61a6f72722273f8eaa7a343edde"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 139 | <tr class="memitem:a8dfabc42f183d3a4d79379a5d17bf67d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a8dfabc42f183d3a4d79379a5d17bf67d">ucx_test_register</a> (<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> *suite, <a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c">UcxTest</a> test)</td></tr> |
universe@390 | 140 | <tr class="memdesc:a8dfabc42f183d3a4d79379a5d17bf67d"><td class="mdescLeft"> </td><td class="mdescRight">Registers a test function with the specified test suite. <a href="#a8dfabc42f183d3a4d79379a5d17bf67d">More...</a><br /></td></tr> |
universe@390 | 141 | <tr class="separator:a8dfabc42f183d3a4d79379a5d17bf67d"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 142 | <tr class="memitem:a3721458deeecb43aa322428f007714c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="test_8h.html#a3721458deeecb43aa322428f007714c3">ucx_test_run</a> (<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> *suite, FILE *outstream)</td></tr> |
universe@390 | 143 | <tr class="memdesc:a3721458deeecb43aa322428f007714c3"><td class="mdescLeft"> </td><td class="mdescRight">Runs a test suite and writes the test log to the specified stream. <a href="#a3721458deeecb43aa322428f007714c3">More...</a><br /></td></tr> |
universe@390 | 144 | <tr class="separator:a3721458deeecb43aa322428f007714c3"><td class="memSeparator" colspan="2"> </td></tr> |
universe@390 | 145 | </table> |
universe@390 | 146 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
universe@390 | 147 | <div class="textblock"><p>UCX Test Framework. </p> |
universe@390 | 148 | <p>Usage of this test framework:</p> |
universe@390 | 149 | <p>**** IN HEADER FILE: ****</p> |
universe@390 | 150 | <pre> |
universe@390 | 151 | <a class="el" href="test_8h.html#a66cfb29c329fc9eaef071f2449836659" title="Macro for a UcxTest function header. ">UCX_TEST(function_name)</a>; |
universe@390 | 152 | <a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a" title="Macro for a test subroutine function header. ">UCX_TEST_SUBROUTINE(subroutine_name, paramlist)</a>; // optional |
universe@390 | 153 | </pre><p>**** IN SOURCE FILE: **** </p><pre> |
universe@390 | 154 | <a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a" title="Macro for a test subroutine function header. ">UCX_TEST_SUBROUTINE(subroutine_name, paramlist)</a> { |
universe@390 | 155 | // tests with <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9" title="Checks a test assertion. ">UCX_TEST_ASSERT()</a> |
universe@390 | 156 | }</pre><pre><a class="el" href="test_8h.html#a66cfb29c329fc9eaef071f2449836659" title="Macro for a UcxTest function header. ">UCX_TEST(function_name)</a> { |
universe@390 | 157 | // memory allocation and other stuff here |
universe@390 | 158 | <a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4" title="Marks the begin of a test. ">UCX_TEST_BEGIN</a> |
universe@390 | 159 | // tests with <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9" title="Checks a test assertion. ">UCX_TEST_ASSERT()</a> and/or |
universe@390 | 160 | // calls with <a class="el" href="test_8h.html#a0efbab91c54f5237a2ab207f48cf0e51" title="Macro for calling a test subroutine. ">UCX_TEST_CALL_SUBROUTINE()</a> here |
universe@390 | 161 | <a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639" title="Marks the end of a test. ">UCX_TEST_END</a> |
universe@390 | 162 | // cleanup of memory here |
universe@390 | 163 | } |
universe@390 | 164 | </pre><p><b>Note:</b> if a test fails, a longjump is performed back to the <a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4" title="Marks the begin of a test. ">UCX_TEST_BEGIN</a> macro!</p> |
universe@390 | 165 | <p><b>Attention:</b> Do not call own functions within a test, that use <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9" title="Checks a test assertion. ">UCX_TEST_ASSERT()</a> macros and are not defined by using <a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a" title="Macro for a test subroutine function header. ">UCX_TEST_SUBROUTINE()</a>.</p> |
universe@390 | 166 | <dl class="section author"><dt>Author</dt><dd>Mike Becker </dd> |
universe@390 | 167 | <dd> |
universe@390 | 168 | Olaf Wintermann </dd></dl> |
universe@390 | 169 | </div><h2 class="groupheader">Macro Definition Documentation</h2> |
universe@390 | 170 | <a id="a828bb1dfda1afd67ca795075903d227d"></a> |
universe@390 | 171 | <h2 class="memtitle"><span class="permalink"><a href="#a828bb1dfda1afd67ca795075903d227d">◆ </a></span>__FUNCTION__</h2> |
universe@390 | 172 | |
universe@390 | 173 | <div class="memitem"> |
universe@390 | 174 | <div class="memproto"> |
universe@390 | 175 | <table class="memname"> |
universe@390 | 176 | <tr> |
universe@390 | 177 | <td class="memname">#define __FUNCTION__   __func__</td> |
universe@390 | 178 | </tr> |
universe@390 | 179 | </table> |
universe@390 | 180 | </div><div class="memdoc"> |
universe@390 | 181 | |
universe@390 | 182 | <p>Alias for the <code>__func__</code> preprocessor macro. </p> |
universe@390 | 183 | <p>Some compilers use <code>__func__</code> and others use <b>FUNCTION</b>. We use <b>FUNCTION</b> so we define it for those compilers which use <code>__func__</code>. </p> |
universe@390 | 184 | |
universe@390 | 185 | </div> |
universe@390 | 186 | </div> |
universe@390 | 187 | <a id="a66cfb29c329fc9eaef071f2449836659"></a> |
universe@390 | 188 | <h2 class="memtitle"><span class="permalink"><a href="#a66cfb29c329fc9eaef071f2449836659">◆ </a></span>UCX_TEST</h2> |
universe@390 | 189 | |
universe@390 | 190 | <div class="memitem"> |
universe@390 | 191 | <div class="memproto"> |
universe@390 | 192 | <table class="memname"> |
universe@390 | 193 | <tr> |
universe@390 | 194 | <td class="memname">#define UCX_TEST</td> |
universe@390 | 195 | <td>(</td> |
universe@390 | 196 | <td class="paramtype"> </td> |
universe@390 | 197 | <td class="paramname">name</td><td>)</td> |
universe@390 | 198 | <td>   void name(<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a>* _suite_,FILE *_output_)</td> |
universe@390 | 199 | </tr> |
universe@390 | 200 | </table> |
universe@390 | 201 | </div><div class="memdoc"> |
universe@390 | 202 | |
universe@390 | 203 | <p>Macro for a <a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c" title="Pointer to a test function. ">UcxTest</a> function header. </p> |
universe@390 | 204 | <p>Use this macro to declare and/or define a <a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c" title="Pointer to a test function. ">UcxTest</a> function.</p> |
universe@390 | 205 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 206 | <table class="params"> |
universe@390 | 207 | <tr><td class="paramname">name</td><td>the name of the test function </td></tr> |
universe@390 | 208 | </table> |
universe@390 | 209 | </dd> |
universe@390 | 210 | </dl> |
universe@390 | 211 | |
universe@390 | 212 | </div> |
universe@390 | 213 | </div> |
universe@390 | 214 | <a id="a08f477cd12fc3fe741a92493e5df58a9"></a> |
universe@390 | 215 | <h2 class="memtitle"><span class="permalink"><a href="#a08f477cd12fc3fe741a92493e5df58a9">◆ </a></span>UCX_TEST_ASSERT</h2> |
universe@390 | 216 | |
universe@390 | 217 | <div class="memitem"> |
universe@390 | 218 | <div class="memproto"> |
universe@390 | 219 | <table class="memname"> |
universe@390 | 220 | <tr> |
universe@390 | 221 | <td class="memname">#define UCX_TEST_ASSERT</td> |
universe@390 | 222 | <td>(</td> |
universe@390 | 223 | <td class="paramtype"> </td> |
universe@390 | 224 | <td class="paramname">condition, </td> |
universe@390 | 225 | </tr> |
universe@390 | 226 | <tr> |
universe@390 | 227 | <td class="paramkey"></td> |
universe@390 | 228 | <td></td> |
universe@390 | 229 | <td class="paramtype"> </td> |
universe@390 | 230 | <td class="paramname">message </td> |
universe@390 | 231 | </tr> |
universe@390 | 232 | <tr> |
universe@390 | 233 | <td></td> |
universe@390 | 234 | <td>)</td> |
universe@390 | 235 | <td></td><td></td> |
universe@390 | 236 | </tr> |
universe@390 | 237 | </table> |
universe@390 | 238 | </div><div class="memdoc"> |
universe@390 | 239 | <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">if</span> (!(condition)) { \</div><div class="line"> fwrite(message<span class="stringliteral">".\n"</span>, 1, 2+strlen(message), _output_); \</div><div class="line"> _suite_->failure++; \</div><div class="line"> longjmp(_env_, 1);\</div><div class="line"> }</div></div><!-- fragment --> |
universe@390 | 240 | <p>Checks a test assertion. </p> |
universe@390 | 241 | <p>If the assertion is correct, the test carries on. If the assertion is not correct, the specified message (terminated by a dot and a line break) is written to the test suites output stream. </p><dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 242 | <table class="params"> |
universe@390 | 243 | <tr><td class="paramname">condition</td><td>the condition to check </td></tr> |
universe@390 | 244 | <tr><td class="paramname">message</td><td>the message that shall be printed out on failure </td></tr> |
universe@390 | 245 | </table> |
universe@390 | 246 | </dd> |
universe@390 | 247 | </dl> |
universe@390 | 248 | |
universe@390 | 249 | </div> |
universe@390 | 250 | </div> |
universe@390 | 251 | <a id="a0547b8d4f3bcdb0633fdd8925e8aa5d4"></a> |
universe@390 | 252 | <h2 class="memtitle"><span class="permalink"><a href="#a0547b8d4f3bcdb0633fdd8925e8aa5d4">◆ </a></span>UCX_TEST_BEGIN</h2> |
universe@390 | 253 | |
universe@390 | 254 | <div class="memitem"> |
universe@390 | 255 | <div class="memproto"> |
universe@390 | 256 | <table class="memname"> |
universe@390 | 257 | <tr> |
universe@390 | 258 | <td class="memname">#define UCX_TEST_BEGIN</td> |
universe@390 | 259 | </tr> |
universe@390 | 260 | </table> |
universe@390 | 261 | </div><div class="memdoc"> |
universe@390 | 262 | <b>Value:</b><div class="fragment"><div class="line">fwrite(<span class="stringliteral">"Running "</span>, 1, 8, _output_);\</div><div class="line"> fwrite(<a class="code" href="test_8h.html#a828bb1dfda1afd67ca795075903d227d">__FUNCTION__</a>, 1, strlen(<a class="code" href="test_8h.html#a828bb1dfda1afd67ca795075903d227d">__FUNCTION__</a>), _output_);\</div><div class="line"> fwrite(<span class="stringliteral">"... "</span>, 1, 4, _output_);\</div><div class="line"> jmp_buf _env_; \</div><div class="line"> if (!setjmp(_env_)) {</div><div class="ttc" id="test_8h_html_a828bb1dfda1afd67ca795075903d227d"><div class="ttname"><a href="test_8h.html#a828bb1dfda1afd67ca795075903d227d">__FUNCTION__</a></div><div class="ttdeci">#define __FUNCTION__</div><div class="ttdoc">Alias for the __func__ preprocessor macro. </div><div class="ttdef"><b>Definition:</b> test.h:91</div></div> |
universe@390 | 263 | </div><!-- fragment --> |
universe@390 | 264 | <p>Marks the begin of a test. </p> |
universe@390 | 265 | <p><b>Note:</b> Any <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9" title="Checks a test assertion. ">UCX_TEST_ASSERT()</a> calls must be performed <b>after</b> <a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4" title="Marks the begin of a test. ">UCX_TEST_BEGIN</a>.</p> |
universe@390 | 266 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639" title="Marks the end of a test. ">UCX_TEST_END</a> </dd></dl> |
universe@390 | 267 | |
universe@390 | 268 | </div> |
universe@390 | 269 | </div> |
universe@390 | 270 | <a id="a0efbab91c54f5237a2ab207f48cf0e51"></a> |
universe@390 | 271 | <h2 class="memtitle"><span class="permalink"><a href="#a0efbab91c54f5237a2ab207f48cf0e51">◆ </a></span>UCX_TEST_CALL_SUBROUTINE</h2> |
universe@390 | 272 | |
universe@390 | 273 | <div class="memitem"> |
universe@390 | 274 | <div class="memproto"> |
universe@390 | 275 | <table class="memname"> |
universe@390 | 276 | <tr> |
universe@390 | 277 | <td class="memname">#define UCX_TEST_CALL_SUBROUTINE</td> |
universe@390 | 278 | <td>(</td> |
universe@390 | 279 | <td class="paramtype"> </td> |
universe@390 | 280 | <td class="paramname">name, </td> |
universe@390 | 281 | </tr> |
universe@390 | 282 | <tr> |
universe@390 | 283 | <td class="paramkey"></td> |
universe@390 | 284 | <td></td> |
universe@390 | 285 | <td class="paramtype"> </td> |
universe@390 | 286 | <td class="paramname"><em>...</em> </td> |
universe@390 | 287 | </tr> |
universe@390 | 288 | <tr> |
universe@390 | 289 | <td></td> |
universe@390 | 290 | <td>)</td> |
universe@390 | 291 | <td></td><td>   name(_suite_,_output_,_env_,__VA_ARGS__);</td> |
universe@390 | 292 | </tr> |
universe@390 | 293 | </table> |
universe@390 | 294 | </div><div class="memdoc"> |
universe@390 | 295 | |
universe@390 | 296 | <p>Macro for calling a test subroutine. </p> |
universe@390 | 297 | <p>Subroutines declared with <a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a" title="Macro for a test subroutine function header. ">UCX_TEST_SUBROUTINE()</a> can be called by using this macro.</p> |
universe@390 | 298 | <p><b>Note:</b> You may <b>only</b> call subroutines within a <a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4" title="Marks the begin of a test. ">UCX_TEST_BEGIN</a>- <a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639" title="Marks the end of a test. ">UCX_TEST_END</a>-block.</p> |
universe@390 | 299 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 300 | <table class="params"> |
universe@390 | 301 | <tr><td class="paramname">name</td><td>the name of the subroutine </td></tr> |
universe@390 | 302 | <tr><td class="paramname">...</td><td>the argument list</td></tr> |
universe@390 | 303 | </table> |
universe@390 | 304 | </dd> |
universe@390 | 305 | </dl> |
universe@390 | 306 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="test_8h.html#ae073cf5ead22cb27d662da048e16f44a" title="Macro for a test subroutine function header. ">UCX_TEST_SUBROUTINE()</a> </dd></dl> |
universe@390 | 307 | |
universe@390 | 308 | </div> |
universe@390 | 309 | </div> |
universe@390 | 310 | <a id="a86e64857c04f0447f8b16fb9c2b3b639"></a> |
universe@390 | 311 | <h2 class="memtitle"><span class="permalink"><a href="#a86e64857c04f0447f8b16fb9c2b3b639">◆ </a></span>UCX_TEST_END</h2> |
universe@390 | 312 | |
universe@390 | 313 | <div class="memitem"> |
universe@390 | 314 | <div class="memproto"> |
universe@390 | 315 | <table class="memname"> |
universe@390 | 316 | <tr> |
universe@390 | 317 | <td class="memname">#define UCX_TEST_END   fwrite("success.\n", 1, 9, _output_); _suite_->success++;}</td> |
universe@390 | 318 | </tr> |
universe@390 | 319 | </table> |
universe@390 | 320 | </div><div class="memdoc"> |
universe@390 | 321 | |
universe@390 | 322 | <p>Marks the end of a test. </p> |
universe@390 | 323 | <p><b>Note:</b> Any <a class="el" href="test_8h.html#a08f477cd12fc3fe741a92493e5df58a9" title="Checks a test assertion. ">UCX_TEST_ASSERT()</a> calls must be performed <b>before</b> <a class="el" href="test_8h.html#a86e64857c04f0447f8b16fb9c2b3b639" title="Marks the end of a test. ">UCX_TEST_END</a>.</p> |
universe@390 | 324 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="test_8h.html#a0547b8d4f3bcdb0633fdd8925e8aa5d4" title="Marks the begin of a test. ">UCX_TEST_BEGIN</a> </dd></dl> |
universe@390 | 325 | |
universe@390 | 326 | </div> |
universe@390 | 327 | </div> |
universe@390 | 328 | <a id="ae073cf5ead22cb27d662da048e16f44a"></a> |
universe@390 | 329 | <h2 class="memtitle"><span class="permalink"><a href="#ae073cf5ead22cb27d662da048e16f44a">◆ </a></span>UCX_TEST_SUBROUTINE</h2> |
universe@390 | 330 | |
universe@390 | 331 | <div class="memitem"> |
universe@390 | 332 | <div class="memproto"> |
universe@390 | 333 | <table class="memname"> |
universe@390 | 334 | <tr> |
universe@390 | 335 | <td class="memname">#define UCX_TEST_SUBROUTINE</td> |
universe@390 | 336 | <td>(</td> |
universe@390 | 337 | <td class="paramtype"> </td> |
universe@390 | 338 | <td class="paramname">name, </td> |
universe@390 | 339 | </tr> |
universe@390 | 340 | <tr> |
universe@390 | 341 | <td class="paramkey"></td> |
universe@390 | 342 | <td></td> |
universe@390 | 343 | <td class="paramtype"> </td> |
universe@390 | 344 | <td class="paramname"><em>...</em> </td> |
universe@390 | 345 | </tr> |
universe@390 | 346 | <tr> |
universe@390 | 347 | <td></td> |
universe@390 | 348 | <td>)</td> |
universe@390 | 349 | <td></td><td></td> |
universe@390 | 350 | </tr> |
universe@390 | 351 | </table> |
universe@390 | 352 | </div><div class="memdoc"> |
universe@390 | 353 | <b>Value:</b><div class="fragment"><div class="line"><span class="keywordtype">void</span> name(<a class="code" href="structUcxTestSuite.html">UcxTestSuite</a>* _suite_,\</div><div class="line"> FILE *_output_, jmp_buf _env_, __VA_ARGS__)</div><div class="ttc" id="structUcxTestSuite_html"><div class="ttname"><a href="structUcxTestSuite.html">UcxTestSuite</a></div><div class="ttdoc">A test suite containing multiple test cases. </div><div class="ttdef"><b>Definition:</b> test.h:116</div></div> |
universe@390 | 354 | </div><!-- fragment --> |
universe@390 | 355 | <p>Macro for a test subroutine function header. </p> |
universe@390 | 356 | <p>Use this to declare and/or define a subroutine that can be called by using <a class="el" href="test_8h.html#a0efbab91c54f5237a2ab207f48cf0e51" title="Macro for calling a test subroutine. ">UCX_TEST_CALL_SUBROUTINE()</a>.</p> |
universe@390 | 357 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 358 | <table class="params"> |
universe@390 | 359 | <tr><td class="paramname">name</td><td>the name of the subroutine </td></tr> |
universe@390 | 360 | <tr><td class="paramname">...</td><td>the parameter list</td></tr> |
universe@390 | 361 | </table> |
universe@390 | 362 | </dd> |
universe@390 | 363 | </dl> |
universe@390 | 364 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="test_8h.html#a0efbab91c54f5237a2ab207f48cf0e51" title="Macro for calling a test subroutine. ">UCX_TEST_CALL_SUBROUTINE()</a> </dd></dl> |
universe@390 | 365 | |
universe@390 | 366 | </div> |
universe@390 | 367 | </div> |
universe@390 | 368 | <h2 class="groupheader">Typedef Documentation</h2> |
universe@390 | 369 | <a id="ae906817354c010b83c2784260cce7a1c"></a> |
universe@390 | 370 | <h2 class="memtitle"><span class="permalink"><a href="#ae906817354c010b83c2784260cce7a1c">◆ </a></span>UcxTest</h2> |
universe@390 | 371 | |
universe@390 | 372 | <div class="memitem"> |
universe@390 | 373 | <div class="memproto"> |
universe@390 | 374 | <table class="memname"> |
universe@390 | 375 | <tr> |
universe@390 | 376 | <td class="memname">typedef void(* UcxTest) (<a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> *, FILE *)</td> |
universe@390 | 377 | </tr> |
universe@390 | 378 | </table> |
universe@390 | 379 | </div><div class="memdoc"> |
universe@390 | 380 | |
universe@390 | 381 | <p>Pointer to a test function. </p> |
universe@390 | 382 | |
universe@390 | 383 | </div> |
universe@390 | 384 | </div> |
universe@390 | 385 | <a id="a8048c50ae73ea690b776edfd63bd6a5d"></a> |
universe@390 | 386 | <h2 class="memtitle"><span class="permalink"><a href="#a8048c50ae73ea690b776edfd63bd6a5d">◆ </a></span>UcxTestList</h2> |
universe@390 | 387 | |
universe@390 | 388 | <div class="memitem"> |
universe@390 | 389 | <div class="memproto"> |
universe@390 | 390 | <table class="memname"> |
universe@390 | 391 | <tr> |
universe@390 | 392 | <td class="memname">typedef struct <a class="el" href="structUcxTestList.html">UcxTestList</a> <a class="el" href="structUcxTestList.html">UcxTestList</a></td> |
universe@390 | 393 | </tr> |
universe@390 | 394 | </table> |
universe@390 | 395 | </div><div class="memdoc"> |
universe@390 | 396 | |
universe@390 | 397 | <p>Type for the internal list of test cases. </p> |
universe@390 | 398 | |
universe@390 | 399 | </div> |
universe@390 | 400 | </div> |
universe@390 | 401 | <a id="a52115d1d0f1c4a565ed6ef7c1bfd0363"></a> |
universe@390 | 402 | <h2 class="memtitle"><span class="permalink"><a href="#a52115d1d0f1c4a565ed6ef7c1bfd0363">◆ </a></span>UcxTestSuite</h2> |
universe@390 | 403 | |
universe@390 | 404 | <div class="memitem"> |
universe@390 | 405 | <div class="memproto"> |
universe@390 | 406 | <table class="memname"> |
universe@390 | 407 | <tr> |
universe@390 | 408 | <td class="memname">typedef struct <a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> <a class="el" href="structUcxTestSuite.html">UcxTestSuite</a></td> |
universe@390 | 409 | </tr> |
universe@390 | 410 | </table> |
universe@390 | 411 | </div><div class="memdoc"> |
universe@390 | 412 | |
universe@390 | 413 | <p>Type for the <a class="el" href="structUcxTestSuite.html" title="A test suite containing multiple test cases. ">UcxTestSuite</a>. </p> |
universe@390 | 414 | |
universe@390 | 415 | </div> |
universe@390 | 416 | </div> |
universe@390 | 417 | <h2 class="groupheader">Function Documentation</h2> |
universe@390 | 418 | <a id="a8dfabc42f183d3a4d79379a5d17bf67d"></a> |
universe@390 | 419 | <h2 class="memtitle"><span class="permalink"><a href="#a8dfabc42f183d3a4d79379a5d17bf67d">◆ </a></span>ucx_test_register()</h2> |
universe@390 | 420 | |
universe@390 | 421 | <div class="memitem"> |
universe@390 | 422 | <div class="memproto"> |
universe@390 | 423 | <table class="memname"> |
universe@390 | 424 | <tr> |
universe@390 | 425 | <td class="memname">int ucx_test_register </td> |
universe@390 | 426 | <td>(</td> |
universe@390 | 427 | <td class="paramtype"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> * </td> |
universe@390 | 428 | <td class="paramname"><em>suite</em>, </td> |
universe@390 | 429 | </tr> |
universe@390 | 430 | <tr> |
universe@390 | 431 | <td class="paramkey"></td> |
universe@390 | 432 | <td></td> |
universe@390 | 433 | <td class="paramtype"><a class="el" href="test_8h.html#ae906817354c010b83c2784260cce7a1c">UcxTest</a> </td> |
universe@390 | 434 | <td class="paramname"><em>test</em> </td> |
universe@390 | 435 | </tr> |
universe@390 | 436 | <tr> |
universe@390 | 437 | <td></td> |
universe@390 | 438 | <td>)</td> |
universe@390 | 439 | <td></td><td></td> |
universe@390 | 440 | </tr> |
universe@390 | 441 | </table> |
universe@390 | 442 | </div><div class="memdoc"> |
universe@390 | 443 | |
universe@390 | 444 | <p>Registers a test function with the specified test suite. </p> |
universe@390 | 445 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 446 | <table class="params"> |
universe@390 | 447 | <tr><td class="paramname">suite</td><td>the suite, the test function shall be added to </td></tr> |
universe@390 | 448 | <tr><td class="paramname">test</td><td>the test function to register </td></tr> |
universe@390 | 449 | </table> |
universe@390 | 450 | </dd> |
universe@390 | 451 | </dl> |
universe@390 | 452 | <dl class="section return"><dt>Returns</dt><dd><code>EXIT_SUCCESS</code> on success or <code>EXIT_FAILURE</code> on failure </dd></dl> |
universe@390 | 453 | |
universe@390 | 454 | </div> |
universe@390 | 455 | </div> |
universe@390 | 456 | <a id="a3721458deeecb43aa322428f007714c3"></a> |
universe@390 | 457 | <h2 class="memtitle"><span class="permalink"><a href="#a3721458deeecb43aa322428f007714c3">◆ </a></span>ucx_test_run()</h2> |
universe@390 | 458 | |
universe@390 | 459 | <div class="memitem"> |
universe@390 | 460 | <div class="memproto"> |
universe@390 | 461 | <table class="memname"> |
universe@390 | 462 | <tr> |
universe@390 | 463 | <td class="memname">void ucx_test_run </td> |
universe@390 | 464 | <td>(</td> |
universe@390 | 465 | <td class="paramtype"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> * </td> |
universe@390 | 466 | <td class="paramname"><em>suite</em>, </td> |
universe@390 | 467 | </tr> |
universe@390 | 468 | <tr> |
universe@390 | 469 | <td class="paramkey"></td> |
universe@390 | 470 | <td></td> |
universe@390 | 471 | <td class="paramtype">FILE * </td> |
universe@390 | 472 | <td class="paramname"><em>outstream</em> </td> |
universe@390 | 473 | </tr> |
universe@390 | 474 | <tr> |
universe@390 | 475 | <td></td> |
universe@390 | 476 | <td>)</td> |
universe@390 | 477 | <td></td><td></td> |
universe@390 | 478 | </tr> |
universe@390 | 479 | </table> |
universe@390 | 480 | </div><div class="memdoc"> |
universe@390 | 481 | |
universe@390 | 482 | <p>Runs a test suite and writes the test log to the specified stream. </p> |
universe@390 | 483 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 484 | <table class="params"> |
universe@390 | 485 | <tr><td class="paramname">suite</td><td>the test suite to run </td></tr> |
universe@390 | 486 | <tr><td class="paramname">outstream</td><td>the stream the log shall be written to </td></tr> |
universe@390 | 487 | </table> |
universe@390 | 488 | </dd> |
universe@390 | 489 | </dl> |
universe@390 | 490 | |
universe@390 | 491 | </div> |
universe@390 | 492 | </div> |
universe@390 | 493 | <a id="a4a6ac61a6f72722273f8eaa7a343edde"></a> |
universe@390 | 494 | <h2 class="memtitle"><span class="permalink"><a href="#a4a6ac61a6f72722273f8eaa7a343edde">◆ </a></span>ucx_test_suite_free()</h2> |
universe@390 | 495 | |
universe@390 | 496 | <div class="memitem"> |
universe@390 | 497 | <div class="memproto"> |
universe@390 | 498 | <table class="memname"> |
universe@390 | 499 | <tr> |
universe@390 | 500 | <td class="memname">void ucx_test_suite_free </td> |
universe@390 | 501 | <td>(</td> |
universe@390 | 502 | <td class="paramtype"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a> * </td> |
universe@390 | 503 | <td class="paramname"><em>suite</em></td><td>)</td> |
universe@390 | 504 | <td></td> |
universe@390 | 505 | </tr> |
universe@390 | 506 | </table> |
universe@390 | 507 | </div><div class="memdoc"> |
universe@390 | 508 | |
universe@390 | 509 | <p>Destroys a test suite. </p> |
universe@390 | 510 | <dl class="params"><dt>Parameters</dt><dd> |
universe@390 | 511 | <table class="params"> |
universe@390 | 512 | <tr><td class="paramname">suite</td><td>the test suite to destroy </td></tr> |
universe@390 | 513 | </table> |
universe@390 | 514 | </dd> |
universe@390 | 515 | </dl> |
universe@390 | 516 | |
universe@390 | 517 | </div> |
universe@390 | 518 | </div> |
universe@390 | 519 | <a id="a531f0df90363e0befbe900878f65f09e"></a> |
universe@390 | 520 | <h2 class="memtitle"><span class="permalink"><a href="#a531f0df90363e0befbe900878f65f09e">◆ </a></span>ucx_test_suite_new()</h2> |
universe@390 | 521 | |
universe@390 | 522 | <div class="memitem"> |
universe@390 | 523 | <div class="memproto"> |
universe@390 | 524 | <table class="memname"> |
universe@390 | 525 | <tr> |
universe@390 | 526 | <td class="memname"><a class="el" href="structUcxTestSuite.html">UcxTestSuite</a>* ucx_test_suite_new </td> |
universe@390 | 527 | <td>(</td> |
universe@390 | 528 | <td class="paramname"></td><td>)</td> |
universe@390 | 529 | <td></td> |
universe@390 | 530 | </tr> |
universe@390 | 531 | </table> |
universe@390 | 532 | </div><div class="memdoc"> |
universe@390 | 533 | |
universe@390 | 534 | <p>Creates a new test suite. </p> |
universe@390 | 535 | <dl class="section return"><dt>Returns</dt><dd>a new test suite </dd></dl> |
universe@390 | 536 | |
universe@390 | 537 | </div> |
universe@390 | 538 | </div> |
universe@390 | 539 | </div><!-- contents --> |
universe@390 | 540 | <!-- start footer part --> |
universe@390 | 541 | <hr class="footer"/><address class="footer"><small> |
universe@390 | 542 | Generated on Thu Dec 19 2019 19:58:24 for ucx by  <a href="http://www.doxygen.org/index.html"> |
universe@390 | 543 | <img class="footer" src="doxygen.png" alt="doxygen"/> |
universe@390 | 544 | </a> 1.8.13 |
universe@390 | 545 | </small></address> |
universe@390 | 546 | </body> |
universe@390 | 547 | </html> |