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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? class_protector.html

?? c++開發的一個不錯的工具
?? HTML
字號:
<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>Protector Class Reference</h1>Protects one or more test case run.  <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="_protector_8h-source.html">Protector.h</a>&gt;</code><p><p>Inheritance diagram for Protector:<p><center><img src="class_protector.png" usemap="#Protector_map" border="0" alt=""></center><map name="Protector_map"><area href="class_default_protector.html" alt="DefaultProtector" shape="rect" coords="0,56,104,80"><area href="class_protector_chain.html" alt="ProtectorChain" shape="rect" coords="114,56,218,80"></map><a href="class_protector-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#a0">~Protector</a> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#a1">protect</a> (const <a class="el" href="class_functor.html">Functor</a> &amp;functor, const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;context)=0</td></tr><tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#b0">reportError</a> (const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;context, const <a class="el" href="class_exception.html">Exception</a> &amp;error) const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#b1">reportError</a> (const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;context, const <a class="el" href="class_message.html">Message</a> &amp;message, const <a class="el" href="class_source_line.html">SourceLine</a> &amp;sourceLine=<a class="el" href="class_source_line.html">SourceLine</a>()) const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#b2">reportFailure</a> (const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;context, const <a class="el" href="class_exception.html">Exception</a> &amp;failure) const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_message.html">Message</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_protector.html#b3">actualMessage</a> (const <a class="el" href="class_message.html">Message</a> &amp;message, const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;context) const</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Protects one or more test case run. <p>Protector are used to globably 'decorate' a test case. The most common usage of Protector is to catch exception that do not subclass std::exception, such as MFC CException class or Rogue Wave RWXMsg class, and capture the message associated to the exception. In fact, CppUnit capture message from <a class="el" href="class_exception.html">Exception</a> and std::exception using a Protector.<p>Protector are chained. When you add a Protector using TestResult::pushProtector(), your protector is in fact passed as a <a class="el" href="class_functor.html">Functor</a> to the first protector of the chain.<p><a class="el" href="class_test_case.html">TestCase</a> protects call to setUp(), runTest() and tearDown() by calling TestResult::protect().<p>Because the protector chain is handled by <a class="el" href="class_test_result.html">TestResult</a>, a protector can be active for a single test, or a complete test run.<p>Here are some possible usages:<ul><li>run all test case in a separate thread and assumes the test failed if it did not finish in a given time (infinite loop work around)</li><li>performance tracing : time only the runTest() time. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_test_result.html">TestResult</a>, <a class="el" href="class_test_case.html">TestCase</a>, <a class="el" href="class_test_listener.html">TestListener</a>. </dd></dl></li></ul><p><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="a0" doxytag="Protector::~Protector" ></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"> Protector::~<a class="el" href="class_protector.html">Protector</a>           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="b3" doxytag="Protector::actualMessage" ></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"> <a class="el" href="class_message.html">Message</a> Protector::actualMessage           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_message.html">Message</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>message</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>context</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a1" doxytag="Protector::protect" ></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"> virtual bool Protector::protect           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_functor.html">Functor</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>functor</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>context</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Implemented in <a class="el" href="class_default_protector.html#a0">DefaultProtector</a>, and <a class="el" href="class_protector_chain.html#a4">ProtectorChain</a>.    </td>  </tr></table><a class="anchor" name="b1" doxytag="Protector::reportError" ></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"> void Protector::reportError           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>context</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_message.html">Message</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>message</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_source_line.html">SourceLine</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>sourceLine</em> = <code><a class="el" href="class_source_line.html">SourceLine</a>()</code></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="b0" doxytag="Protector::reportError" ></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"> void Protector::reportError           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>context</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_exception.html">Exception</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>error</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="b2" doxytag="Protector::reportFailure" ></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"> void Protector::reportFailure           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_protector_context.html">ProtectorContext</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>context</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_exception.html">Exception</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>failure</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_protector_8h-source.html">Protector.h</a><li><a class="el" href="_protector_8cpp.html">Protector.cpp</a></ul><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>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久er热在这里只有精品15| 精品视频1区2区| 久久se精品一区二区| 国产嫩草影院久久久久| 日韩欧美亚洲一区二区| 欧美日韩一区高清| 色综合天天做天天爱| 国产精品白丝jk黑袜喷水| 日日夜夜免费精品| 亚洲国产精品视频| 亚洲制服丝袜在线| 亚洲精品高清在线| 亚洲欧美另类小说| 成人欧美一区二区三区黑人麻豆| 久久综合久久久久88| 欧美成人精品高清在线播放| 在线成人高清不卡| 欧美片网站yy| 欧美日本国产视频| 欧美日韩中文国产| 欧美一区二区久久久| 欧美一区二区三区日韩视频| 欧美久久久久久久久| 7878成人国产在线观看| 色噜噜狠狠色综合中国| 色综合久久久久综合99| 色综合久久天天| 欧美做爰猛烈大尺度电影无法无天| 色综合久久综合网欧美综合网| 成人黄色av电影| 91在线码无精品| 91麻豆精品在线观看| 欧美在线小视频| 3d动漫精品啪啪1区2区免费| 欧美军同video69gay| 日韩一级视频免费观看在线| 欧美va亚洲va在线观看蝴蝶网| 欧美成人精精品一区二区频| 久久综合丝袜日本网| 久久免费美女视频| 中文成人av在线| 亚洲精品视频观看| 日韩精品91亚洲二区在线观看| 五月天一区二区| 久久99久久99| 成人性生交大片免费看视频在线| eeuss鲁片一区二区三区在线观看| 国产成人精品三级| 91蜜桃在线观看| 欧美日韩国产一二三| 精品国产1区2区3区| 日本一区二区动态图| 亚洲激情图片qvod| 日韩二区三区四区| 国产乱国产乱300精品| 91麻豆高清视频| 欧美日韩国产一区| 久久久午夜精品理论片中文字幕| 国产精品乱码久久久久久| 亚洲午夜电影在线观看| 免费成人美女在线观看.| 成人在线综合网站| 欧美日韩在线直播| 2021久久国产精品不只是精品| 中文字幕日韩一区二区| 一区二区三区在线不卡| 日韩av成人高清| 国产91对白在线观看九色| 色视频成人在线观看免| 欧美精品一二三| 亚洲国产精品v| 亚洲成人综合网站| 国产一区二区看久久| 91成人看片片| 久久午夜羞羞影院免费观看| 一区二区三区欧美亚洲| 韩国精品免费视频| 在线免费亚洲电影| 国产亚洲一区字幕| 五月综合激情婷婷六月色窝| 成人午夜精品一区二区三区| 欧美蜜桃一区二区三区| 国产精品家庭影院| 久久99国产精品麻豆| 91在线视频观看| 国产亚洲成av人在线观看导航| 视频一区二区三区中文字幕| 成人精品一区二区三区中文字幕| 欧美一区二区女人| 日韩激情在线观看| 欧美色爱综合网| 亚洲综合999| 色综合久久中文字幕综合网| 中文字幕日韩欧美一区二区三区| 韩国理伦片一区二区三区在线播放 | 久久精品一二三| 美女视频黄a大片欧美| 欧美午夜精品电影| 亚洲午夜久久久久| 欧美日韩一区二区在线视频| 亚洲国产日日夜夜| 欧美三级午夜理伦三级中视频| 亚洲另类一区二区| 欧美午夜片在线看| 日韩不卡在线观看日韩不卡视频| 欧美色图免费看| 日韩av成人高清| 欧美成人国产一区二区| 精品午夜一区二区三区在线观看| 日韩欧美的一区二区| 紧缚奴在线一区二区三区| 久久久另类综合| 风间由美一区二区三区在线观看| 久久久精品免费免费| 粉嫩嫩av羞羞动漫久久久| 国产精品电影院| 色综合久久久久综合体桃花网| 亚洲欧美国产高清| 欧美在线你懂得| 日本成人在线看| 2020国产精品自拍| 成人免费的视频| 亚洲免费伊人电影| 欧美色综合网站| 青青青爽久久午夜综合久久午夜 | 亚洲成人激情av| 日韩一区二区电影网| 国产精品自拍av| 最新不卡av在线| 欧美日韩国产色站一区二区三区| 日韩精品一二三四| 久久免费偷拍视频| 99国产欧美另类久久久精品| 亚洲综合久久久| 日韩女优视频免费观看| 国产99久久久国产精品潘金网站| 亚洲视频一二三| 在线电影院国产精品| 国内精品伊人久久久久影院对白| 国产精品情趣视频| 欧美日韩一卡二卡三卡| 久久99国产精品久久| 国产精品国产三级国产有无不卡| 91国偷自产一区二区开放时间| 丝袜美腿亚洲综合| 国产丝袜美腿一区二区三区| 99在线视频精品| 日韩精品电影在线| 国产欧美日韩另类视频免费观看| 色偷偷一区二区三区| 久草中文综合在线| 亚洲人成伊人成综合网小说| 久久99热国产| 国产蜜臀av在线一区二区三区| 在线日韩国产精品| 国产精品一二三区| 一区二区三区**美女毛片| 26uuu亚洲婷婷狠狠天堂| 色综合天天综合网天天狠天天 | 国产精品一二三四| 亚洲成人在线免费| 国产日本亚洲高清| 911国产精品| aa级大片欧美| 韩国一区二区三区| 亚洲成人av电影在线| 国产精品午夜电影| 日韩丝袜情趣美女图片| 色丁香久综合在线久综合在线观看| 久久成人免费网站| 性做久久久久久免费观看欧美| 国产午夜精品理论片a级大结局 | 欧美大尺度电影在线| 色婷婷香蕉在线一区二区| 国产成人在线色| 美腿丝袜在线亚洲一区| 亚洲一级在线观看| 中文字幕一区二区三区四区| 精品成人a区在线观看| 在线电影国产精品| 在线观看亚洲精品视频| 豆国产96在线|亚洲| 麻豆精品在线视频| 日韩电影免费一区| 亚洲影视在线观看| 亚洲欧美自拍偷拍色图| 欧美激情综合在线| 久久久久久夜精品精品免费| 欧美一级黄色录像| 在线成人av影院| 欧美巨大另类极品videosbest| 色综合久久久久综合体桃花网| 成人视屏免费看| 国产99久久久精品| 国产99一区视频免费 | 日韩欧美一级二级三级| 欧美日韩国产首页| 欧美乱熟臀69xxxxxx| 欧美日韩和欧美的一区二区| 欧美日韩一级片在线观看|