diff options
author | Zearin <zearin@gonk.net> | 2011-10-05 17:05:31 -0400 |
---|---|---|
committer | Zearin <zearin@gonk.net> | 2011-10-05 17:05:31 -0400 |
commit | aa19e3b9c9f03f7320c2d5470fa977ed0bbdeeab (patch) | |
tree | 97d86fe3a03114be08aac12a7097aa80ac03bc2a /doxygen/xml/classcmd2_1_1Cmd2TestCase.xml | |
download | cmd2-aa19e3b9c9f03f7320c2d5470fa977ed0bbdeeab.tar.gz |
Initial import.
Copy of the Python module cmd2 by Catherine Devlin. Note that this is
NOT the official copy (it’s at
http://www.assembla.com/spaces/python-cmd2/wiki ). I’d rather just
work using git + GitHub instead of hg + Assembla. ☺
OTOH, I fully intend to submit changes back to the official repo on
Assembla—so don’t be shy, fork away. I’m happy for any help!
Diffstat (limited to 'doxygen/xml/classcmd2_1_1Cmd2TestCase.xml')
-rw-r--r-- | doxygen/xml/classcmd2_1_1Cmd2TestCase.xml | 226 |
1 files changed, 226 insertions, 0 deletions
diff --git a/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml b/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml new file mode 100644 index 0000000..b5e8d40 --- /dev/null +++ b/doxygen/xml/classcmd2_1_1Cmd2TestCase.xml @@ -0,0 +1,226 @@ +<?xml version='1.0' encoding='UTF-8' standalone='no'?> +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.5.1"> + <compounddef id="classcmd2_1_1Cmd2TestCase" kind="class" prot="public"> + <compoundname>cmd2::Cmd2TestCase</compoundname> + <sectiondef kind="public-static-attrib"> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1a946827bef7050042cee99d3749c976d0" prot="public" static="yes" mutable="no"> + <type>tuple</type> + <definition>tuple cmd2::Cmd2TestCase::anyWhitespace</definition> + <argsstring></argsstring> + <name>anyWhitespace</name> + <initializer>re.compile(r'\s', re.DOTALL | re.MULTILINE)</initializer> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1505" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1505" bodyend="-1"/> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c" prot="public" static="yes" mutable="no"> + <type></type> + <definition>cmd2::Cmd2TestCase::CmdApp</definition> + <argsstring></argsstring> + <name>CmdApp</name> + <initializer>None</initializer> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1480" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1480" bodyend="-1"/> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1acc8585a2192f48e04a8eafd63348c590" compoundref="cmd2_8py" startline="1495" endline="1499">runTest</referencedby> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" compoundref="cmd2_8py" startline="1490" endline="1494">setUp</referencedby> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1a12a9839011a264bf817e646114523052" compoundref="cmd2_8py" startline="1563" endline="1566">tearDown</referencedby> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1af9574fde56ba05bc1532a6a028fb566d" prot="public" static="yes" mutable="no"> + <type></type> + <definition>cmd2::Cmd2TestCase::expectationParser</definition> + <argsstring></argsstring> + <name>expectationParser</name> + <initializer><ref refid="classcmd2_1_1Cmd2TestCase_1aa85409ff40b934d96ca1b3d3ff9e897d" kindref="member">regexPattern</ref>|<ref refid="classcmd2_1_1Cmd2TestCase_1a29b62f02c603b82014102babccd0c40e" kindref="member">notRegexPattern</ref></initializer> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1504" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1504" bodyend="-1"/> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1a29b62f02c603b82014102babccd0c40e" prot="public" static="yes" mutable="no"> + <type>tuple</type> + <definition>tuple cmd2::Cmd2TestCase::notRegexPattern</definition> + <argsstring></argsstring> + <name>notRegexPattern</name> + <initializer>pyparsing.Word(pyparsing.printables)</initializer> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1502" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1502" bodyend="-1"/> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1aa85409ff40b934d96ca1b3d3ff9e897d" prot="public" static="yes" mutable="no"> + <type>tuple</type> + <definition>tuple cmd2::Cmd2TestCase::regexPattern</definition> + <argsstring></argsstring> + <name>regexPattern</name> + <initializer>pyparsing.QuotedString(quoteChar=r'/', escChar='\\', multiline=True, unquoteResults=True)</initializer> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1500" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1500" bodyend="-1"/> + </memberdef> + </sectiondef> + <sectiondef kind="public-attrib"> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c" prot="public" static="no" mutable="no"> + <type></type> + <definition>cmd2::Cmd2TestCase::cmdapp</definition> + <argsstring></argsstring> + <name>cmdapp</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1490" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1490" bodyend="-1"/> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1aaad687718f366338a76f83cb6547a258" compoundref="cmd2_8py" startline="1506" endline="1562">_test_transcript</referencedby> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" compoundref="cmd2_8py" startline="1490" endline="1494">setUp</referencedby> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1adeb5a7b735ad3b7f23a3c44d15ad283e" prot="public" static="no" mutable="no"> + <type></type> + <definition>cmd2::Cmd2TestCase::outputTrap</definition> + <argsstring></argsstring> + <name>outputTrap</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1490" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1490" bodyend="-1"/> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" compoundref="cmd2_8py" startline="1490" endline="1494">setUp</referencedby> + </memberdef> + <memberdef kind="variable" id="classcmd2_1_1Cmd2TestCase_1ad319aa2e1874f60202610e5b8de33dbb" prot="public" static="no" mutable="no"> + <type></type> + <definition>cmd2::Cmd2TestCase::transcripts</definition> + <argsstring></argsstring> + <name>transcripts</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1481" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1481" bodyend="-1"/> + </memberdef> + </sectiondef> + <sectiondef kind="public-func"> + <memberdef kind="function" id="classcmd2_1_1Cmd2TestCase_1ad82fc3489ffaf8ae227e7b122df389e0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>def</type> + <definition>def cmd2::Cmd2TestCase::fetchTranscripts</definition> + <argsstring></argsstring> + <name>fetchTranscripts</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1481" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1481" bodyend="1489"/> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" compoundref="cmd2_8py" startline="1490" endline="1494">setUp</referencedby> + </memberdef> + <memberdef kind="function" id="classcmd2_1_1Cmd2TestCase_1acc8585a2192f48e04a8eafd63348c590" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>def</type> + <definition>def cmd2::Cmd2TestCase::runTest</definition> + <argsstring></argsstring> + <name>runTest</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1495" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1495" bodyend="1499"/> + <references refid="classcmd2_1_1Cmd2TestCase_1aaad687718f366338a76f83cb6547a258" compoundref="cmd2_8py" startline="1506" endline="1562">_test_transcript</references> + <references refid="classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c" compoundref="cmd2_8py" startline="1480">CmdApp</references> + </memberdef> + <memberdef kind="function" id="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>def</type> + <definition>def cmd2::Cmd2TestCase::setUp</definition> + <argsstring></argsstring> + <name>setUp</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1490" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1490" bodyend="1494"/> + <references refid="classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c" compoundref="cmd2_8py" startline="1480">CmdApp</references> + <references refid="classcmd2_1_1Cmd2TestCase_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c" compoundref="cmd2_8py" startline="1490">cmdapp</references> + <references refid="classcmd2_1_1Cmd2TestCase_1ad82fc3489ffaf8ae227e7b122df389e0" compoundref="cmd2_8py" startline="1481" endline="1489">fetchTranscripts</references> + <references refid="classcmd2_1_1Cmd2TestCase_1adeb5a7b735ad3b7f23a3c44d15ad283e" compoundref="cmd2_8py" startline="1490">outputTrap</references> + </memberdef> + <memberdef kind="function" id="classcmd2_1_1Cmd2TestCase_1a12a9839011a264bf817e646114523052" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>def</type> + <definition>def cmd2::Cmd2TestCase::tearDown</definition> + <argsstring></argsstring> + <name>tearDown</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1563" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1563" bodyend="1566"/> + <references refid="classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c" compoundref="cmd2_8py" startline="1480">CmdApp</references> + </memberdef> + </sectiondef> + <sectiondef kind="private-func"> + <memberdef kind="function" id="classcmd2_1_1Cmd2TestCase_1aaad687718f366338a76f83cb6547a258" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>def</type> + <definition>def cmd2::Cmd2TestCase::_test_transcript</definition> + <argsstring></argsstring> + <name>_test_transcript</name> + <briefdescription> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1506" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1506" bodyend="1562"/> + <references refid="classcmd2_1_1Cmd2TestCase_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c" compoundref="cmd2_8py" startline="1490">cmdapp</references> + <referencedby refid="classcmd2_1_1Cmd2TestCase_1acc8585a2192f48e04a8eafd63348c590" compoundref="cmd2_8py" startline="1495" endline="1499">runTest</referencedby> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> +<para><verbatim>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</verbatim> </para> </detaileddescription> + <location file="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" line="1479" bodyfile="/Users/amrogers/Developer/Projects/cmd2/cmd2.py" bodystart="1476" bodyend="1567"/> + <listofallmembers> + <member refid="classcmd2_1_1Cmd2TestCase_1aaad687718f366338a76f83cb6547a258" prot="private" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>_test_transcript</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1a946827bef7050042cee99d3749c976d0" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>anyWhitespace</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1ae3ce50557636abee00a3941461dd450c" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>CmdApp</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1acc7fc3df4fb04682fd1e4b2c4cc4cd3c" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>cmdapp</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1af9574fde56ba05bc1532a6a028fb566d" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>expectationParser</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1ad82fc3489ffaf8ae227e7b122df389e0" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>fetchTranscripts</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1a29b62f02c603b82014102babccd0c40e" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>notRegexPattern</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1adeb5a7b735ad3b7f23a3c44d15ad283e" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>outputTrap</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1aa85409ff40b934d96ca1b3d3ff9e897d" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>regexPattern</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1acc8585a2192f48e04a8eafd63348c590" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>runTest</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1a5892c02ac5ee5a25c47bbfa1c648647b" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>setUp</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1a12a9839011a264bf817e646114523052" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>tearDown</name></member> + <member refid="classcmd2_1_1Cmd2TestCase_1ad319aa2e1874f60202610e5b8de33dbb" prot="public" virt="non-virtual"><scope>cmd2::Cmd2TestCase</scope><name>transcripts</name></member> + </listofallmembers> + </compounddef> +</doxygen> |