summaryrefslogtreecommitdiff
path: root/doxygen/html/classcmd2_1_1Cmd2TestCase.html
diff options
context:
space:
mode:
Diffstat (limited to 'doxygen/html/classcmd2_1_1Cmd2TestCase.html')
-rw-r--r--doxygen/html/classcmd2_1_1Cmd2TestCase.html506
1 files changed, 0 insertions, 506 deletions
diff --git a/doxygen/html/classcmd2_1_1Cmd2TestCase.html b/doxygen/html/classcmd2_1_1Cmd2TestCase.html
deleted file mode 100644
index ee68f56..0000000
--- a/doxygen/html/classcmd2_1_1Cmd2TestCase.html
+++ /dev/null
@@ -1,506 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<title>Cmd2: cmd2::Cmd2TestCase Class Reference</title>
-
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="navtree.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="resize.js"></script>
-<script type="text/javascript" src="navtree.js"></script>
-<script type="text/javascript">
- $(document).ready(initResizable);
-</script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/search.js"></script>
-<script type="text/javascript">
- $(document).ready(function() { searchBox.OnSelectItem(0); });
-</script>
-
-</head>
-<body>
-<div id="top"><!-- do not remove this div! -->
-
-
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
-
-
- <td style="padding-left: 0.5em;">
- <div id="projectname">Cmd2
-
- </div>
-
- </td>
-
-
-
- </tr>
- </tbody>
-</table>
-</div>
-
-<!-- Generated by Doxygen 1.7.5.1 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main&#160;Page</span></a></li>
- <li><a href="namespaces.html"><span>Packages</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li><a href="dirs.html"><span>Directories</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
- <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
- </ul>
- </div>
-</div>
-<div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
-</div>
-<script type="text/javascript">
- initNavTree('classcmd2_1_1Cmd2TestCase.html','');
-</script>
-<div id="doc-content">
-<div class="header">
- <div class="summary">
-<a href="#pub-methods">Public Member Functions</a> &#124;
-<a href="#pub-attribs">Public Attributes</a> &#124;
-<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
-<a href="#pri-methods">Private Member Functions</a> </div>
- <div class="headertitle">
-<div class="title">cmd2::Cmd2TestCase Class Reference</div> </div>
-</div>
-<div class="contents">
-<!-- doxytag: class="cmd2::Cmd2TestCase" -->
-<p><a href="classcmd2_1_1Cmd2TestCase-members.html">List of all members.</a></p>
-<table class="memberdecls">
-<tr><td colspan="2"><h2><a name="pub-methods"></a>
-Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#ad82fc3489ffaf8ae227e7b122df389e0">fetchTranscripts</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#acc8585a2192f48e04a8eafd63348c590">runTest</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#a5892c02ac5ee5a25c47bbfa1c648647b">setUp</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#a12a9839011a264bf817e646114523052">tearDown</a></td></tr>
-<tr><td colspan="2"><h2><a name="pub-attribs"></a>
-Public Attributes</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#adeb5a7b735ad3b7f23a3c44d15ad283e">outputTrap</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">transcripts</a></td></tr>
-<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
-Static Public Attributes</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#a946827bef7050042cee99d3749c976d0">anyWhitespace</a> = re.compile(r'\s', re.DOTALL | re.MULTILINE)</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a> = None</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#af9574fde56ba05bc1532a6a028fb566d">expectationParser</a> = <a class="el" href="classcmd2_1_1Cmd2TestCase.html#aa85409ff40b934d96ca1b3d3ff9e897d">regexPattern</a>|<a class="el" href="classcmd2_1_1Cmd2TestCase.html#a29b62f02c603b82014102babccd0c40e">notRegexPattern</a></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#a29b62f02c603b82014102babccd0c40e">notRegexPattern</a> = pyparsing.Word(pyparsing.printables)</td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">tuple&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#aa85409ff40b934d96ca1b3d3ff9e897d">regexPattern</a> = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)</td></tr>
-<tr><td colspan="2"><h2><a name="pri-methods"></a>
-Private Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#aaad687718f366338a76f83cb6547a258">_test_transcript</a></td></tr>
-</table>
-<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
-<div class="textblock"><div class="fragment"><pre class="fragment">Subclass this, setting CmdApp, to make a unittest.TestCase class
- that will execute the commands in a transcript file and expect the results shown.
- See example.py</pre></div>
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01476">1476</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-</div><hr/><h2>Member Function Documentation</h2>
-<a class="anchor" id="aaad687718f366338a76f83cb6547a258"></a><!-- doxytag: member="cmd2::Cmd2TestCase::_test_transcript" ref="aaad687718f366338a76f83cb6547a258" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">def cmd2::Cmd2TestCase::_test_transcript </td>
- <td>(</td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>self</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>fname</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>transcript</em>&#160;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td><code> [private]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01506">1506</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>References <a class="el" href="cmd2_8py_source.html#l01490">cmdapp</a>.</p>
-
-<p>Referenced by <a class="el" href="cmd2_8py_source.html#l01495">runTest()</a>.</p>
-<div class="fragment"><pre class="fragment"><a name="l01506"></a><a class="code" href="classcmd2_1_1Cmd2TestCase.html#aaad687718f366338a76f83cb6547a258">01506</a>
-<a name="l01507"></a>01507 <span class="keyword">def </span><a class="code" href="classcmd2_1_1Cmd2TestCase.html#aaad687718f366338a76f83cb6547a258">_test_transcript</a>(self, fname, transcript):
-<a name="l01508"></a>01508 lineNum = 0
-<a name="l01509"></a>01509 finished = <span class="keyword">False</span>
-<a name="l01510"></a>01510 line = transcript.next()
-<a name="l01511"></a>01511 lineNum += 1
-<a name="l01512"></a>01512 tests_run = 0
-<a name="l01513"></a>01513 <span class="keywordflow">while</span> <span class="keywordflow">not</span> finished:
-<a name="l01514"></a>01514 <span class="comment"># Scroll forward to where actual commands begin</span>
-<a name="l01515"></a>01515 <span class="keywordflow">while</span> <span class="keywordflow">not</span> line.startswith(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.prompt):
-<a name="l01516"></a>01516 <span class="keywordflow">try</span>:
-<a name="l01517"></a>01517 line = transcript.next()
-<a name="l01518"></a>01518 <span class="keywordflow">except</span> StopIteration:
-<a name="l01519"></a>01519 finished = <span class="keyword">True</span>
-<a name="l01520"></a>01520 <span class="keywordflow">break</span>
-<a name="l01521"></a>01521 lineNum += 1
-<a name="l01522"></a>01522 command = [line[len(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.prompt):]]
-<a name="l01523"></a>01523 line = transcript.next()
-<a name="l01524"></a>01524 <span class="comment"># Read the entirety of a multi-line command</span>
-<a name="l01525"></a>01525 <span class="keywordflow">while</span> line.startswith(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.continuation_prompt):
-<a name="l01526"></a>01526 command.append(line[len(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.continuation_prompt):])
-<a name="l01527"></a>01527 <span class="keywordflow">try</span>:
-<a name="l01528"></a>01528 line = transcript.next()
-<a name="l01529"></a>01529 <span class="keywordflow">except</span> StopIteration:
-<a name="l01530"></a>01530 <span class="keywordflow">raise</span> (StopIteration,
-<a name="l01531"></a>01531 <span class="stringliteral">&#39;Transcript broke off while reading command beginning at line %d with\n%s&#39;</span>
-<a name="l01532"></a>01532 % (command[0]))
-<a name="l01533"></a>01533 lineNum += 1
-<a name="l01534"></a>01534 command = <span class="stringliteral">&#39;&#39;</span>.join(command)
-<a name="l01535"></a>01535 <span class="comment"># Send the command into the application and capture the resulting output</span>
-<a name="l01536"></a>01536 stop = self.cmdapp.onecmd_plus_hooks(command)
-<a name="l01537"></a>01537 <span class="comment">#TODO: should act on ``stop``</span>
-<a name="l01538"></a>01538 result = self.outputTrap.read()
-<a name="l01539"></a>01539 <span class="comment"># Read the expected result from transcript</span>
-<a name="l01540"></a>01540 <span class="keywordflow">if</span> line.startswith(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.prompt):
-<a name="l01541"></a>01541 message = <span class="stringliteral">&#39;\nFile %s, line %d\nCommand was:\n%s\nExpected: (nothing)\nGot:\n%s\n&#39;</span>%\
-<a name="l01542"></a>01542 (fname, lineNum, command, result)
-<a name="l01543"></a>01543 self.assert_(not(result.strip()), message)
-<a name="l01544"></a>01544 <span class="keywordflow">continue</span>
-<a name="l01545"></a>01545 expected = []
-<a name="l01546"></a>01546 <span class="keywordflow">while</span> <span class="keywordflow">not</span> line.startswith(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a>.prompt):
-<a name="l01547"></a>01547 expected.append(line)
-<a name="l01548"></a>01548 <span class="keywordflow">try</span>:
-<a name="l01549"></a>01549 line = transcript.next()
-<a name="l01550"></a>01550 <span class="keywordflow">except</span> StopIteration:
-<a name="l01551"></a>01551 finished = <span class="keyword">True</span>
-<a name="l01552"></a>01552 <span class="keywordflow">break</span>
-<a name="l01553"></a>01553 lineNum += 1
-<a name="l01554"></a>01554 expected = <span class="stringliteral">&#39;&#39;</span>.join(expected)
-<a name="l01555"></a>01555 <span class="comment"># Compare actual result to expected</span>
-<a name="l01556"></a>01556 message = <span class="stringliteral">&#39;\nFile %s, line %d\nCommand was:\n%s\nExpected:\n%s\nGot:\n%s\n&#39;</span>%\
-<a name="l01557"></a>01557 (fname, lineNum, command, expected, result)
-<a name="l01558"></a>01558 expected = self.expectationParser.transformString(expected)
-<a name="l01559"></a>01559 <span class="comment"># checking whitespace is a pain - let&#39;s skip it</span>
-<a name="l01560"></a>01560 expected = self.anyWhitespace.sub(<span class="stringliteral">&#39;&#39;</span>, expected)
-<a name="l01561"></a>01561 result = self.anyWhitespace.sub(<span class="stringliteral">&#39;&#39;</span>, result)
-<a name="l01562"></a>01562 self.assert_(re.match(expected, result, re.MULTILINE | re.DOTALL), message)
-
-</pre></div>
-</div>
-</div>
-<a class="anchor" id="ad82fc3489ffaf8ae227e7b122df389e0"></a><!-- doxytag: member="cmd2::Cmd2TestCase::fetchTranscripts" ref="ad82fc3489ffaf8ae227e7b122df389e0" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">def cmd2::Cmd2TestCase::fetchTranscripts </td>
- <td>(</td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>self</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01481">1481</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>Referenced by <a class="el" href="cmd2_8py_source.html#l01490">setUp()</a>.</p>
-<div class="fragment"><pre class="fragment"><a name="l01481"></a><a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">01481</a>
-<a name="l01482"></a>01482 <span class="keyword">def </span><a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad82fc3489ffaf8ae227e7b122df389e0">fetchTranscripts</a>(self):
-<a name="l01483"></a>01483 self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">transcripts</a> = {}
-<a name="l01484"></a>01484 <span class="keywordflow">for</span> fileset <span class="keywordflow">in</span> self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a>.testfiles:
-<a name="l01485"></a>01485 <span class="keywordflow">for</span> fname <span class="keywordflow">in</span> glob.glob(fileset):
-<a name="l01486"></a>01486 tfile = open(fname)
-<a name="l01487"></a>01487 self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">transcripts</a>[fname] = iter(tfile.readlines())
-<a name="l01488"></a>01488 tfile.close()
-<a name="l01489"></a>01489 <span class="keywordflow">if</span> <span class="keywordflow">not</span> len(self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">transcripts</a>):
- <span class="keywordflow">raise</span> (StandardError,), <span class="stringliteral">&quot;No test files found - nothing to test.&quot;</span>
-</pre></div>
-</div>
-</div>
-<a class="anchor" id="acc8585a2192f48e04a8eafd63348c590"></a><!-- doxytag: member="cmd2::Cmd2TestCase::runTest" ref="acc8585a2192f48e04a8eafd63348c590" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">def cmd2::Cmd2TestCase::runTest </td>
- <td>(</td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>self</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01495">1495</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>References <a class="el" href="cmd2_8py_source.html#l01506">_test_transcript()</a>, and <a class="el" href="cmd2_8py_source.html#l01480">CmdApp</a>.</p>
-<div class="fragment"><pre class="fragment"><a name="l01495"></a><a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc8585a2192f48e04a8eafd63348c590">01495</a>
-<a name="l01496"></a>01496 <span class="keyword">def </span><a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc8585a2192f48e04a8eafd63348c590">runTest</a>(self): <span class="comment"># was testall</span>
-<a name="l01497"></a>01497 <span class="keywordflow">if</span> self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a>:
-<a name="l01498"></a>01498 its = sorted(self.transcripts.items())
-<a name="l01499"></a>01499 <span class="keywordflow">for</span> (fname, transcript) <span class="keywordflow">in</span> its:
- self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#aaad687718f366338a76f83cb6547a258">_test_transcript</a>(fname, transcript)
-</pre></div>
-</div>
-</div>
-<a class="anchor" id="a5892c02ac5ee5a25c47bbfa1c648647b"></a><!-- doxytag: member="cmd2::Cmd2TestCase::setUp" ref="a5892c02ac5ee5a25c47bbfa1c648647b" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">def cmd2::Cmd2TestCase::setUp </td>
- <td>(</td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>self</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01490">1490</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>References <a class="el" href="cmd2_8py_source.html#l01480">CmdApp</a>, <a class="el" href="cmd2_8py_source.html#l01490">cmdapp</a>, <a class="el" href="cmd2_8py_source.html#l01481">fetchTranscripts()</a>, and <a class="el" href="cmd2_8py_source.html#l01490">outputTrap</a>.</p>
-<div class="fragment"><pre class="fragment"><a name="l01490"></a><a class="code" href="classcmd2_1_1Cmd2TestCase.html#a5892c02ac5ee5a25c47bbfa1c648647b">01490</a>
-<a name="l01491"></a>01491 <span class="keyword">def </span><a class="code" href="classcmd2_1_1Cmd2TestCase.html#a5892c02ac5ee5a25c47bbfa1c648647b">setUp</a>(self):
-<a name="l01492"></a>01492 <span class="keywordflow">if</span> self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a>:
-<a name="l01493"></a>01493 self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#adeb5a7b735ad3b7f23a3c44d15ad283e">outputTrap</a> = <a class="code" href="classcmd2_1_1OutputTrap.html">OutputTrap</a>()
-<a name="l01494"></a>01494 self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmdapp</a> = self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a>()
- self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ad82fc3489ffaf8ae227e7b122df389e0">fetchTranscripts</a>()
-</pre></div>
-</div>
-</div>
-<a class="anchor" id="a12a9839011a264bf817e646114523052"></a><!-- doxytag: member="cmd2::Cmd2TestCase::tearDown" ref="a12a9839011a264bf817e646114523052" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">def cmd2::Cmd2TestCase::tearDown </td>
- <td>(</td>
- <td class="paramtype">&#160;</td>
- <td class="paramname"><em>self</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01563">1563</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>References <a class="el" href="cmd2_8py_source.html#l01480">CmdApp</a>.</p>
-<div class="fragment"><pre class="fragment"><a name="l01563"></a><a class="code" href="classcmd2_1_1Cmd2TestCase.html#a12a9839011a264bf817e646114523052">01563</a>
-<a name="l01564"></a>01564 <span class="keyword">def </span><a class="code" href="classcmd2_1_1Cmd2TestCase.html#a12a9839011a264bf817e646114523052">tearDown</a>(self):
-<a name="l01565"></a>01565 <span class="keywordflow">if</span> self.<a class="code" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">CmdApp</a>:
-<a name="l01566"></a>01566 self.outputTrap.tearDown()
-
-</pre></div>
-</div>
-</div>
-<hr/><h2>Member Data Documentation</h2>
-<a class="anchor" id="a946827bef7050042cee99d3749c976d0"></a><!-- doxytag: member="cmd2::Cmd2TestCase::anyWhitespace" ref="a946827bef7050042cee99d3749c976d0" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">tuple <a class="el" href="classcmd2_1_1Cmd2TestCase.html#a946827bef7050042cee99d3749c976d0">cmd2::Cmd2TestCase::anyWhitespace</a> = re.compile(r'\s', re.DOTALL | re.MULTILINE)<code> [static]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01505">1505</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="ae3ce50557636abee00a3941461dd450c"></a><!-- doxytag: member="cmd2::Cmd2TestCase::CmdApp" ref="ae3ce50557636abee00a3941461dd450c" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#ae3ce50557636abee00a3941461dd450c">cmd2::Cmd2TestCase::CmdApp</a> = None<code> [static]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01480">1480</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>Referenced by <a class="el" href="cmd2_8py_source.html#l01495">runTest()</a>, <a class="el" href="cmd2_8py_source.html#l01490">setUp()</a>, and <a class="el" href="cmd2_8py_source.html#l01563">tearDown()</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="acc7fc3df4fb04682fd1e4b2c4cc4cd3c"></a><!-- doxytag: member="cmd2::Cmd2TestCase::cmdapp" ref="acc7fc3df4fb04682fd1e4b2c4cc4cd3c" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#acc7fc3df4fb04682fd1e4b2c4cc4cd3c">cmd2::Cmd2TestCase::cmdapp</a></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01490">1490</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>Referenced by <a class="el" href="cmd2_8py_source.html#l01506">_test_transcript()</a>, and <a class="el" href="cmd2_8py_source.html#l01490">setUp()</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="af9574fde56ba05bc1532a6a028fb566d"></a><!-- doxytag: member="cmd2::Cmd2TestCase::expectationParser" ref="af9574fde56ba05bc1532a6a028fb566d" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#af9574fde56ba05bc1532a6a028fb566d">cmd2::Cmd2TestCase::expectationParser</a> = <a class="el" href="classcmd2_1_1Cmd2TestCase.html#aa85409ff40b934d96ca1b3d3ff9e897d">regexPattern</a>|<a class="el" href="classcmd2_1_1Cmd2TestCase.html#a29b62f02c603b82014102babccd0c40e">notRegexPattern</a><code> [static]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01504">1504</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a29b62f02c603b82014102babccd0c40e"></a><!-- doxytag: member="cmd2::Cmd2TestCase::notRegexPattern" ref="a29b62f02c603b82014102babccd0c40e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">tuple <a class="el" href="classcmd2_1_1Cmd2TestCase.html#a29b62f02c603b82014102babccd0c40e">cmd2::Cmd2TestCase::notRegexPattern</a> = pyparsing.Word(pyparsing.printables)<code> [static]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01502">1502</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="adeb5a7b735ad3b7f23a3c44d15ad283e"></a><!-- doxytag: member="cmd2::Cmd2TestCase::outputTrap" ref="adeb5a7b735ad3b7f23a3c44d15ad283e" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#adeb5a7b735ad3b7f23a3c44d15ad283e">cmd2::Cmd2TestCase::outputTrap</a></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01490">1490</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-<p>Referenced by <a class="el" href="cmd2_8py_source.html#l01490">setUp()</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="aa85409ff40b934d96ca1b3d3ff9e897d"></a><!-- doxytag: member="cmd2::Cmd2TestCase::regexPattern" ref="aa85409ff40b934d96ca1b3d3ff9e897d" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">tuple <a class="el" href="classcmd2_1_1Cmd2TestCase.html#aa85409ff40b934d96ca1b3d3ff9e897d">cmd2::Cmd2TestCase::regexPattern</a> = pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)<code> [static]</code></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01500">1500</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="ad319aa2e1874f60202610e5b8de33dbb"></a><!-- doxytag: member="cmd2::Cmd2TestCase::transcripts" ref="ad319aa2e1874f60202610e5b8de33dbb" args="" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classcmd2_1_1Cmd2TestCase.html#ad319aa2e1874f60202610e5b8de33dbb">cmd2::Cmd2TestCase::transcripts</a></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Definition at line <a class="el" href="cmd2_8py_source.html#l01481">1481</a> of file <a class="el" href="cmd2_8py_source.html">cmd2.py</a>.</p>
-
-</div>
-</div>
-<hr/>The documentation for this class was generated from the following file:<ul>
-<li>/Users/amrogers/Developer/Projects/cmd2/<a class="el" href="cmd2_8py_source.html">cmd2.py</a></li>
-</ul>
-</div>
-</div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespacecmd2.html">cmd2</a> </li>
- <li class="navelem"><a class="el" href="classcmd2_1_1Cmd2TestCase.html">Cmd2TestCase</a> </li>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-
- <li class="footer">Generated on Fri Sep 9 2011 10:50:48 for Cmd2 by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
- </ul>
- </div>
-
-
-</body>
-</html>