PageRenderTime 66ms CodeModel.GetById 10ms app.highlight 46ms RepoModel.GetById 1ms app.codeStats 1ms

/documentation/html/class_o_j_test_case.html

http://github.com/hammerdr/OJTest
HTML | 1219 lines | 1144 code | 74 blank | 1 comment | 0 complexity | f0093b30ce1c58e7b03a22de81f26291 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2<html xmlns="http://www.w3.org/1999/xhtml">
   3<head>
   4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
   5<title>Objective-J Test API: OJTestCase Class Reference</title>
   6<link href="tabs.css" rel="stylesheet" type="text/css"/>
   7<link href="doxygen.css" rel="stylesheet" type="text/css"/>
   8</head>
   9<body>
  10<!-- Generated by Doxygen 1.6.1 -->
  11<div class="navigation" id="top">
  12  <div class="tabs">
  13    <ul>
  14      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
  15      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  16      <li><a href="files.html"><span>Files</span></a></li>
  17    </ul>
  18  </div>
  19  <div class="tabs">
  20    <ul>
  21      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
  22      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
  23      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  24    </ul>
  25  </div>
  26</div>
  27<div class="contents">
  28<h1>OJTestCase Class Reference</h1><!-- doxytag: class="OJTestCase" -->
  29<p>A single test case.  
  30<a href="#_details">More...</a></p>
  31
  32<p><a href="class_o_j_test_case-members.html">List of all members.</a></p>
  33<table border="0" cellpadding="0" cellspacing="0">
  34<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
  35<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#aefd06e9d3a3adc05821b629e0279b685">assert:equals:</a><code> [implementation]</code></td></tr>
  36<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#aabc8b5364cc6f778531c197a3adb71f7">assert:equals:message:</a><code> [implementation]</code></td></tr>
  37<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#aa7d7f37785394a20f4fcfe22ee62c816">assert:matches:</a><code> [implementation]</code></td></tr>
  38<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a31be397f56272e754dd4c50b47e128ed">assert:notEqual:</a><code> [implementation]</code></td></tr>
  39<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a6436db6472aca912bbe88bd4456c7a40">assert:notEqual:message:</a><code> [implementation]</code></td></tr>
  40<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ac9d5a16cfa1878a2735639befebbd19b">assert:notSame:</a><code> [implementation]</code></td></tr>
  41<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a1a071fd87947a81a133063917838a0cb">assert:notSame:message:</a><code> [implementation]</code></td></tr>
  42<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a48e113a164234241c424d88ab6f01261">assert:same:</a><code> [implementation]</code></td></tr>
  43<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ab240bc46feb91eacd74ba81b2e8894fb">assert:same:message:</a><code> [implementation]</code></td></tr>
  44<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a7c78b96a4ecdd4244ca0c42040e620b6">assertFalse:</a><code> [implementation]</code></td></tr>
  45<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a92337c1f284ba6ae44bc01efcef1db9b">assertFalse:message:</a><code> [implementation]</code></td></tr>
  46<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a54c5ba1cdee3fa51e38751e78d80d65b">assertNoThrow:</a><code> [implementation]</code></td></tr>
  47<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a5bd16b559e9c38a86f18669bd9124e8c">assertNotNull:</a><code> [implementation]</code></td></tr>
  48<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a3d73ac18663ff8def3309c669bb60b3e">assertNotNull:message:</a><code> [implementation]</code></td></tr>
  49<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a23fa3ae2aee33fc6adb132eb2236ffa5">assertNull:</a><code> [implementation]</code></td></tr>
  50<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a45e8d9c465a4536a43e84a28d7a49655">assertNull:message:</a><code> [implementation]</code></td></tr>
  51<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#abf649324fd7339da1beb287b1ece3d51">assertThrows:</a><code> [implementation]</code></td></tr>
  52<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ad748340fd6e4f861350ed59aeab729e7">assertTrue:</a><code> [implementation]</code></td></tr>
  53<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a7bf36fcd6466707ab23dc56d91140095">assertTrue:message:</a><code> [implementation]</code></td></tr>
  54<tr><td class="memItemLeft" align="right" valign="top">(int)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a1bda9cc9292ebf245c8be48e97e42204">countTestCases</a><code> [implementation]</code></td></tr>
  55<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="class_o_j_test_result.html">OJTestResult</a>)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a4843e5aa2382e06f2f6d1904094b9140">createResult</a><code> [implementation]</code></td></tr>
  56<tr><td class="memItemLeft" align="right" valign="top">(CPString)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#af98094b166e8e61eb41c985a240c8d4e">description</a><code> [implementation]</code></td></tr>
  57<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a315e2eff2305df14944a23b74e3ce563">fail</a><code> [implementation]</code></td></tr>
  58<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#aa295be03a1cbc7c61d819c7900281f81">fail:</a><code> [implementation]</code></td></tr>
  59<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ad11c96f838b8715ecf6dd9c3d471e3a0">failEqual:actual:message:</a><code> [implementation]</code></td></tr>
  60<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a92f05ffde14d9858344d89ad85fdc0b0">failNotEqual:actual:message:</a><code> [implementation]</code></td></tr>
  61<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#acafe7b997cc21d69b8d271ca60dd07e6">failNotSame:actual:message:</a><code> [implementation]</code></td></tr>
  62<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ac28ecd8b531f02bb321de542a3ccd0ce">failSame:actual:message:</a><code> [implementation]</code></td></tr>
  63<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="class_o_j_test_result.html">OJTestResult</a>)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a14a9c871aaa30e737219ca110a16408d">run</a><code> [implementation]</code></td></tr>
  64<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a04f5e56a88e9c3cdfedb7b46e25954f1">run:</a><code> [implementation]</code></td></tr>
  65<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a7b8ba2493662e7a39f9bcbf4f388c3a6">runBare</a><code> [implementation]</code></td></tr>
  66<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a8c4c66d690a266017924961655555cd8">runTest</a><code> [implementation]</code></td></tr>
  67<tr><td class="memItemLeft" align="right" valign="top">(SEL)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#ad16d531e6bffc781f6d7fc8c7938e2f5">selector</a><code> [implementation]</code></td></tr>
  68<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#afe8824e1198c8fa98ea334025c7f0bd9">setSelector:</a><code> [implementation]</code></td></tr>
  69<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a472e031ab55393c64e70d611f3a91cca">setUp</a><code> [implementation]</code></td></tr>
  70<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_o_j_test_case.html#a41efa5c0dc6ff78894df0e7866fcd3b7">tearDown</a><code> [implementation]</code></td></tr>
  71</table>
  72<hr/><a name="_details"></a><h2>Detailed Description</h2>
  73<p>A single test case. </p>
  74<p>A single test case. This is an abstract superclass that each of your test cases (which are usually in their own separate files and of which each tests one and only one class) should subclass. Each of these test cases have the ability to run seperately.</p>
  75<p>Example:</p>
  76<p>OJMoqTest : <a class="el" href="class_o_j_test_case.html" title="A single test case.">OJTestCase</a></p>
  77<p>... // tests and other files</p>
  78<p>In order to increase readability, there is a conventional way of writing tests. Each test should be prepended by the word "test" and non-tests should not be prepended by the word "test".</p>
  79<p>Example:</p>
  80<ul>
  81<li>(void)testThatOJMoqDoesInitialize {} // a test</li>
  82<li>(<a class="el" href="class_o_j_moq.html">OJMoq</a>)createStandardOJMoqInstance {return nil;} // a non-test</li>
  83</ul>
  84<p>Before each test, the message "setUp" will be passed to your test. By default, this does nothing but you can override the "setUp" method to do something for your test.</p>
  85<p>After each test, the message "tearDown" will be passed to your test. By default, this does nothing but you can override the "tearDown" method to do something for your test. </p>
  86
  87<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00037">37</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
  88<hr/><h2>Member Function Documentation</h2>
  89<a class="anchor" id="aefd06e9d3a3adc05821b629e0279b685"></a><!-- doxytag: member="OJTestCase::assert:equals:" ref="aefd06e9d3a3adc05821b629e0279b685" args="(id expected,[equals] id actual)" -->
  90<div class="memitem">
  91<div class="memproto">
  92      <table class="memname">
  93        <tr>
  94          <td class="memname">- (void) assert: </td>
  95          <td></td>
  96          <td class="paramtype">(id)&nbsp;</td>
  97          <td class="paramname"> <em>expected</em></td>
  98        </tr>
  99        <tr>
 100          <td class="paramkey">equals:</td>
 101          <td></td>
 102          <td class="paramtype">(id)&nbsp;</td>
 103          <td class="paramname"> <em>actual</em></td><td>&nbsp;</td>
 104        </tr>
 105        <tr>
 106          <td></td>
 107          <td></td>
 108          <td></td><td></td><td><code> [implementation]</code></td>
 109        </tr>
 110      </table>
 111</div>
 112<div class="memdoc">
 113<p>Assertions</p>
 114<p>Assert that the expected value is equal to the actual value</p>
 115<dl><dt><b>Parameters:</b></dt><dd>
 116  <table border="0" cellspacing="2" cellpadding="0">
 117    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 118    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 119  </table>
 120  </dd>
 121</dl>
 122
 123<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00196">196</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 124
 125</div>
 126</div>
 127<a class="anchor" id="aabc8b5364cc6f778531c197a3adb71f7"></a><!-- doxytag: member="OJTestCase::assert:equals:message:" ref="aabc8b5364cc6f778531c197a3adb71f7" args="(id expected,[equals] id actual,[message] CPString message)" -->
 128<div class="memitem">
 129<div class="memproto">
 130      <table class="memname">
 131        <tr>
 132          <td class="memname">- (void) assert: </td>
 133          <td></td>
 134          <td class="paramtype">(id)&nbsp;</td>
 135          <td class="paramname"> <em>expected</em></td>
 136        </tr>
 137        <tr>
 138          <td class="paramkey">equals:</td>
 139          <td></td>
 140          <td class="paramtype">(id)&nbsp;</td>
 141          <td class="paramname"> <em>actual</em></td>
 142        </tr>
 143        <tr>
 144          <td class="paramkey">message:</td>
 145          <td></td>
 146          <td class="paramtype">(CPString)&nbsp;</td>
 147          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 148        </tr>
 149        <tr>
 150          <td></td>
 151          <td></td>
 152          <td></td><td></td><td><code> [implementation]</code></td>
 153        </tr>
 154      </table>
 155</div>
 156<div class="memdoc">
 157<p>Assertions</p>
 158<p>Assert that the expected value is equal to the actual value and not equal then report the given message</p>
 159<dl><dt><b>Parameters:</b></dt><dd>
 160  <table border="0" cellspacing="2" cellpadding="0">
 161    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 162    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 163    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 164  </table>
 165  </dd>
 166</dl>
 167
 168<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00211">211</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 169
 170</div>
 171</div>
 172<a class="anchor" id="aa7d7f37785394a20f4fcfe22ee62c816"></a><!-- doxytag: member="OJTestCase::assert:matches:" ref="aa7d7f37785394a20f4fcfe22ee62c816" args="(CPString aRegex,[matches] CPString aString)" -->
 173<div class="memitem">
 174<div class="memproto">
 175      <table class="memname">
 176        <tr>
 177          <td class="memname">- (void) assert: </td>
 178          <td></td>
 179          <td class="paramtype">(CPString)&nbsp;</td>
 180          <td class="paramname"> <em>aRegex</em></td>
 181        </tr>
 182        <tr>
 183          <td class="paramkey">matches:</td>
 184          <td></td>
 185          <td class="paramtype">(CPString)&nbsp;</td>
 186          <td class="paramname"> <em>aString</em></td><td>&nbsp;</td>
 187        </tr>
 188        <tr>
 189          <td></td>
 190          <td></td>
 191          <td></td><td></td><td><code> [implementation]</code></td>
 192        </tr>
 193      </table>
 194</div>
 195<div class="memdoc">
 196<p>Assertions</p>
 197<p>Assert that the given Regular Expression matches the given string</p>
 198<dl><dt><b>Parameters:</b></dt><dd>
 199  <table border="0" cellspacing="2" cellpadding="0">
 200    <tr><td valign="top"></td><td valign="top"><em>aRegex</em>&nbsp;</td><td>A string that represents a regular expression (e.g. @"^(.*)$") </td></tr>
 201    <tr><td valign="top"></td><td valign="top"><em>aString</em>&nbsp;</td><td>The string to test the regular expression against </td></tr>
 202  </table>
 203  </dd>
 204</dl>
 205
 206<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00399">399</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 207
 208</div>
 209</div>
 210<a class="anchor" id="a31be397f56272e754dd4c50b47e128ed"></a><!-- doxytag: member="OJTestCase::assert:notEqual:" ref="a31be397f56272e754dd4c50b47e128ed" args="(id expected,[notEqual] id actual)" -->
 211<div class="memitem">
 212<div class="memproto">
 213      <table class="memname">
 214        <tr>
 215          <td class="memname">- (void) assert: </td>
 216          <td></td>
 217          <td class="paramtype">(id)&nbsp;</td>
 218          <td class="paramname"> <em>expected</em></td>
 219        </tr>
 220        <tr>
 221          <td class="paramkey">notEqual:</td>
 222          <td></td>
 223          <td class="paramtype">(id)&nbsp;</td>
 224          <td class="paramname"> <em>actual</em></td><td>&nbsp;</td>
 225        </tr>
 226        <tr>
 227          <td></td>
 228          <td></td>
 229          <td></td><td></td><td><code> [implementation]</code></td>
 230        </tr>
 231      </table>
 232</div>
 233<div class="memdoc">
 234<p>Assertions</p>
 235<p>Assert that the expected value is not equal to the actual value</p>
 236<dl><dt><b>Parameters:</b></dt><dd>
 237  <table border="0" cellspacing="2" cellpadding="0">
 238    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 239    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 240  </table>
 241  </dd>
 242</dl>
 243
 244<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00225">225</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 245
 246</div>
 247</div>
 248<a class="anchor" id="a6436db6472aca912bbe88bd4456c7a40"></a><!-- doxytag: member="OJTestCase::assert:notEqual:message:" ref="a6436db6472aca912bbe88bd4456c7a40" args="(id expected,[notEqual] id actual,[message] CPString message)" -->
 249<div class="memitem">
 250<div class="memproto">
 251      <table class="memname">
 252        <tr>
 253          <td class="memname">- (void) assert: </td>
 254          <td></td>
 255          <td class="paramtype">(id)&nbsp;</td>
 256          <td class="paramname"> <em>expected</em></td>
 257        </tr>
 258        <tr>
 259          <td class="paramkey">notEqual:</td>
 260          <td></td>
 261          <td class="paramtype">(id)&nbsp;</td>
 262          <td class="paramname"> <em>actual</em></td>
 263        </tr>
 264        <tr>
 265          <td class="paramkey">message:</td>
 266          <td></td>
 267          <td class="paramtype">(CPString)&nbsp;</td>
 268          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 269        </tr>
 270        <tr>
 271          <td></td>
 272          <td></td>
 273          <td></td><td></td><td><code> [implementation]</code></td>
 274        </tr>
 275      </table>
 276</div>
 277<div class="memdoc">
 278<p>Assertions</p>
 279<p>Assert that the expected value is not equal to the actual value and if equal then report the given message</p>
 280<dl><dt><b>Parameters:</b></dt><dd>
 281  <table border="0" cellspacing="2" cellpadding="0">
 282    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 283    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 284    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 285  </table>
 286  </dd>
 287</dl>
 288
 289<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00240">240</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 290
 291</div>
 292</div>
 293<a class="anchor" id="ac9d5a16cfa1878a2735639befebbd19b"></a><!-- doxytag: member="OJTestCase::assert:notSame:" ref="ac9d5a16cfa1878a2735639befebbd19b" args="(id expected,[notSame] id actual)" -->
 294<div class="memitem">
 295<div class="memproto">
 296      <table class="memname">
 297        <tr>
 298          <td class="memname">- (void) assert: </td>
 299          <td></td>
 300          <td class="paramtype">(id)&nbsp;</td>
 301          <td class="paramname"> <em>expected</em></td>
 302        </tr>
 303        <tr>
 304          <td class="paramkey">notSame:</td>
 305          <td></td>
 306          <td class="paramtype">(id)&nbsp;</td>
 307          <td class="paramname"> <em>actual</em></td><td>&nbsp;</td>
 308        </tr>
 309        <tr>
 310          <td></td>
 311          <td></td>
 312          <td></td><td></td><td><code> [implementation]</code></td>
 313        </tr>
 314      </table>
 315</div>
 316<div class="memdoc">
 317<p>Assertions</p>
 318<p>Assert that the expected object and the actual object are not the same object.</p>
 319<dl><dt><b>Parameters:</b></dt><dd>
 320  <table border="0" cellspacing="2" cellpadding="0">
 321    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 322    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 323  </table>
 324  </dd>
 325</dl>
 326
 327<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00283">283</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 328
 329</div>
 330</div>
 331<a class="anchor" id="a1a071fd87947a81a133063917838a0cb"></a><!-- doxytag: member="OJTestCase::assert:notSame:message:" ref="a1a071fd87947a81a133063917838a0cb" args="(id expected,[notSame] id actual,[message] CPString message)" -->
 332<div class="memitem">
 333<div class="memproto">
 334      <table class="memname">
 335        <tr>
 336          <td class="memname">- (void) assert: </td>
 337          <td></td>
 338          <td class="paramtype">(id)&nbsp;</td>
 339          <td class="paramname"> <em>expected</em></td>
 340        </tr>
 341        <tr>
 342          <td class="paramkey">notSame:</td>
 343          <td></td>
 344          <td class="paramtype">(id)&nbsp;</td>
 345          <td class="paramname"> <em>actual</em></td>
 346        </tr>
 347        <tr>
 348          <td class="paramkey">message:</td>
 349          <td></td>
 350          <td class="paramtype">(CPString)&nbsp;</td>
 351          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 352        </tr>
 353        <tr>
 354          <td></td>
 355          <td></td>
 356          <td></td><td></td><td><code> [implementation]</code></td>
 357        </tr>
 358      </table>
 359</div>
 360<div class="memdoc">
 361<p>Assertions</p>
 362<p>Assert that the expected object and the actual object are not the same object. If they are the same, then report the given message.</p>
 363<dl><dt><b>Parameters:</b></dt><dd>
 364  <table border="0" cellspacing="2" cellpadding="0">
 365    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 366    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 367    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 368  </table>
 369  </dd>
 370</dl>
 371
 372<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00298">298</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 373
 374</div>
 375</div>
 376<a class="anchor" id="a48e113a164234241c424d88ab6f01261"></a><!-- doxytag: member="OJTestCase::assert:same:" ref="a48e113a164234241c424d88ab6f01261" args="(id expected,[same] id actual)" -->
 377<div class="memitem">
 378<div class="memproto">
 379      <table class="memname">
 380        <tr>
 381          <td class="memname">- (void) assert: </td>
 382          <td></td>
 383          <td class="paramtype">(id)&nbsp;</td>
 384          <td class="paramname"> <em>expected</em></td>
 385        </tr>
 386        <tr>
 387          <td class="paramkey">same:</td>
 388          <td></td>
 389          <td class="paramtype">(id)&nbsp;</td>
 390          <td class="paramname"> <em>actual</em></td><td>&nbsp;</td>
 391        </tr>
 392        <tr>
 393          <td></td>
 394          <td></td>
 395          <td></td><td></td><td><code> [implementation]</code></td>
 396        </tr>
 397      </table>
 398</div>
 399<div class="memdoc">
 400<p>Assertions</p>
 401<p>Assert that the expected object and the actual object are the same object.</p>
 402<dl><dt><b>Parameters:</b></dt><dd>
 403  <table border="0" cellspacing="2" cellpadding="0">
 404    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 405    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 406  </table>
 407  </dd>
 408</dl>
 409
 410<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00254">254</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 411
 412</div>
 413</div>
 414<a class="anchor" id="ab240bc46feb91eacd74ba81b2e8894fb"></a><!-- doxytag: member="OJTestCase::assert:same:message:" ref="ab240bc46feb91eacd74ba81b2e8894fb" args="(id expected,[same] id actual,[message] CPString message)" -->
 415<div class="memitem">
 416<div class="memproto">
 417      <table class="memname">
 418        <tr>
 419          <td class="memname">- (void) assert: </td>
 420          <td></td>
 421          <td class="paramtype">(id)&nbsp;</td>
 422          <td class="paramname"> <em>expected</em></td>
 423        </tr>
 424        <tr>
 425          <td class="paramkey">same:</td>
 426          <td></td>
 427          <td class="paramtype">(id)&nbsp;</td>
 428          <td class="paramname"> <em>actual</em></td>
 429        </tr>
 430        <tr>
 431          <td class="paramkey">message:</td>
 432          <td></td>
 433          <td class="paramtype">(CPString)&nbsp;</td>
 434          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 435        </tr>
 436        <tr>
 437          <td></td>
 438          <td></td>
 439          <td></td><td></td><td><code> [implementation]</code></td>
 440        </tr>
 441      </table>
 442</div>
 443<div class="memdoc">
 444<p>Assertions</p>
 445<p>Assert that the expected object and the actual object are the same object. If they are different, then report the given message.</p>
 446<dl><dt><b>Parameters:</b></dt><dd>
 447  <table border="0" cellspacing="2" cellpadding="0">
 448    <tr><td valign="top"></td><td valign="top"><em>expected</em>&nbsp;</td><td>The expected value </td></tr>
 449    <tr><td valign="top"></td><td valign="top"><em>actual</em>&nbsp;</td><td>The actual value </td></tr>
 450    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 451  </table>
 452  </dd>
 453</dl>
 454
 455<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00269">269</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 456
 457</div>
 458</div>
 459<a class="anchor" id="a7c78b96a4ecdd4244ca0c42040e620b6"></a><!-- doxytag: member="OJTestCase::assertFalse:" ref="a7c78b96a4ecdd4244ca0c42040e620b6" args="(BOOL condition)" -->
 460<div class="memitem">
 461<div class="memproto">
 462      <table class="memname">
 463        <tr>
 464          <td class="memname">- (void) assertFalse: </td>
 465          <td></td>
 466          <td class="paramtype">(BOOL)&nbsp;</td>
 467          <td class="paramname"> <em>condition</em></td>
 468          <td>&nbsp;</td>
 469          <td><code> [implementation]</code></td>
 470        </tr>
 471      </table>
 472</div>
 473<div class="memdoc">
 474<p>Assertions</p>
 475<p>Assert that the given condition is false</p>
 476<dl><dt><b>Parameters:</b></dt><dd>
 477  <table border="0" cellspacing="2" cellpadding="0">
 478    <tr><td valign="top"></td><td valign="top"><em>condition</em>&nbsp;</td><td>The condition to verify </td></tr>
 479  </table>
 480  </dd>
 481</dl>
 482
 483<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00170">170</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 484
 485</div>
 486</div>
 487<a class="anchor" id="a92337c1f284ba6ae44bc01efcef1db9b"></a><!-- doxytag: member="OJTestCase::assertFalse:message:" ref="a92337c1f284ba6ae44bc01efcef1db9b" args="(BOOL condition,[message] CPString message)" -->
 488<div class="memitem">
 489<div class="memproto">
 490      <table class="memname">
 491        <tr>
 492          <td class="memname">- (void) assertFalse: </td>
 493          <td></td>
 494          <td class="paramtype">(BOOL)&nbsp;</td>
 495          <td class="paramname"> <em>condition</em></td>
 496        </tr>
 497        <tr>
 498          <td class="paramkey">message:</td>
 499          <td></td>
 500          <td class="paramtype">(CPString)&nbsp;</td>
 501          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 502        </tr>
 503        <tr>
 504          <td></td>
 505          <td></td>
 506          <td></td><td></td><td><code> [implementation]</code></td>
 507        </tr>
 508      </table>
 509</div>
 510<div class="memdoc">
 511<p>Assertions</p>
 512<p>Assert that the given condition is false and if not false then report the given message</p>
 513<dl><dt><b>Parameters:</b></dt><dd>
 514  <table border="0" cellspacing="2" cellpadding="0">
 515    <tr><td valign="top"></td><td valign="top"><em>condition</em>&nbsp;</td><td>The condition to verify </td></tr>
 516    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 517  </table>
 518  </dd>
 519</dl>
 520
 521<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00183">183</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 522
 523</div>
 524</div>
 525<a class="anchor" id="a54c5ba1cdee3fa51e38751e78d80d65b"></a><!-- doxytag: member="OJTestCase::assertNoThrow:" ref="a54c5ba1cdee3fa51e38751e78d80d65b" args="(Function zeroArgClosure)" -->
 526<div class="memitem">
 527<div class="memproto">
 528      <table class="memname">
 529        <tr>
 530          <td class="memname">- (void) assertNoThrow: </td>
 531          <td></td>
 532          <td class="paramtype">(Function)&nbsp;</td>
 533          <td class="paramname"> <em>zeroArgClosure</em></td>
 534          <td>&nbsp;</td>
 535          <td><code> [implementation]</code></td>
 536        </tr>
 537      </table>
 538</div>
 539<div class="memdoc">
 540<p>Assertions</p>
 541<p>Assert that the zero argument closure that is given does not throw an exception.</p>
 542<dl><dt><b>Parameters:</b></dt><dd>
 543  <table border="0" cellspacing="2" cellpadding="0">
 544    <tr><td valign="top"></td><td valign="top"><em>zeroArgClosure</em>&nbsp;</td><td>The zero argument closure that will be run.</td></tr>
 545  </table>
 546  </dd>
 547</dl>
 548<p>Example:</p>
 549<p>[self assertNoThrow:function(){[myObject myMessage:myArgument];}]; </p>
 550
 551<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00364">364</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 552
 553</div>
 554</div>
 555<a class="anchor" id="a5bd16b559e9c38a86f18669bd9124e8c"></a><!-- doxytag: member="OJTestCase::assertNotNull:" ref="a5bd16b559e9c38a86f18669bd9124e8c" args="(id object)" -->
 556<div class="memitem">
 557<div class="memproto">
 558      <table class="memname">
 559        <tr>
 560          <td class="memname">- (void) assertNotNull: </td>
 561          <td></td>
 562          <td class="paramtype">(id)&nbsp;</td>
 563          <td class="paramname"> <em>object</em></td>
 564          <td>&nbsp;</td>
 565          <td><code> [implementation]</code></td>
 566        </tr>
 567      </table>
 568</div>
 569<div class="memdoc">
 570<p>Assertions</p>
 571<p>Assert that the given object is not null.</p>
 572<dl><dt><b>Parameters:</b></dt><dd>
 573  <table border="0" cellspacing="2" cellpadding="0">
 574    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The given object </td></tr>
 575  </table>
 576  </dd>
 577</dl>
 578
 579<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00335">335</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 580
 581</div>
 582</div>
 583<a class="anchor" id="a3d73ac18663ff8def3309c669bb60b3e"></a><!-- doxytag: member="OJTestCase::assertNotNull:message:" ref="a3d73ac18663ff8def3309c669bb60b3e" args="(id object,[message] CPString message)" -->
 584<div class="memitem">
 585<div class="memproto">
 586      <table class="memname">
 587        <tr>
 588          <td class="memname">- (void) assertNotNull: </td>
 589          <td></td>
 590          <td class="paramtype">(id)&nbsp;</td>
 591          <td class="paramname"> <em>object</em></td>
 592        </tr>
 593        <tr>
 594          <td class="paramkey">message:</td>
 595          <td></td>
 596          <td class="paramtype">(CPString)&nbsp;</td>
 597          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 598        </tr>
 599        <tr>
 600          <td></td>
 601          <td></td>
 602          <td></td><td></td><td><code> [implementation]</code></td>
 603        </tr>
 604      </table>
 605</div>
 606<div class="memdoc">
 607<p>Assertions</p>
 608<p>Assert that the given object is not null. If it is null, report the given message.</p>
 609<dl><dt><b>Parameters:</b></dt><dd>
 610  <table border="0" cellspacing="2" cellpadding="0">
 611    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The given object </td></tr>
 612    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 613  </table>
 614  </dd>
 615</dl>
 616
 617<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00348">348</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 618
 619</div>
 620</div>
 621<a class="anchor" id="a23fa3ae2aee33fc6adb132eb2236ffa5"></a><!-- doxytag: member="OJTestCase::assertNull:" ref="a23fa3ae2aee33fc6adb132eb2236ffa5" args="(id object)" -->
 622<div class="memitem">
 623<div class="memproto">
 624      <table class="memname">
 625        <tr>
 626          <td class="memname">- (void) assertNull: </td>
 627          <td></td>
 628          <td class="paramtype">(id)&nbsp;</td>
 629          <td class="paramname"> <em>object</em></td>
 630          <td>&nbsp;</td>
 631          <td><code> [implementation]</code></td>
 632        </tr>
 633      </table>
 634</div>
 635<div class="memdoc">
 636<p>Assertions</p>
 637<p>Assert that the given object is null</p>
 638<dl><dt><b>Parameters:</b></dt><dd>
 639  <table border="0" cellspacing="2" cellpadding="0">
 640    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The given object </td></tr>
 641  </table>
 642  </dd>
 643</dl>
 644
 645<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00311">311</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 646
 647</div>
 648</div>
 649<a class="anchor" id="a45e8d9c465a4536a43e84a28d7a49655"></a><!-- doxytag: member="OJTestCase::assertNull:message:" ref="a45e8d9c465a4536a43e84a28d7a49655" args="(id object,[message] CPString message)" -->
 650<div class="memitem">
 651<div class="memproto">
 652      <table class="memname">
 653        <tr>
 654          <td class="memname">- (void) assertNull: </td>
 655          <td></td>
 656          <td class="paramtype">(id)&nbsp;</td>
 657          <td class="paramname"> <em>object</em></td>
 658        </tr>
 659        <tr>
 660          <td class="paramkey">message:</td>
 661          <td></td>
 662          <td class="paramtype">(CPString)&nbsp;</td>
 663          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 664        </tr>
 665        <tr>
 666          <td></td>
 667          <td></td>
 668          <td></td><td></td><td><code> [implementation]</code></td>
 669        </tr>
 670      </table>
 671</div>
 672<div class="memdoc">
 673<p>Assertions</p>
 674<p>Assert that the given object is null. If it is not null, report the given message.</p>
 675<dl><dt><b>Parameters:</b></dt><dd>
 676  <table border="0" cellspacing="2" cellpadding="0">
 677    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>parameter </td></tr>
 678  </table>
 679  </dd>
 680</dl>
 681
 682<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00323">323</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 683
 684</div>
 685</div>
 686<a class="anchor" id="abf649324fd7339da1beb287b1ece3d51"></a><!-- doxytag: member="OJTestCase::assertThrows:" ref="abf649324fd7339da1beb287b1ece3d51" args="(Function zeroArgClosure)" -->
 687<div class="memitem">
 688<div class="memproto">
 689      <table class="memname">
 690        <tr>
 691          <td class="memname">- (void) assertThrows: </td>
 692          <td></td>
 693          <td class="paramtype">(Function)&nbsp;</td>
 694          <td class="paramname"> <em>zeroArgClosure</em></td>
 695          <td>&nbsp;</td>
 696          <td><code> [implementation]</code></td>
 697        </tr>
 698      </table>
 699</div>
 700<div class="memdoc">
 701<p>Assertions</p>
 702<p>Assert that the zero argument closure that is given does throw an exception.</p>
 703<dl><dt><b>Parameters:</b></dt><dd>
 704  <table border="0" cellspacing="2" cellpadding="0">
 705    <tr><td valign="top"></td><td valign="top"><em>zeroArgClosure</em>&nbsp;</td><td>The zero argument closure that will be run.</td></tr>
 706  </table>
 707  </dd>
 708</dl>
 709<p>Example:</p>
 710<p>[self assertThrows:function(){[myObject myMessage:myArgument];}]; </p>
 711
 712<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00383">383</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 713
 714</div>
 715</div>
 716<a class="anchor" id="ad748340fd6e4f861350ed59aeab729e7"></a><!-- doxytag: member="OJTestCase::assertTrue:" ref="ad748340fd6e4f861350ed59aeab729e7" args="(BOOL condition)" -->
 717<div class="memitem">
 718<div class="memproto">
 719      <table class="memname">
 720        <tr>
 721          <td class="memname">- (void) assertTrue: </td>
 722          <td></td>
 723          <td class="paramtype">(BOOL)&nbsp;</td>
 724          <td class="paramname"> <em>condition</em></td>
 725          <td>&nbsp;</td>
 726          <td><code> [implementation]</code></td>
 727        </tr>
 728      </table>
 729</div>
 730<div class="memdoc">
 731<p>Assertions</p>
 732<p>Assert that the given condition is true</p>
 733<dl><dt><b>Parameters:</b></dt><dd>
 734  <table border="0" cellspacing="2" cellpadding="0">
 735    <tr><td valign="top"></td><td valign="top"><em>condition</em>&nbsp;</td><td>The condition to verify </td></tr>
 736  </table>
 737  </dd>
 738</dl>
 739
 740<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00144">144</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 741
 742</div>
 743</div>
 744<a class="anchor" id="a7bf36fcd6466707ab23dc56d91140095"></a><!-- doxytag: member="OJTestCase::assertTrue:message:" ref="a7bf36fcd6466707ab23dc56d91140095" args="(BOOL condition,[message] CPString message)" -->
 745<div class="memitem">
 746<div class="memproto">
 747      <table class="memname">
 748        <tr>
 749          <td class="memname">- (void) assertTrue: </td>
 750          <td></td>
 751          <td class="paramtype">(BOOL)&nbsp;</td>
 752          <td class="paramname"> <em>condition</em></td>
 753        </tr>
 754        <tr>
 755          <td class="paramkey">message:</td>
 756          <td></td>
 757          <td class="paramtype">(CPString)&nbsp;</td>
 758          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 759        </tr>
 760        <tr>
 761          <td></td>
 762          <td></td>
 763          <td></td><td></td><td><code> [implementation]</code></td>
 764        </tr>
 765      </table>
 766</div>
 767<div class="memdoc">
 768<p>Assertions</p>
 769<p>Assert that the given condition is true and if it is not report the given message</p>
 770<dl><dt><b>Parameters:</b></dt><dd>
 771  <table border="0" cellspacing="2" cellpadding="0">
 772    <tr><td valign="top"></td><td valign="top"><em>condition</em>&nbsp;</td><td>The condition to verify </td></tr>
 773    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 774  </table>
 775  </dd>
 776</dl>
 777
 778<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00157">157</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 779
 780</div>
 781</div>
 782<a class="anchor" id="a1bda9cc9292ebf245c8be48e97e42204"></a><!-- doxytag: member="OJTestCase::countTestCases" ref="a1bda9cc9292ebf245c8be48e97e42204" args="()" -->
 783<div class="memitem">
 784<div class="memproto">
 785      <table class="memname">
 786        <tr>
 787          <td class="memname">- (int) countTestCases </td>
 788          <td></td>
 789          <td class="paramname"></td>
 790          <td>&nbsp;</td>
 791          <td><code> [implementation]</code></td>
 792        </tr>
 793      </table>
 794</div>
 795<div class="memdoc">
 796<p>The number of test cases this represents.</p>
 797<dl class="return"><dt><b>Returns:</b></dt><dd>1 </dd></dl>
 798
 799<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00132">132</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 800
 801</div>
 802</div>
 803<a class="anchor" id="a4843e5aa2382e06f2f6d1904094b9140"></a><!-- doxytag: member="OJTestCase::createResult" ref="a4843e5aa2382e06f2f6d1904094b9140" args="()" -->
 804<div class="memitem">
 805<div class="memproto">
 806      <table class="memname">
 807        <tr>
 808          <td class="memname">- (<a class="el" href="class_o_j_test_result.html">OJTestResult</a>) createResult </td>
 809          <td></td>
 810          <td class="paramname"></td>
 811          <td>&nbsp;</td>
 812          <td><code> [implementation]</code></td>
 813        </tr>
 814      </table>
 815</div>
 816<div class="memdoc">
 817<p>Factory method for creating the <a class="el" href="class_o_j_test_result.html">OJTestResult</a> </p>
 818
 819<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00045">45</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 820
 821</div>
 822</div>
 823<a class="anchor" id="af98094b166e8e61eb41c985a240c8d4e"></a><!-- doxytag: member="OJTestCase::description" ref="af98094b166e8e61eb41c985a240c8d4e" args="()" -->
 824<div class="memitem">
 825<div class="memproto">
 826      <table class="memname">
 827        <tr>
 828          <td class="memname">- (CPString) description </td>
 829          <td></td>
 830          <td class="paramname"></td>
 831          <td>&nbsp;</td>
 832          <td><code> [implementation]</code></td>
 833        </tr>
 834      </table>
 835</div>
 836<div class="memdoc">
 837
 838<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00447">447</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 839
 840</div>
 841</div>
 842<a class="anchor" id="a315e2eff2305df14944a23b74e3ce563"></a><!-- doxytag: member="OJTestCase::fail" ref="a315e2eff2305df14944a23b74e3ce563" args="()" -->
 843<div class="memitem">
 844<div class="memproto">
 845      <table class="memname">
 846        <tr>
 847          <td class="memname">- (void) fail </td>
 848          <td></td>
 849          <td class="paramname"></td>
 850          <td>&nbsp;</td>
 851          <td><code> [implementation]</code></td>
 852        </tr>
 853      </table>
 854</div>
 855<div class="memdoc">
 856<p>Assertions</p>
 857<p>Fails the test case. </p>
 858
 859<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00410">410</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 860
 861</div>
 862</div>
 863<a class="anchor" id="aa295be03a1cbc7c61d819c7900281f81"></a><!-- doxytag: member="OJTestCase::fail:" ref="aa295be03a1cbc7c61d819c7900281f81" args="(CPString message)" -->
 864<div class="memitem">
 865<div class="memproto">
 866      <table class="memname">
 867        <tr>
 868          <td class="memname">- (void) fail: </td>
 869          <td></td>
 870          <td class="paramtype">(CPString)&nbsp;</td>
 871          <td class="paramname"> <em>message</em></td>
 872          <td>&nbsp;</td>
 873          <td><code> [implementation]</code></td>
 874        </tr>
 875      </table>
 876</div>
 877<div class="memdoc">
 878<p>Assertions</p>
 879<p>Fails the test case and reports the given message.</p>
 880<dl><dt><b>Parameters:</b></dt><dd>
 881  <table border="0" cellspacing="2" cellpadding="0">
 882    <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The failure message </td></tr>
 883  </table>
 884  </dd>
 885</dl>
 886
 887<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00422">422</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 888
 889</div>
 890</div>
 891<a class="anchor" id="ad11c96f838b8715ecf6dd9c3d471e3a0"></a><!-- doxytag: member="OJTestCase::failEqual:actual:message:" ref="ad11c96f838b8715ecf6dd9c3d471e3a0" args="(id expected,[actual] id actual,[message] CPString message)" -->
 892<div class="memitem">
 893<div class="memproto">
 894      <table class="memname">
 895        <tr>
 896          <td class="memname">- (void) failEqual: </td>
 897          <td></td>
 898          <td class="paramtype">(id)&nbsp;</td>
 899          <td class="paramname"> <em>expected</em></td>
 900        </tr>
 901        <tr>
 902          <td class="paramkey">actual:</td>
 903          <td></td>
 904          <td class="paramtype">(id)&nbsp;</td>
 905          <td class="paramname"> <em>actual</em></td>
 906        </tr>
 907        <tr>
 908          <td class="paramkey">message:</td>
 909          <td></td>
 910          <td class="paramtype">(CPString)&nbsp;</td>
 911          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 912        </tr>
 913        <tr>
 914          <td></td>
 915          <td></td>
 916          <td></td><td></td><td><code> [implementation]</code></td>
 917        </tr>
 918      </table>
 919</div>
 920<div class="memdoc">
 921
 922<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00437">437</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 923
 924</div>
 925</div>
 926<a class="anchor" id="a92f05ffde14d9858344d89ad85fdc0b0"></a><!-- doxytag: member="OJTestCase::failNotEqual:actual:message:" ref="a92f05ffde14d9858344d89ad85fdc0b0" args="(id expected,[actual] id actual,[message] CPString message)" -->
 927<div class="memitem">
 928<div class="memproto">
 929      <table class="memname">
 930        <tr>
 931          <td class="memname">- (void) failNotEqual: </td>
 932          <td></td>
 933          <td class="paramtype">(id)&nbsp;</td>
 934          <td class="paramname"> <em>expected</em></td>
 935        </tr>
 936        <tr>
 937          <td class="paramkey">actual:</td>
 938          <td></td>
 939          <td class="paramtype">(id)&nbsp;</td>
 940          <td class="paramname"> <em>actual</em></td>
 941        </tr>
 942        <tr>
 943          <td class="paramkey">message:</td>
 944          <td></td>
 945          <td class="paramtype">(CPString)&nbsp;</td>
 946          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 947        </tr>
 948        <tr>
 949          <td></td>
 950          <td></td>
 951          <td></td><td></td><td><code> [implementation]</code></td>
 952        </tr>
 953      </table>
 954</div>
 955<div class="memdoc">
 956
 957<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00442">442</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 958
 959</div>
 960</div>
 961<a class="anchor" id="acafe7b997cc21d69b8d271ca60dd07e6"></a><!-- doxytag: member="OJTestCase::failNotSame:actual:message:" ref="acafe7b997cc21d69b8d271ca60dd07e6" args="(id expected,[actual] id actual,[message] CPString message)" -->
 962<div class="memitem">
 963<div class="memproto">
 964      <table class="memname">
 965        <tr>
 966          <td class="memname">- (void) failNotSame: </td>
 967          <td></td>
 968          <td class="paramtype">(id)&nbsp;</td>
 969          <td class="paramname"> <em>expected</em></td>
 970        </tr>
 971        <tr>
 972          <td class="paramkey">actual:</td>
 973          <td></td>
 974          <td class="paramtype">(id)&nbsp;</td>
 975          <td class="paramname"> <em>actual</em></td>
 976        </tr>
 977        <tr>
 978          <td class="paramkey">message:</td>
 979          <td></td>
 980          <td class="paramtype">(CPString)&nbsp;</td>
 981          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
 982        </tr>
 983        <tr>
 984          <td></td>
 985          <td></td>
 986          <td></td><td></td><td><code> [implementation]</code></td>
 987        </tr>
 988      </table>
 989</div>
 990<div class="memdoc">
 991
 992<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00432">432</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
 993
 994</div>
 995</div>
 996<a class="anchor" id="ac28ecd8b531f02bb321de542a3ccd0ce"></a><!-- doxytag: member="OJTestCase::failSame:actual:message:" ref="ac28ecd8b531f02bb321de542a3ccd0ce" args="(id expected,[actual] id actual,[message] CPString message)" -->
 997<div class="memitem">
 998<div class="memproto">
 999      <table class="memname">
1000        <tr>
1001          <td class="memname">- (void) failSame: </td>
1002          <td></td>
1003          <td class="paramtype">(id)&nbsp;</td>
1004          <td class="paramname"> <em>expected</em></td>
1005        </tr>
1006        <tr>
1007          <td class="paramkey">actual:</td>
1008          <td></td>
1009          <td class="paramtype">(id)&nbsp;</td>
1010          <td class="paramname"> <em>actual</em></td>
1011        </tr>
1012        <tr>
1013          <td class="paramkey">message:</td>
1014          <td></td>
1015          <td class="paramtype">(CPString)&nbsp;</td>
1016          <td class="paramname"> <em>message</em></td><td>&nbsp;</td>
1017        </tr>
1018        <tr>
1019          <td></td>
1020          <td></td>
1021          <td></td><td></td><td><code> [implementation]</code></td>
1022        </tr>
1023      </table>
1024</div>
1025<div class="memdoc">
1026
1027<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00427">427</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
1028
1029</div>
1030</div>
1031<a class="anchor" id="a14a9c871aaa30e737219ca110a16408d"></a><!-- doxytag: member="OJTestCase::run" ref="a14a9c871aaa30e737219ca110a16408d" args="()" -->
1032<div class="memitem">
1033<div class="memproto">
1034      <table class="memname">
1035        <tr>
1036          <td class="memname">- (<a class="el" href="class_o_j_test_result.html">OJTestResult</a>) run </td>
1037          <td></td>
1038          <td class="paramname"></td>
1039          <td>&nbsp;</td>
1040          <td><code> [implementation]</code></td>
1041        </tr>
1042      </table>
1043</div>
1044<div class="memdoc">
1045<p>Runs the tests and returns the result. </p>
1046
1047<p>Definition at line <a class="el" href="_o_j_test_case_8j_source.html#l00053">53</a> of file <a class="el" href="_o_j_test_case_8j_source.html">OJTestCase.j</a>.</p>
1048
1049</div>
1050</div>
1051<a class="anchor" id="a04f5e56a88e9c3cdfedb7b46e25954f1"></a><!-- doxytag: member="OJTestCase::run:" ref="a04f5e56a88e9c3cdfedb7b46e25954f1" args="(OJTestResult result)" -->
1052<div class="memitem">
1053<div class="memproto">
1054      <table class="memname">
1055        <tr>
1056          <td class="memname">- (void) run: </td>
1057

Large files files are truncated, but you can click here to view the full file