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

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

?? struct_asserter.html

?? c++開發的一個不錯的工具
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<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>Asserter Struct Reference<br><small>[<a class="el" href="group___creating_new_assertions.html">Creating custom assertions</a>]</small></h1>A set of functions to help writing assertion macros.  <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="_asserter_8h-source.html">Asserter.h</a>&gt;</code><p><a href="struct_asserter-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e0">fail</a> (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>())</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e1">fail</a> (std::string message, const <a class="el" href="class_source_line.html">SourceLine</a> &amp;sourceLine=<a class="el" href="class_source_line.html">SourceLine</a>())</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e2">failIf</a> (bool shouldFail, 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>())</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e3">failIf</a> (bool shouldFail, std::string message, const <a class="el" href="class_source_line.html">SourceLine</a> &amp;sourceLine=<a class="el" href="class_source_line.html">SourceLine</a>())</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>std::string CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e4">makeExpected</a> (const std::string &amp;expectedValue)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a expected value string for a message. Typically used to create 'not equal' message, or to check that a message contains the expected content when writing unit tests for your custom assertions.  <a href="#e4"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>std::string CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e5">makeActual</a> (const std::string &amp;actualValue)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns an actual value string for a message. Typically used to create 'not equal' message, or to check that a message contains the expected content when writing unit tests for your custom assertions.  <a href="#e5"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_message.html">Message</a> CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e6">makeNotEqualMessage</a> (const std::string &amp;expectedValue, const std::string &amp;actualValue, const <a class="el" href="class_additional_message.html">AdditionalMessage</a> &amp;additionalMessage=<a class="el" href="class_additional_message.html">AdditionalMessage</a>(), const std::string &amp;shortDescription="equality assertion failed")</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e7">failNotEqual</a> (std::string expected, std::string actual, const <a class="el" href="class_source_line.html">SourceLine</a> &amp;sourceLine, const <a class="el" href="class_additional_message.html">AdditionalMessage</a> &amp;additionalMessage=<a class="el" href="class_additional_message.html">AdditionalMessage</a>(), std::string shortDescription="equality assertion failed")</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws an <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e7"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void CPPUNIT_API&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct_asserter.html#e8">failNotEqualIf</a> (bool shouldFail, std::string expected, std::string actual, const <a class="el" href="class_source_line.html">SourceLine</a> &amp;sourceLine, const <a class="el" href="class_additional_message.html">AdditionalMessage</a> &amp;additionalMessage=<a class="el" href="class_additional_message.html">AdditionalMessage</a>(), std::string shortDescription="equality assertion failed")</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws an <a class="el" href="class_exception.html">Exception</a> with the specified message and location.  <a href="#e8"></a><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A set of functions to help writing assertion macros. <p>Here is an example of assertion, a simplified version of the actual assertion implemented in examples/cppunittest/XmlUniformiser.h: <pre><div class="fragment"><span class="preprocessor"> #include &lt;<a class="code" href="_source_line_8h.html">cppunit/SourceLine.h</a>&gt;</span><span class="preprocessor"> #include &lt;<a class="code" href="_test_assert_8h.html">cppunit/TestAssert.h</a>&gt;</span>  <span class="keywordtype">void</span>  checkXmlEqual( std::string expectedXml,                std::string actualXml,                CppUnit::SourceLine sourceLine ) {   std::string expected = XmlUniformiser( expectedXml ).stripped();   std::string actual = XmlUniformiser( actualXml ).stripped();    <span class="keywordflow">if</span> ( expected == actual )     <span class="keywordflow">return</span>;    ::CppUnit::Asserter::failNotEqual( expected,                                      actual,                                      sourceLine ); } <span class="preprocessor"> #define CPPUNITTEST_ASSERT_XML_EQUAL( expected, actual ) \</span><span class="preprocessor">     checkXmlEqual( expected, actual,                     \</span><span class="preprocessor">                    CPPUNIT_SOURCELINE() )</span></div></pre><p><hr><h2>Member Function Documentation</h2><a class="anchor" name="e1" doxytag="Asserter::fail" ></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"> CPPUNIT_NS_BEGIN void Asserter::fail           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">std::string&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"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location. <p><dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>Use <a class="el" href="struct_asserter.html#e0">fail( Message, SourceLine )</a> instead. </dd></dl>    </td>  </tr></table><a class="anchor" name="e0" doxytag="Asserter::fail" ></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 Asserter::fail           </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_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"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location. <p>    </td>  </tr></table><a class="anchor" name="e3" doxytag="Asserter::failIf" ></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 Asserter::failIf           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname" nowrap> <em>shouldFail</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>std::string&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"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location. <p><dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>Use <a class="el" href="struct_asserter.html#e2">failIf( bool, Message, SourceLine )</a> instead.</dd></dl><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>shouldFail</em>&nbsp;</td><td>if <code>true</code> then the exception is thrown. Otherwise nothing happen. </td></tr>    <tr><td></td><td valign=top><em>message</em>&nbsp;</td><td><a class="el" href="class_message.html">Message</a> explaining the assertion failiure. </td></tr>    <tr><td></td><td valign=top><em>sourceLine</em>&nbsp;</td><td>Location of the assertion. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="e2" doxytag="Asserter::failIf" ></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 Asserter::failIf           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname" nowrap> <em>shouldFail</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"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Throws a <a class="el" href="class_exception.html">Exception</a> with the specified message and location. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>shouldFail</em>&nbsp;</td><td>if <code>true</code> then the exception is thrown. Otherwise nothing happen. </td></tr>    <tr><td></td><td valign=top><em>message</em>&nbsp;</td><td><a class="el" href="class_message.html">Message</a> explaining the assertion failiure. </td></tr>    <tr><td></td><td valign=top><em>sourceLine</em>&nbsp;</td><td>Location of the assertion. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="e7" doxytag="Asserter::failNotEqual" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲v中文字幕| 91精品福利视频| 91色九色蝌蚪| 精品福利在线导航| 亚洲成a人片综合在线| 成人激情开心网| 久久久亚洲午夜电影| 性感美女久久精品| 成人97人人超碰人人99| 久久亚洲综合av| 麻豆传媒一区二区三区| 欧美中文字幕久久| 一区二区三区在线播放| 91色|porny| 国产精品成人一区二区三区夜夜夜 | 久久亚洲欧美国产精品乐播| 亚洲资源中文字幕| 成人av在线影院| 国产日韩欧美精品一区| 精品一区二区三区影院在线午夜| 91精品国产麻豆| 午夜精品爽啪视频| 欧美日韩免费电影| 日韩中文字幕不卡| 在线不卡中文字幕播放| 五月婷婷色综合| 欧亚洲嫩模精品一区三区| 亚洲最快最全在线视频| 色综合天天综合在线视频| 国产精品久久久久久久久免费桃花| 国产91丝袜在线播放九色| 久久久午夜精品理论片中文字幕| 狠狠网亚洲精品| 久久亚洲一区二区三区明星换脸 | 日韩欧美综合在线| 水蜜桃久久夜色精品一区的特点| 欧美疯狂性受xxxxx喷水图片| 亚洲va在线va天堂| 日韩欧美第一区| 精油按摩中文字幕久久| 久久久久久夜精品精品免费| 成人性生交大片免费看视频在线| 中文字幕亚洲一区二区av在线 | 欧美精品一区二区精品网| 麻豆成人免费电影| 久久久久97国产精华液好用吗| 国产一区二区在线看| 国产婷婷色一区二区三区在线| av一区二区三区四区| 亚洲最大色网站| 精品久久国产字幕高潮| 大桥未久av一区二区三区中文| 亚洲免费观看高清| 91精品麻豆日日躁夜夜躁| 国产精品99久| 亚洲免费观看高清完整版在线观看 | 亚洲精品一卡二卡| 欧美一区二区高清| 国产成人aaa| 亚洲韩国一区二区三区| 欧美电影免费观看高清完整版在线观看 | 亚洲国产精品精华液ab| 日本高清不卡视频| 美日韩黄色大片| 国产精品美女久久久久高潮| 欧美午夜电影在线播放| 国产一区二区三区视频在线播放| 亚洲免费在线看| 久久综合久久综合亚洲| 一本色道久久综合狠狠躁的推荐 | 色综合天天综合在线视频| 奇米在线7777在线精品| 国产精品久久久久久亚洲伦| 欧美军同video69gay| 成人免费毛片高清视频| 青青草原综合久久大伊人精品 | 亚洲人精品一区| 精品国产一区二区在线观看| 在线视频你懂得一区二区三区| 极品少妇xxxx精品少妇| 亚洲成人综合在线| 国产精品网站导航| 日韩一级成人av| 欧美伊人久久久久久久久影院| 福利电影一区二区三区| 精品一区二区国语对白| 丝袜亚洲精品中文字幕一区| 亚洲欧美色图小说| 国产精品久久久久影院亚瑟| 欧美电影免费观看完整版| 欧美日韩视频一区二区| 色欧美日韩亚洲| 大桥未久av一区二区三区中文| 精品一区二区三区免费播放| 天天爽夜夜爽夜夜爽精品视频| 亚洲欧洲精品一区二区精品久久久| 亚洲精品在线三区| 日韩精品一区二区三区视频 | 欧美曰成人黄网| bt7086福利一区国产| 国产传媒欧美日韩成人| 九一九一国产精品| 久久精品二区亚洲w码| 青青草91视频| 美美哒免费高清在线观看视频一区二区| 亚洲综合在线第一页| 亚洲综合在线视频| 亚洲精品久久嫩草网站秘色| 亚洲三级久久久| 综合自拍亚洲综合图不卡区| 日韩毛片一二三区| 日韩理论在线观看| 亚洲免费电影在线| 亚洲愉拍自拍另类高清精品| 亚洲成人一区二区| 日韩国产欧美视频| 美女被吸乳得到大胸91| 黄一区二区三区| 福利电影一区二区三区| 99视频有精品| 欧美丝袜丝交足nylons| 91精品欧美综合在线观看最新| 欧美一级片在线看| 精品国产一区二区在线观看| 久久久99免费| 亚洲裸体xxx| 午夜伊人狠狠久久| 久久精品国产色蜜蜜麻豆| 国产精品一区一区三区| 成人免费高清视频| 欧美系列一区二区| 欧美一级免费观看| 国产欧美日韩久久| 日韩精品一级二级 | 岛国精品一区二区| 色综合婷婷久久| 欧美一区二区三区免费在线看| 日韩欧美你懂的| 中文幕一区二区三区久久蜜桃| 亚洲精品成人悠悠色影视| 青青草原综合久久大伊人精品| 国产精品白丝jk白祙喷水网站 | 亚洲一区日韩精品中文字幕| 午夜精品久久久久久久久| 狠狠色狠狠色综合日日91app| 成人性视频免费网站| 欧美日韩黄色影视| 亚洲精品在线电影| 亚洲乱码国产乱码精品精的特点 | 欧美mv日韩mv国产网站| 中文字幕在线不卡| 午夜精品一区二区三区三上悠亚| 国产麻豆日韩欧美久久| 91福利视频网站| 精品国产1区二区| 亚洲国产中文字幕在线视频综合| 久久99热99| 欧美在线一二三| 欧美国产亚洲另类动漫| 免费在线观看精品| 色综合中文字幕国产| 欧美精品一卡二卡| 欧美国产精品v| 日韩1区2区3区| 在线日韩一区二区| 国产精品女主播在线观看| 蜜桃传媒麻豆第一区在线观看| 91在线观看美女| 国产亚洲午夜高清国产拍精品| 亚洲午夜在线电影| 91在线视频在线| 久久精品视频一区二区三区| 日韩国产欧美在线视频| 色噜噜夜夜夜综合网| 国产精品三级电影| 激情综合色综合久久| 欧美日韩精品欧美日韩精品一综合| 国产精品网站导航| 国产精品一区在线观看乱码| 日韩亚洲电影在线| 日日夜夜精品视频免费| 欧美视频三区在线播放| 亚洲精品免费看| 91麻豆免费观看| 亚洲欧洲一区二区在线播放| 国产很黄免费观看久久| 久久在线免费观看| 狠狠色丁香久久婷婷综合丁香| 欧美一卡二卡三卡| 天天色图综合网| 欧美一区二区三区小说| 日韩精品乱码免费| 91精品国产综合久久久久| 日日摸夜夜添夜夜添国产精品| 欧美日韩久久久一区| 天天操天天色综合| 欧美日韩精品二区第二页| 亚洲18色成人| 91精品国产综合久久精品| 麻豆免费精品视频|