亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? group___writing_test_plug_in.html

?? c++開發(fā)的一個(gè)不錯(cuò)的工具
?? HTML
字號(hào):
<html><head><title>CppUnit - The Unit Testing Library</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"> <table width="100%">  <tr>    <td width="40%" align="left" valign="center">      <a href="http://sourceforge.net/projects/cppunit">      CppUnit project page      </a>    </td>    <td>      <a href="FAQ">FAQ</a>    </td>    <td width="40%" align="right" valign="center">      <a href="http://cppunit.sourceforge.net">CppUnit home page</a>    </td>  </tr></table><hr><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><h1>Writing Test Plug-in</h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_cpp_unit_test_plug_in.html">CppUnitTestPlugIn</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="class_test.html">Test</a> plug-in interface.  <a href="struct_cpp_unit_test_plug_in.html#_details">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_test_plug_in_default_impl.html">TestPlugInDefaultImpl</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default implementation of test plug-in interface.  <a href="class_test_plug_in_default_impl.html#_details">More...</a><br><br></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group___writing_test_plug_in.html#ga0">CPPUNIT_PLUGIN_EXPORT</a>&nbsp;&nbsp;&nbsp;extern "C"</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A macro to export a function from a dynamic library.  <a href="#ga0"></a><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Creating a test plug-in is really simple:<ul><li>make your project a dynamic library (with VC++, choose Win32 Dynamic Library in the project wizard), and link against the dynamic library version of CppUnit (cppunit*_dll.lib for VC++).</li><li>in a cpp file, include <a class="el" href="_test_plug_in_8h.html">TestPlugIn.h</a>, and use the macro <a class="el" href="_test_plug_in_8h.html#a2">CPPUNIT_PLUGIN_IMPLEMENT()</a> to declare the test plug-in.</li><li>That's it, you're done! All the tests registered using the <a class="el" href="class_test_factory_registry.html">TestFactoryRegistry</a>, CPPUNIT_TEST_SUITE_NAMED_REGISTRATION, or CPPUNIT_TEST_SUITE_REGISTRATION will be visible to other plug-in and to the DllPlugInRunner.</li></ul><p>Example: <pre><div class="fragment"><span class="preprocessor"> #include &lt;cppunit/include/plugin/TestPlugIn.h&gt;</span> <a class="code" href="_test_plug_in_8h.html#a2">CPPUNIT_PLUGIN_IMPLEMENT</a>();</div></pre><p>The interface <a class="el" href="struct_cpp_unit_test_plug_in.html">CppUnitTestPlugIn</a> is automatically implemented by the previous macro. You can define your one implementation.<p>To provide your custom implementation of the plug-in interface, you must:<ul><li>create a class that implements the <a class="el" href="struct_cpp_unit_test_plug_in.html">CppUnitTestPlugIn</a> interface</li><li>use <a class="el" href="_test_plug_in_8h.html#a1">CPPUNIT_PLUGIN_EXPORTED_FUNCTION_IMPL()</a> with your class to export the plug-in interface</li><li>implements the 'main' function with CPPUNIT_PLUGIN_IMPLEMENT_MAIN().</li></ul><p>Some of the reason you may want to do this:<ul><li>You do not use the <a class="el" href="class_test_factory_registry.html">TestFactoryRegistry</a> to register your test.</li><li>You want to create a custom listener to use with DllPlugInRunner.</li><li>You want to do initialize some globale resources before running the test (setting up COM for example).</li></ul><p>See <a class="el" href="struct_cpp_unit_test_plug_in.html">CppUnitTestPlugIn</a> for further detail on how to do this.<p>Creating your own test plug-in with VC++:<ul><li>Create a new "Win32 Dynamic Library" project, choose the empty template</li><li>For the Debug Configuration, add cppunitd_dll.lib to 'Project Settings/Link/Object/Libariries modules', and for the Release Configuration, add cppunit_dll.lib.</li><li>For All Configuration, in 'C++/Preprocessor/Preprocessors definitions', add the symbol 'CPPUNIT_DLL' at the end of the line (it means that you are linking against cppunit dll).</li><li>Create a 'main' file that contains: <pre><div class="fragment">#include &lt;cppunit/plugin/TestPlugIn.h&gt;CPPUNIT_PLUGIN_IMPLEMENT();</div></pre></li><li>Add your tests</li><li>You're done !</li></ul><p>See examples/simple/simple_plugin.dsp for an example.<p>Notes to VC++ users:<ul><li>you can run a post-build check on the plug-in. Add the following line to your post-build tab: "DllPlugInTesterd_dll.exe $(TargetPath)". DllPlugInTesterd_dll.exe need to be some place were it can be found (path, ...), or you need to indicate the correct path.  is the filename of your plug-in.</li><li>you can debug your DLL, set the executable for debug session to the plug-in runner, and the name of the DLL in the program arguments ( won't work this time).</li></ul><p>How does it works ?<p>When CppUnit is linked as a DLL, the singleton used for the <a class="el" href="class_test_factory_registry.html">TestFactoryRegistry</a> is the same for the plug-in runner (also linked against CppUnit DLL). This means that the tests registered with the macros (at static initialization) are registered in the same registry. As soon as a DLL is loaded by the <a class="el" href="class_plug_in_manager.html">PlugInManager</a>, the DLL static variable are constructed and the test registered to the <a class="el" href="class_test_factory_registry.html">TestFactoryRegistry</a>.<p>After loading the DLL, the <a class="el" href="class_plug_in_manager.html">PlugInManager</a> look-up a specific function exported by the DLL. That function returns a pointer on the plug-in interface, which is later used by the <a class="el" href="class_plug_in_manager.html">PlugInManager</a>.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group___creating_test_suite.html">CreatingTestSuite</a>. </dd></dl><hr><h2>Define Documentation</h2><a class="anchor" name="ga0" doxytag="SelectDllLoader.h::CPPUNIT_PLUGIN_EXPORT" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define CPPUNIT_PLUGIN_EXPORT&nbsp;&nbsp;&nbsp;extern "C"          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>A macro to export a function from a dynamic library. <p>This macro export the C function following it from a dynamic library. Exporting the function makes it accessible to the <a class="el" href="class_dynamic_library_manager.html">DynamicLibraryManager</a>.<p>Example of usage: <pre><div class="fragment"><span class="preprocessor"> #include &lt;cppunit/include/plugin/TestPlugIn.h&gt;</span> <a class="code" href="group___writing_test_plug_in.html#ga0">CPPUNIT_PLUGIN_EXPORT</a> <a class="code" href="struct_cpp_unit_test_plug_in.html">CppUnitTestPlugIn</a> *<a class="code" href="_test_plug_in_8h.html#a0">CPPUNIT_PLUGIN_EXPORTED_NAME</a>(<span class="keywordtype">void</span>) {   ...   <span class="keywordflow">return</span> &amp;myPlugInInterface; }</div></pre>    </td>  </tr></table><hr><table width="100%">  <tr>    <td width="10%" align="left" valign="center">      <a href="http://sourceforge.net">       <img      src="http://sourceforge.net/sflogo.php?group_id=11795"      width="88" height="31" border="0" alt="SourceForge Logo"></a>    </td>    <td width="20%" align="left" valign="center">      hosts this site.    </td>    <td>    </td>    <td align="right" valign="center">      Send comments to:<br>      <a href="mailto:cppunit-devel@lists.sourceforge.net">CppUnit Developers</a>    </td>  </tr></table></body> </html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久精品欧美丰满| 精品欧美黑人一区二区三区| 亚洲欧洲国产日韩| www.欧美日韩国产在线| 亚洲另类色综合网站| 欧美视频在线播放| 日本午夜精品视频在线观看| 精品国精品自拍自在线| 国产精品原创巨作av| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲图片欧美一区| 91精品啪在线观看国产60岁| 久久国产人妖系列| 国产精品区一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| 亚洲欧美日韩国产手机在线 | 成人自拍视频在线| 综合电影一区二区三区| 欧美日韩高清在线| 国产露脸91国语对白| 亚洲欧美一区二区视频| 91精品国产色综合久久| 国产成人在线视频网站| 亚洲一二三四在线| 欧美大白屁股肥臀xxxxxx| av亚洲精华国产精华精| 日本不卡的三区四区五区| 国产精品久久福利| 91精品国产一区二区三区香蕉 | 亚洲综合一二区| 欧美大白屁股肥臀xxxxxx| heyzo一本久久综合| 日韩高清一级片| 国产精品久久久久久久裸模 | 欧洲另类一二三四区| 精品中文字幕一区二区小辣椒| 中文字幕五月欧美| 精品久久五月天| 在线视频亚洲一区| 国产精品99久| 亚洲aⅴ怡春院| 中文字幕一区二区在线观看 | 欧美精品乱码久久久久久| 国产91精品久久久久久久网曝门| 亚洲国产你懂的| 久久久美女艺术照精彩视频福利播放| 欧美视频自拍偷拍| 91丝袜高跟美女视频| 国精产品一区一区三区mba视频| 亚洲精品你懂的| 中文字幕免费观看一区| 精品国免费一区二区三区| 欧美日本视频在线| 色诱视频网站一区| thepron国产精品| 国产黑丝在线一区二区三区| 免费观看成人av| 性做久久久久久久久| 亚洲精品网站在线观看| 中文字幕在线观看一区二区| 久久九九99视频| 欧美va亚洲va香蕉在线| 日韩一区二区电影网| 欧美精选一区二区| 欧美日韩精品一区二区天天拍小说 | 99久久久国产精品| 国产成人在线视频网站| 国产精品91xxx| 国产精品综合在线视频| 国内精品国产成人| 国产一区二区三区av电影| 琪琪一区二区三区| 久久国产精品第一页| 久久av老司机精品网站导航| 免费人成精品欧美精品| 免费在线视频一区| 麻豆91精品91久久久的内涵| 日韩二区在线观看| 日本不卡123| 久久丁香综合五月国产三级网站 | 亚洲电影在线免费观看| 亚洲一二三区视频在线观看| 亚洲一区二区三区中文字幕在线| 亚洲女同ⅹxx女同tv| 一区二区理论电影在线观看| 一区二区在线看| 午夜欧美电影在线观看| 日韩电影免费在线观看网站| 日日摸夜夜添夜夜添国产精品| 日韩av在线免费观看不卡| 麻豆免费精品视频| 粉嫩av一区二区三区| 99re66热这里只有精品3直播| 色丁香久综合在线久综合在线观看| 欧美影院精品一区| 欧美一级xxx| 久久久久久影视| 亚洲色图在线播放| 亚洲成a人片综合在线| 奇米精品一区二区三区在线观看 | 欧美日韩国产三级| 欧美精品一区男女天堂| 国产目拍亚洲精品99久久精品| 国产精品久久久久久久久免费樱桃 | 亚洲国产欧美日韩另类综合| 免费观看在线综合| 成人黄色软件下载| 欧美视频一区二| wwwwww.欧美系列| 亚洲免费视频中文字幕| 日韩**一区毛片| 国产高清久久久| 欧美日韩亚洲高清一区二区| 日韩欧美国产电影| 成人免费在线观看入口| 天天操天天综合网| av一本久道久久综合久久鬼色| 欧美色手机在线观看| 国产欧美精品在线观看| 香蕉久久夜色精品国产使用方法| 国产一区二区三区av电影| 日本道色综合久久| 2欧美一区二区三区在线观看视频| 椎名由奈av一区二区三区| 免费观看日韩av| 色哟哟国产精品| 久久久精品2019中文字幕之3| 亚洲一二三区不卡| 99视频精品在线| 欧美va亚洲va香蕉在线| 亚洲成人免费在线观看| 成人午夜av影视| 日韩欧美在线网站| 一区2区3区在线看| 菠萝蜜视频在线观看一区| 日韩欧美黄色影院| 亚洲国产日韩在线一区模特| 国产成人免费视频网站| 日韩欧美三级在线| 亚洲国产成人高清精品| 99久久精品一区二区| 久久先锋资源网| 男女性色大片免费观看一区二区 | 亚洲欧洲av另类| 国产成人在线看| 26uuu亚洲婷婷狠狠天堂| 午夜不卡在线视频| 91国产视频在线观看| 国产精品九色蝌蚪自拍| 粉嫩一区二区三区性色av| 精品福利二区三区| 日韩福利视频导航| 欧美四级电影网| 亚洲一区二区成人在线观看| 99国产欧美久久久精品| 中文字幕一区二区三| 国v精品久久久网| 国产欧美日本一区视频| 高清在线不卡av| 欧美极品aⅴ影院| 国产.欧美.日韩| 国产三级精品在线| 国产成人在线视频网址| 久久精品一区二区三区不卡牛牛| 麻豆精品新av中文字幕| 欧美一区永久视频免费观看| 五月综合激情婷婷六月色窝| 欧美日韩在线播| 亚洲电影中文字幕在线观看| 欧美日韩www| 日本视频中文字幕一区二区三区| 欧美精品在线观看一区二区| 首页国产丝袜综合| 欧美放荡的少妇| 日韩va欧美va亚洲va久久| 欧美一级一区二区| 精品一区二区三区免费| 久久美女高清视频| 成人黄色小视频| 亚洲激情av在线| 欧美电影在哪看比较好| 蜜桃视频一区二区三区 | 国产精品热久久久久夜色精品三区| 韩国av一区二区三区| 久久久精品国产99久久精品芒果| 国产激情视频一区二区在线观看 | 成熟亚洲日本毛茸茸凸凹| 中文字幕av不卡| 在线观看亚洲成人| 日本一区中文字幕| 国产亚洲欧美激情| 91激情在线视频| 热久久久久久久| 国产精品全国免费观看高清 | 日本高清不卡一区| 日韩激情视频网站| 国产亚洲欧洲997久久综合| 色综合久久中文综合久久牛| 亚洲一区二区三区四区在线观看 | 欧美一区二区成人|