<html>
<head>
<title>Docs For Class InflectorTest</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPonTraxTest</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_PHPonTraxTest.html" class="menu">class tree: PHPonTraxTest</a> ]
[ <a href="../elementindex_PHPonTraxTest.html" class="menu">index: PHPonTraxTest</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_PHPonTrax.html">PHPonTrax</a><br />
<a href="../li_PHPonTraxTest.html">PHPonTraxTest</a><br />
<br /><br />
<b>Tutorials/Manuals:</b><br />
<strong>Package-level:</strong>
<ul>
<li type="square"><a href="../PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html">PHP On Trax Test</a>
</ul>
<b>Files:</b><br />
<div class="package">
<a href="../PHPonTraxTest/_test_ActionControllerErrorTest_php.html"> ActionControllerErrorTest.php
</a><br>
<a href="../PHPonTraxTest/_test_ActionControllerTest_php.html"> ActionControllerTest.php
</a><br>
<a href="../PHPonTraxTest/_test_ActionMailerTest_php.html"> ActionMailerTest.php
</a><br>
<a href="../PHPonTraxTest/_test_mockActionController_action_controller_php.html"> action_controller.php
</a><br>
<a href="../PHPonTraxTest/_test_ActiveRecordErrorTest_php.html"> ActiveRecordErrorTest.php
</a><br>
<a href="../PHPonTraxTest/_test_ActiveRecordHelperTest_php.html"> ActiveRecordHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_ActiveRecordTest_php.html"> ActiveRecordTest.php
</a><br>
<a href="../PHPonTraxTest/_test_mockActiveRecord_active_record_php.html"> active_record.php
</a><br>
<a href="../PHPonTraxTest/_test_controllers_application_php.html"> application.php
</a><br>
<a href="../PHPonTraxTest/_test_ApplicationControllerTest_php.html"> ApplicationControllerTest.php
</a><br>
<a href="../PHPonTraxTest/_test_ApplicationMailerTest_php.html"> ApplicationMailerTest.php
</a><br>
<a href="../PHPonTraxTest/_test_AssetTagHelperTest_php.html"> AssetTagHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_controllers_catalog_controller_php.html"> catalog_controller.php
</a><br>
<a href="../PHPonTraxTest/_test_DateHelperTest_php.html"> DateHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_mockDB_DB_php.html"> DB.php
</a><br>
<a href="../PHPonTraxTest/_test_DispatcherTest_php.html"> DispatcherTest.php
</a><br>
<a href="../PHPonTraxTest/_test_FormHelperTest_php.html"> FormHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_FormOptionsHelperTest_php.html"> FormOptionsHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_FormTagHelperTest_php.html"> FormTagHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_HelpersTest_php.html"> HelpersTest.php
</a><br>
<a href="../PHPonTraxTest/_test_InflectorTest_php.html"> InflectorTest.php
</a><br>
<a href="../PHPonTraxTest/_test_InputFilterTest_php.html"> InputFilterTest.php
</a><br>
<a href="../PHPonTraxTest/_test_JavaScriptHelperTest_php.html"> JavaScriptHelperTest.php
</a><br>
<a href="../PHPonTraxTest/_test_controllers_noclass_controller_php.html"> noclass_controller.php
</a><br>
<a href="../PHPonTraxTest/_test_RouterTest_php.html"> RouterTest.php
</a><br>
<a href="../PHPonTraxTest/_test_config_routes_php.html"> routes.php
</a><br>
<a href="../PHPonTraxTest/_test_runtests_php.html"> runtests.php
</a><br>
<a href="../PHPonTraxTest/_test_ScaffoldControllerTest_php.html"> ScaffoldControllerTest.php
</a><br>
<a href="../PHPonTraxTest/_test_SessionTest_php.html"> SessionTest.php
</a><br>
<a href="../PHPonTraxTest/_test_testenv_php.html"> testenv.php
</a><br>
<a href="../PHPonTraxTest/_test_TraxErrorTest_php.html"> TraxErrorTest.php
</a><br>
<a href="../PHPonTraxTest/_test_TraxGeneratorTest_php.html"> TraxGeneratorTest.php
</a><br>
<a href="../PHPonTraxTest/_test_UrlHelperTest_php.html"> UrlHelperTest.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../PHPonTraxTest/ActionController.html">ActionController</a><br />
<a href="../PHPonTraxTest/ActionControllerErrorTest.html">ActionControllerErrorTest</a><br />
<a href="../PHPonTraxTest/ActionControllerTest.html">ActionControllerTest</a><br />
<a href="../PHPonTraxTest/ActionMailerTest.html">ActionMailerTest</a><br />
<a href="../PHPonTraxTest/ActiveRecord.html">ActiveRecord</a><br />
<a href="../PHPonTraxTest/ActiveRecordErrorTest.html">ActiveRecordErrorTest</a><br />
<a href="../PHPonTraxTest/ActiveRecordHelperTest.html">ActiveRecordHelperTest</a><br />
<a href="../PHPonTraxTest/ActiveRecordTest.html">ActiveRecordTest</a><br />
<a href="../PHPonTraxTest/ApplicationControllerTest.html">ApplicationControllerTest</a><br />
<a href="../PHPonTraxTest/ApplicationMailerTest.html">ApplicationMailerTest</a><br />
<a href="../PHPonTraxTest/AssetTagHelperTest.html">AssetTagHelperTest</a><br />
<a href="../PHPonTraxTest/CatalogController.html">CatalogController</a><br />
<a href="../PHPonTraxTest/DataType.html">DataType</a><br />
<a href="../PHPonTraxTest/DateHelperTest.html">DateHelperTest</a><br />
<a href="../PHPonTraxTest/DB.html">DB</a><br />
<a href="../PHPonTraxTest/DB_common.html">DB_common</a><br />
<a href="../PHPonTraxTest/DB_Error.html">DB_Error</a><br />
<a href="../PHPonTraxTest/DB_find_all_result.html">DB_find_all_result</a><br />
<a href="../PHPonTraxTest/DB_mysql.html">DB_mysql</a><br />
<a href="../PHPonTraxTest/DB_result.html">DB_result</a><br />
<a href="../PHPonTraxTest/DB_row.html">DB_row</a><br />
<a href="../PHPonTraxTest/DispatcherTest.html">DispatcherTest</a><br />
<a href="../PHPonTraxTest/DummyController.html">DummyController</a><br />
<a href="../PHPonTraxTest/ExDateHelper.html">ExDateHelper</a><br />
<a href="../PHPonTraxTest/ExtHelpers.html">ExtHelpers</a><br />
<a href="../PHPonTraxTest/FormHelperTest.html">FormHelperTest</a><br />
<a href="../PHPonTraxTest/FormOptionsHelperTest.html">FormOptionsHelperTest</a><br />
<a href="../PHPonTraxTest/FormTagHelperTest.html">FormTagHelperTest</a><br />
<a href="../PHPonTraxTest/HelpersTest.html">HelpersTest</a><br />
<a href="../PHPonTraxTest/InflectorTest.html">InflectorTest</a><br />
<a href="../PHPonTraxTest/InputFilterTest.html">InputFilterTest</a><br />
<a href="../PHPonTraxTest/JavaScriptHelperTest.html">JavaScriptHelperTest</a><br />
<a href="../PHPonTraxTest/PersonName.html">PersonName</a><br />
<a href="../PHPonTraxTest/RouterTest.html">RouterTest</a><br />
<a href="../PHPonTraxTest/ScaffoldControllerTest.html">ScaffoldControllerTest</a><br />
<a href="../PHPonTraxTest/SessionTest.html">SessionTest</a><br />
<a href="../PHPonTraxTest/TraxErrorTest.html">TraxErrorTest</a><br />
<a href="../PHPonTraxTest/TraxGeneratorTest.html">TraxGeneratorTest</a><br />
<a href="../PHPonTraxTest/UrlHelperTest.html">UrlHelperTest</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class: InflectorTest</h1>
Source Location: /test/InflectorTest.php<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre>PHPUnit2_Framework_TestCase
|
--InflectorTest</pre><br />
<div class="description">Test class for Inflector.</div><br /><br />
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodmain">main</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodsetUp">setUp</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtearDown">tearDown</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestCamelize">testCamelize</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestClassify">testClassify</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestForeign_key">testForeign_key</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestHumanize">testHumanize</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestPluralize">testPluralize</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestSingularize">testSingularize</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestTableize">testTableize</a></li>
<li><a href="../PHPonTraxTest/InflectorTest.html#methodtestUnderscore">testUnderscore</a></li>
</ul>
</td>
</tr></table>
<hr />
<table width="100%" border="0"><tr>
</tr></table>
<hr />
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a34">34</a>]<br />
Test class for Inflector.<br /><br /><p>Generated by PHPUnit2_Util_Skeleton on 2006-02-11 at 13:41:16.</p><br /></div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
<hr />
<a name="methodmain"></a>
<h3>method main <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a42">42</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void main(
)</code>
</td></tr></table>
</td></tr></table><br />
Runs the test methods of this class.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>static:</b> </td><td></td>
</tr>
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodsetUp"></a>
<h3>method setUp <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a55">55</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void setUp(
)</code>
</td></tr></table>
</td></tr></table><br />
Sets up the fixture, for example, open a network connection.<br /><br /><p>This method is called before a test is executed.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>protected</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtearDown"></a>
<h3>method tearDown <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a64">64</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void tearDown(
)</code>
</td></tr></table>
</td></tr></table><br />
Tears down the fixture, for example, close a network connection.<br /><br /><p>This method is called after a test is executed.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>protected</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestCamelize"></a>
<h3>method testCamelize <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a89">89</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testCamelize(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodcamelize">Inflector::camelize()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestClassify"></a>
<h3>method testClassify <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a126">126</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testClassify(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodclassify">Inflector::classify()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestForeign_key"></a>
<h3>method testForeign_key <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a136">136</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testForeign_key(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodforeign_key">Inflector::foreign_key()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestHumanize"></a>
<h3>method testHumanize <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a107">107</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testHumanize(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodhumanize">Inflector::humanize()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestPluralize"></a>
<h3>method testPluralize <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a70">70</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testPluralize(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodpluralize">Inflector::pluralize()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestSingularize"></a>
<h3>method testSingularize <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a79">79</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testSingularize(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodsingularize">Inflector::singularize()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestTableize"></a>
<h3>method testTableize <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a116">116</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testTableize(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodtableize">Inflector::tableize()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodtestUnderscore"></a>
<h3>method testUnderscore <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testInflectorTest.php.html#a98">98</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void testUnderscore(
)</code>
</td></tr></table>
</td></tr></table><br />
Test <a href="../PHPonTrax/Inflector.html#methodunderscore">Inflector::underscore()</a><br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div><br />
<div class="credit">
<hr />
Documentation generated on Thu, 04 May 2006 19:47:47 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>