Location: PHPKode > projects > PHP on Trax > johnpipi-trax-f599562/trax/doc/PHPonTraxTest/HelpersTest.html
<html>
<head>
<title>Docs For Class HelpersTest</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: HelpersTest</h1>
Source Location: /test/HelpersTest.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
   |
   --HelpersTest</pre><br />
<div class="description">Test class for Helpers.</div><br /><br />







</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodmain">main</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodsetUp">setUp</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtearDown">tearDown</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestBoolean_attribute">testBoolean_attribute</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestCdata_section">testCdata_section</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestContent_tag">testContent_tag</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestConvert_options">testConvert_options</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestObject">testObject</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestTag">testTag</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestTo_content_tag">testTo_content_tag</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtestValue">testValue</a></li>
    <li><a href="../PHPonTraxTest/HelpersTest.html#methodtest__construct">test__construct</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__testHelpersTest.php.html#a77">77</a>]<br />
Test class for Helpers.<br /><br /><p>Generated by PHPUnit2_Util_Skeleton on 2006-03-01 at 13:23:35.</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__testHelpersTest.php.html#a84">84</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>&nbsp;&nbsp;</td><td></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</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__testHelpersTest.php.html#a97">97</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>&nbsp;&nbsp;</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__testHelpersTest.php.html#a109">109</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>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestBoolean_attribute"></a>
	<h3>method testBoolean_attribute <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a201">201</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 testBoolean_attribute(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test boolean_attribute().<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestCdata_section"></a>
	<h3>method testCdata_section <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a144">144</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 testCdata_section(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test cdata_section().<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestContent_tag"></a>
	<h3>method testContent_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a180">180</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 testContent_tag(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test content_tag()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestConvert_options"></a>
	<h3>method testConvert_options <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a211">211</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 testConvert_options(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test convert_options().<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestObject"></a>
	<h3>method testObject <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a228">228</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 testObject(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test object()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestTag"></a>
	<h3>method testTag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a157">157</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 testTag(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test tag()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestTo_content_tag"></a>
	<h3>method testTo_content_tag <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a255">255</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 testTo_content_tag(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Implement testTo_content_tag().</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtestValue"></a>
	<h3>method testValue <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a247">247</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 testValue(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Implement testValue().</td>
  </tr>
</table>
</div>
<br /><br />


        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodtest__construct"></a>
	<h3>method test__construct <span class="smalllinenumber">[line <a href="..//__filesource/fsource_PHPonTraxTest__testHelpersTest.php.html#a117">117</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 test__construct(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Test constructor<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
  <tr>
    <td><b>todo:</b>&nbsp;&nbsp;</td><td>Figure out how to test first argument</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:45 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>
Return current item: PHP on Trax