亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久精品人人做人人综合 | 欧美伊人精品成人久久综合97 | 91网站视频在线观看| 亚洲日穴在线视频| 欧美日韩电影在线播放| 国产乱一区二区| 亚洲欧美另类图片小说| 777精品伊人久久久久大香线蕉| 精品亚洲国产成人av制服丝袜 | 91精品国产综合久久蜜臀| 欧美自拍丝袜亚洲| 国产精品1区二区.| 粉嫩蜜臀av国产精品网站| 天堂一区二区在线免费观看| 久久综合色综合88| 欧美乱妇20p| 91在线丨porny丨国产| 免费的国产精品| 亚洲资源中文字幕| 久久九九全国免费| 国产精品午夜久久| 欧美精品粉嫩高潮一区二区| 制服丝袜日韩国产| 精品国产免费一区二区三区四区 | 成人免费av在线| 奇米综合一区二区三区精品视频| 日韩不卡免费视频| 亚洲成在人线在线播放| 亚洲欧美日韩综合aⅴ视频| 一区二区三区在线影院| 国产精品国产三级国产| 久久精品人人爽人人爽| 亚洲欧美日韩电影| 爽好多水快深点欧美视频| 激情图片小说一区| 国内精品久久久久影院薰衣草 | 成人久久久精品乱码一区二区三区| 91无套直看片红桃| 精品国产百合女同互慰| 亚洲色大成网站www久久九九| 日韩精品亚洲专区| 99久久99久久久精品齐齐 | 国产精华液一区二区三区| 国产一区二区三区不卡在线观看| 久久精品国产999大香线蕉| 日韩精品一二三区| 91在线无精精品入口| 久久蜜桃av一区二区天堂| 久久久久久免费网| 日本亚洲三级在线| 日本韩国一区二区三区视频| 91麻豆成人久久精品二区三区| 欧美一区二区大片| 国产亚洲污的网站| 日韩福利电影在线观看| 91欧美一区二区| 国产网红主播福利一区二区| 午夜精品福利视频网站| 免费精品99久久国产综合精品| 99久久久国产精品| 久久免费看少妇高潮| 久热成人在线视频| 欧美精品tushy高清| 亚洲综合无码一区二区| 99精品国产99久久久久久白柏| 久久综合久久鬼色中文字| 日韩一区欧美二区| 欧美美女一区二区在线观看| 亚洲精品成人精品456| 婷婷中文字幕综合| 欧美日韩一区在线观看| 久久久久久影视| 久草中文综合在线| 一区二区三区四区在线免费观看| 欧美老肥妇做.爰bbww| 国产精品私人影院| 国产v综合v亚洲欧| 久久久噜噜噜久久人人看| 男女性色大片免费观看一区二区| 在线日韩av片| 一区二区三区中文免费| 91久久国产最好的精华液| 中文字幕一区二区不卡| 中文字幕乱码亚洲精品一区| 欧美一区二区三区思思人| 亚洲区小说区图片区qvod| 99精品一区二区三区| 国产精品久久久久aaaa樱花| 成人黄色软件下载| 欧美精品一二三| 免费久久99精品国产| 久久先锋影音av鲁色资源| 国产激情偷乱视频一区二区三区| 久久精品这里都是精品| 丁香婷婷深情五月亚洲| 亚洲视频精选在线| 欧美另类videos死尸| 久久66热re国产| 国产精品麻豆网站| 欧美亚洲国产怡红院影院| 婷婷一区二区三区| 国产日韩精品一区二区三区| 裸体一区二区三区| 欧美在线视频全部完| 日日摸夜夜添夜夜添国产精品 | 亚洲一卡二卡三卡四卡无卡久久 | 久久亚洲欧美国产精品乐播 | 欧美日韩亚洲综合一区| 天堂精品中文字幕在线| 久久久精品人体av艺术| 91社区在线播放| 久久精品99国产精品| 国产精品夫妻自拍| 欧美一级理论片| 中文字幕制服丝袜成人av| 色哟哟欧美精品| 国产视频在线观看一区二区三区 | 国产美女在线观看一区| 日韩午夜在线播放| 国产精品一区二区果冻传媒| 亚洲福利一区二区三区| 欧美一区二区精品| 国产精品91一区二区| 丝袜a∨在线一区二区三区不卡| 国产欧美视频在线观看| 91精品在线一区二区| 97精品久久久久中文字幕| 激情久久五月天| 亚洲第一狼人社区| 亚洲欧洲成人自拍| 欧美成人aa大片| 久久99精品久久久久久国产越南 | 精品国产乱码久久久久久浪潮| av亚洲精华国产精华精华| 国产精品电影院| 欧美xxxx在线观看| 91超碰这里只有精品国产| 色悠久久久久综合欧美99| 国产成人aaa| 国产乱码精品一品二品| 久久97超碰国产精品超碰| 午夜精彩视频在线观看不卡| 亚洲色图视频网| 国产精品久久久一本精品 | 国产精品无圣光一区二区| 精品国产乱码91久久久久久网站| 欧美日韩在线三区| 欧美最新大片在线看| 欧美在线观看一二区| 色综合激情久久| 色av成人天堂桃色av| 99久久99久久综合| 色综合视频在线观看| 91丨porny丨国产| 91视频一区二区三区| 91在线视频在线| 色av综合在线| 欧美日韩国产精选| 欧美日韩大陆一区二区| 欧美日韩国产大片| 欧美一区永久视频免费观看| 欧美一区二区三区四区视频| 日韩欧美一区二区免费| 91网上在线视频| 99久久精品久久久久久清纯| 不卡的av在线播放| 91丨九色丨蝌蚪丨老版| 欧美在线免费视屏| 欧美欧美午夜aⅴ在线观看| 91精品国产入口在线| 日韩免费一区二区三区在线播放| 欧美大片在线观看一区二区| 久久精品视频一区| 成人欧美一区二区三区黑人麻豆 | 一区二区三区不卡在线观看| 亚洲国产三级在线| 日本不卡中文字幕| 国产乱淫av一区二区三区| 99久久久久久99| 欧美日韩aaa| 国产日韩视频一区二区三区| 国产精品久久久久影院亚瑟| 亚洲午夜视频在线| 久久99日本精品| 成人av电影在线| 欧美男人的天堂一二区| 精品国产乱码久久久久久影片| 国产精品女主播在线观看| 亚洲一区二区av在线| 精品一区二区三区免费观看| 波多野结衣在线一区| 欧美系列在线观看| 久久亚洲免费视频| 亚洲成人免费av| 国产成a人亚洲精品| 精品视频在线免费看| 日本一区二区三区久久久久久久久不| 亚洲人成网站影音先锋播放| 裸体歌舞表演一区二区| 91香蕉视频在线|