| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <title>PHP On Trax Test</title> |
|---|
| 4 | <link rel="stylesheet" type="text/css" href="media/style.css"> |
|---|
| 5 | </head> |
|---|
| 6 | <body> |
|---|
| 7 | |
|---|
| 8 | <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> |
|---|
| 9 | <tr> |
|---|
| 10 | <td class="header_top">PHPonTraxTest</td> |
|---|
| 11 | </tr> |
|---|
| 12 | <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr> |
|---|
| 13 | <tr> |
|---|
| 14 | <td class="header_menu"> |
|---|
| 15 | [ <a href="classtrees_PHPonTraxTest.html" class="menu">class tree: PHPonTraxTest</a> ] |
|---|
| 16 | [ <a href="elementindex_PHPonTraxTest.html" class="menu">index: PHPonTraxTest</a> ] |
|---|
| 17 | [ <a href="elementindex.html" class="menu">all elements</a> ] |
|---|
| 18 | </td> |
|---|
| 19 | </tr> |
|---|
| 20 | <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr> |
|---|
| 21 | </table> |
|---|
| 22 | |
|---|
| 23 | <table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|---|
| 24 | <tr valign="top"> |
|---|
| 25 | <td width="200" class="menu"> |
|---|
| 26 | <div id="todolist"> |
|---|
| 27 | <p><a href="todolist.html">Todo List</a></p> |
|---|
| 28 | </div> |
|---|
| 29 | <b>Packages:</b><br /> |
|---|
| 30 | <a href="li_PHPonTrax.html">PHPonTrax</a><br /> |
|---|
| 31 | <a href="li_PHPonTraxTest.html">PHPonTraxTest</a><br /> |
|---|
| 32 | <br /><br /> |
|---|
| 33 | <b>Tutorials/Manuals:</b><br /> |
|---|
| 34 | <strong>Package-level:</strong> |
|---|
| 35 | <ul> |
|---|
| 36 | <li type="square"><a href="PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html">PHP On Trax Test</a> |
|---|
| 37 | </ul> |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | <b>Files:</b><br /> |
|---|
| 41 | <div class="package"> |
|---|
| 42 | <a href="PHPonTraxTest/_test_ActionControllerErrorTest_php.html"> ActionControllerErrorTest.php |
|---|
| 43 | </a><br> |
|---|
| 44 | <a href="PHPonTraxTest/_test_ActionControllerTest_php.html"> ActionControllerTest.php |
|---|
| 45 | </a><br> |
|---|
| 46 | <a href="PHPonTraxTest/_test_ActionMailerTest_php.html"> ActionMailerTest.php |
|---|
| 47 | </a><br> |
|---|
| 48 | <a href="PHPonTraxTest/_test_mockActionController_action_controller_php.html"> action_controller.php |
|---|
| 49 | </a><br> |
|---|
| 50 | <a href="PHPonTraxTest/_test_ActiveRecordErrorTest_php.html"> ActiveRecordErrorTest.php |
|---|
| 51 | </a><br> |
|---|
| 52 | <a href="PHPonTraxTest/_test_ActiveRecordHelperTest_php.html"> ActiveRecordHelperTest.php |
|---|
| 53 | </a><br> |
|---|
| 54 | <a href="PHPonTraxTest/_test_ActiveRecordTest_php.html"> ActiveRecordTest.php |
|---|
| 55 | </a><br> |
|---|
| 56 | <a href="PHPonTraxTest/_test_mockActiveRecord_active_record_php.html"> active_record.php |
|---|
| 57 | </a><br> |
|---|
| 58 | <a href="PHPonTraxTest/_test_controllers_application_php.html"> application.php |
|---|
| 59 | </a><br> |
|---|
| 60 | <a href="PHPonTraxTest/_test_ApplicationControllerTest_php.html"> ApplicationControllerTest.php |
|---|
| 61 | </a><br> |
|---|
| 62 | <a href="PHPonTraxTest/_test_ApplicationMailerTest_php.html"> ApplicationMailerTest.php |
|---|
| 63 | </a><br> |
|---|
| 64 | <a href="PHPonTraxTest/_test_AssetTagHelperTest_php.html"> AssetTagHelperTest.php |
|---|
| 65 | </a><br> |
|---|
| 66 | <a href="PHPonTraxTest/_test_controllers_catalog_controller_php.html"> catalog_controller.php |
|---|
| 67 | </a><br> |
|---|
| 68 | <a href="PHPonTraxTest/_test_DateHelperTest_php.html"> DateHelperTest.php |
|---|
| 69 | </a><br> |
|---|
| 70 | <a href="PHPonTraxTest/_test_mockDB_DB_php.html"> DB.php |
|---|
| 71 | </a><br> |
|---|
| 72 | <a href="PHPonTraxTest/_test_DispatcherTest_php.html"> DispatcherTest.php |
|---|
| 73 | </a><br> |
|---|
| 74 | <a href="PHPonTraxTest/_test_FormHelperTest_php.html"> FormHelperTest.php |
|---|
| 75 | </a><br> |
|---|
| 76 | <a href="PHPonTraxTest/_test_FormOptionsHelperTest_php.html"> FormOptionsHelperTest.php |
|---|
| 77 | </a><br> |
|---|
| 78 | <a href="PHPonTraxTest/_test_FormTagHelperTest_php.html"> FormTagHelperTest.php |
|---|
| 79 | </a><br> |
|---|
| 80 | <a href="PHPonTraxTest/_test_HelpersTest_php.html"> HelpersTest.php |
|---|
| 81 | </a><br> |
|---|
| 82 | <a href="PHPonTraxTest/_test_InflectorTest_php.html"> InflectorTest.php |
|---|
| 83 | </a><br> |
|---|
| 84 | <a href="PHPonTraxTest/_test_InputFilterTest_php.html"> InputFilterTest.php |
|---|
| 85 | </a><br> |
|---|
| 86 | <a href="PHPonTraxTest/_test_JavaScriptHelperTest_php.html"> JavaScriptHelperTest.php |
|---|
| 87 | </a><br> |
|---|
| 88 | <a href="PHPonTraxTest/_test_controllers_noclass_controller_php.html"> noclass_controller.php |
|---|
| 89 | </a><br> |
|---|
| 90 | <a href="PHPonTraxTest/_test_RouterTest_php.html"> RouterTest.php |
|---|
| 91 | </a><br> |
|---|
| 92 | <a href="PHPonTraxTest/_test_config_routes_php.html"> routes.php |
|---|
| 93 | </a><br> |
|---|
| 94 | <a href="PHPonTraxTest/_test_runtests_php.html"> runtests.php |
|---|
| 95 | </a><br> |
|---|
| 96 | <a href="PHPonTraxTest/_test_ScaffoldControllerTest_php.html"> ScaffoldControllerTest.php |
|---|
| 97 | </a><br> |
|---|
| 98 | <a href="PHPonTraxTest/_test_SessionTest_php.html"> SessionTest.php |
|---|
| 99 | </a><br> |
|---|
| 100 | <a href="PHPonTraxTest/_test_testenv_php.html"> testenv.php |
|---|
| 101 | </a><br> |
|---|
| 102 | <a href="PHPonTraxTest/_test_TraxErrorTest_php.html"> TraxErrorTest.php |
|---|
| 103 | </a><br> |
|---|
| 104 | <a href="PHPonTraxTest/_test_TraxGeneratorTest_php.html"> TraxGeneratorTest.php |
|---|
| 105 | </a><br> |
|---|
| 106 | <a href="PHPonTraxTest/_test_UrlHelperTest_php.html"> UrlHelperTest.php |
|---|
| 107 | </a><br> |
|---|
| 108 | </div><br /> |
|---|
| 109 | |
|---|
| 110 | |
|---|
| 111 | <b>Classes:</b><br /> |
|---|
| 112 | <div class="package"> |
|---|
| 113 | <a href="PHPonTraxTest/ActionController.html">ActionController</a><br /> |
|---|
| 114 | <a href="PHPonTraxTest/ActionControllerErrorTest.html">ActionControllerErrorTest</a><br /> |
|---|
| 115 | <a href="PHPonTraxTest/ActionControllerTest.html">ActionControllerTest</a><br /> |
|---|
| 116 | <a href="PHPonTraxTest/ActionMailerTest.html">ActionMailerTest</a><br /> |
|---|
| 117 | <a href="PHPonTraxTest/ActiveRecord.html">ActiveRecord</a><br /> |
|---|
| 118 | <a href="PHPonTraxTest/ActiveRecordErrorTest.html">ActiveRecordErrorTest</a><br /> |
|---|
| 119 | <a href="PHPonTraxTest/ActiveRecordHelperTest.html">ActiveRecordHelperTest</a><br /> |
|---|
| 120 | <a href="PHPonTraxTest/ActiveRecordTest.html">ActiveRecordTest</a><br /> |
|---|
| 121 | <a href="PHPonTraxTest/ApplicationControllerTest.html">ApplicationControllerTest</a><br /> |
|---|
| 122 | <a href="PHPonTraxTest/ApplicationMailerTest.html">ApplicationMailerTest</a><br /> |
|---|
| 123 | <a href="PHPonTraxTest/AssetTagHelperTest.html">AssetTagHelperTest</a><br /> |
|---|
| 124 | <a href="PHPonTraxTest/CatalogController.html">CatalogController</a><br /> |
|---|
| 125 | <a href="PHPonTraxTest/DataType.html">DataType</a><br /> |
|---|
| 126 | <a href="PHPonTraxTest/DateHelperTest.html">DateHelperTest</a><br /> |
|---|
| 127 | <a href="PHPonTraxTest/DB.html">DB</a><br /> |
|---|
| 128 | <a href="PHPonTraxTest/DB_common.html">DB_common</a><br /> |
|---|
| 129 | <a href="PHPonTraxTest/DB_Error.html">DB_Error</a><br /> |
|---|
| 130 | <a href="PHPonTraxTest/DB_find_all_result.html">DB_find_all_result</a><br /> |
|---|
| 131 | <a href="PHPonTraxTest/DB_mysql.html">DB_mysql</a><br /> |
|---|
| 132 | <a href="PHPonTraxTest/DB_result.html">DB_result</a><br /> |
|---|
| 133 | <a href="PHPonTraxTest/DB_row.html">DB_row</a><br /> |
|---|
| 134 | <a href="PHPonTraxTest/DispatcherTest.html">DispatcherTest</a><br /> |
|---|
| 135 | <a href="PHPonTraxTest/DummyController.html">DummyController</a><br /> |
|---|
| 136 | <a href="PHPonTraxTest/ExDateHelper.html">ExDateHelper</a><br /> |
|---|
| 137 | <a href="PHPonTraxTest/ExtHelpers.html">ExtHelpers</a><br /> |
|---|
| 138 | <a href="PHPonTraxTest/FormHelperTest.html">FormHelperTest</a><br /> |
|---|
| 139 | <a href="PHPonTraxTest/FormOptionsHelperTest.html">FormOptionsHelperTest</a><br /> |
|---|
| 140 | <a href="PHPonTraxTest/FormTagHelperTest.html">FormTagHelperTest</a><br /> |
|---|
| 141 | <a href="PHPonTraxTest/HelpersTest.html">HelpersTest</a><br /> |
|---|
| 142 | <a href="PHPonTraxTest/InflectorTest.html">InflectorTest</a><br /> |
|---|
| 143 | <a href="PHPonTraxTest/InputFilterTest.html">InputFilterTest</a><br /> |
|---|
| 144 | <a href="PHPonTraxTest/JavaScriptHelperTest.html">JavaScriptHelperTest</a><br /> |
|---|
| 145 | <a href="PHPonTraxTest/PersonName.html">PersonName</a><br /> |
|---|
| 146 | <a href="PHPonTraxTest/RouterTest.html">RouterTest</a><br /> |
|---|
| 147 | <a href="PHPonTraxTest/ScaffoldControllerTest.html">ScaffoldControllerTest</a><br /> |
|---|
| 148 | <a href="PHPonTraxTest/SessionTest.html">SessionTest</a><br /> |
|---|
| 149 | <a href="PHPonTraxTest/TraxErrorTest.html">TraxErrorTest</a><br /> |
|---|
| 150 | <a href="PHPonTraxTest/TraxGeneratorTest.html">TraxGeneratorTest</a><br /> |
|---|
| 151 | <a href="PHPonTraxTest/UrlHelperTest.html">UrlHelperTest</a><br /> |
|---|
| 152 | </div> |
|---|
| 153 | |
|---|
| 154 | </td> |
|---|
| 155 | <td> |
|---|
| 156 | <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top"> |
|---|
| 157 | |
|---|
| 158 | <table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|---|
| 159 | <tr> |
|---|
| 160 | <td width="10%" align="left" valign="bottom"><a href= |
|---|
| 161 | "PHPonTrax/tutorial_ApplicationMailer.cls.html">Prev</a></td> |
|---|
| 162 | <td width="80%" align="center" valign="bottom"></td> |
|---|
| 163 | <td width="10%" align="right" valign="bottom">Next</td> |
|---|
| 164 | </tr> |
|---|
| 165 | </table> |
|---|
| 166 | <div><a name="rails_examples."></a><div class="ref-title-box">PHP On Trax Test<h1 class="ref-title">PHP On Trax Test</h1> |
|---|
| 167 | <h2 class="ref-purpose">Regression test of the PHPonTrax package</h2></div> |
|---|
| 168 | <div class="ref-synopsis"><span class="author">Walt Haas |
|---|
| 169 | <div class="author-blurb"><a href="mailto:haas@xmission.com">haas@xmission.com</a></div></span></div> |
|---|
| 170 | <h1 align="center">Table of Contents</h1> |
|---|
| 171 | <ul> |
|---|
| 172 | |
|---|
| 173 | <a href="PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html#rails_examples.intro">Introduction</a><br /> |
|---|
| 174 | </ul> |
|---|
| 175 | |
|---|
| 176 | <span><a name="rails_examples.intro"></a><h2 class="title">Introduction</h2><p>This directory contains a collection of unit tests for the Trax |
|---|
| 177 | package. To run these tests, you must have PHP available to run from |
|---|
| 178 | your command line (not just your web server). The tests are run using |
|---|
| 179 | PHPUnit2. |
|---|
| 180 | |
|---|
| 181 | PHPUnit2 is a standard part of the PEAR library (http://pear.php.net). |
|---|
| 182 | You can install PHPUnit2 on your system using pear with the command: |
|---|
| 183 | |
|---|
| 184 | pear install PHPUnit2 |
|---|
| 185 | |
|---|
| 186 | The documentation for PHPUnit2 is at |
|---|
| 187 | http://pear.php.net/package/PHPUnit2 |
|---|
| 188 | |
|---|
| 189 | These tests do not require any of the other additional packages that |
|---|
| 190 | you may see mentioned in messages from the installation of PHPUnit2. |
|---|
| 191 | |
|---|
| 192 | With PHPUnit2 installed on your system, connect to this |
|---|
| 193 | directory and type |
|---|
| 194 | |
|---|
| 195 | php runtests.php |
|---|
| 196 | |
|---|
| 197 | on the command line. All tests will be run automatically. |
|---|
| 198 | (on Linux and other Unix-like systems, you can type ./runtests.php) |
|---|
| 199 | |
|---|
| 200 | Or you can run a single test, for example the test of the ActiveRecord |
|---|
| 201 | class, from the command line: |
|---|
| 202 | |
|---|
| 203 | phpunit ActiveRecord |
|---|
| 204 | |
|---|
| 205 | (on Linux and other Unix-like systems, you can type ./ActiveRecord.php)</p></span></div> |
|---|
| 206 | <table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|---|
| 207 | <tr> |
|---|
| 208 | <td width="33%" align="left" valign="top"><a href="PHPonTrax/tutorial_ApplicationMailer.cls.html">Prev</a></td> |
|---|
| 209 | <td width="34%" align="center" valign="top"> </td> |
|---|
| 210 | <td width="33%" align="right" valign="top">Next</td> |
|---|
| 211 | </tr> |
|---|
| 212 | |
|---|
| 213 | <tr> |
|---|
| 214 | <td width="33%" align="left" valign="top">ApplicationMailer</td> |
|---|
| 215 | <td width="34%" align="center" valign="top"></td> |
|---|
| 216 | <td width="33%" align="right" valign="top"></td> |
|---|
| 217 | </tr> |
|---|
| 218 | </table> |
|---|
| 219 | <div class="credit"> |
|---|
| 220 | <hr /> |
|---|
| 221 | Documentation generated on Thu, 04 May 2006 19:46:56 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a> |
|---|
| 222 | </div> |
|---|
| 223 | </td></tr></table> |
|---|
| 224 | </td> |
|---|
| 225 | </tr> |
|---|
| 226 | </table> |
|---|
| 227 | |
|---|
| 228 | </body> |
|---|
| 229 | </html> |
|---|