PHPonTraxTest
[ class tree: PHPonTraxTest ] [ index: PHPonTraxTest ] [ all elements ]

Source for file ActionMailerTest.php

Documentation is available at ActionMailerTest.php

  1. <?php
  2. /**
  3. * File for the ActionMailerTest class
  4. *
  5. * (PHP 5)
  6. *
  7. * @package PHPonTraxTest
  8. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  9. * @copyright (c) Walter O. Haas 2006
  10. * @version $Id: ActionMailerTest.php 192 2006-03-27 22:02:53Z haas $
  11. * @author Walt Haas <haas@xmission.com>
  12. */
  13.  
  14. echo "testing ActionMailer\n";
  15. require_once 'testenv.php';
  16.  
  17. // Call ActionMailerTest::main() if this source file is executed directly.
  18. if (!defined("PHPUnit2_MAIN_METHOD")) {
  19. define("PHPUnit2_MAIN_METHOD", "ActionMailerTest::main");
  20. }
  21.  
  22. require_once "PHPUnit2/Framework/TestCase.php";
  23. require_once "PHPUnit2/Framework/TestSuite.php";
  24.  
  25. // You may remove the following line when all tests have been implemented.
  26. require_once "PHPUnit2/Framework/IncompleteTestError.php";
  27.  
  28. require_once "action_mailer.php";
  29.  
  30. /**
  31. * Test class for ActionMailer.
  32. * Generated by PHPUnit2_Util_Skeleton on 2006-03-01 at 13:18:09.
  33. */
  34. class ActionMailerTest extends PHPUnit2_Framework_TestCase {
  35. /**
  36. * Runs the test methods of this class.
  37. *
  38. * @access public
  39. * @static
  40. */
  41. public static function main() {
  42. require_once "PHPUnit2/TextUI/TestRunner.php";
  43.  
  44. $suite = new PHPUnit2_Framework_TestSuite("ActionMailerTest");
  45. $result = PHPUnit2_TextUI_TestRunner::run($suite);
  46. }
  47.  
  48. /**
  49. * Sets up the fixture, for example, open a network connection.
  50. * This method is called before a test is executed.
  51. *
  52. * @access protected
  53. */
  54. protected function setUp() {
  55. }
  56.  
  57. /**
  58. * Tears down the fixture, for example, close a network connection.
  59. * This method is called after a test is executed.
  60. *
  61. * @access protected
  62. */
  63. protected function tearDown() {
  64. }
  65.  
  66. /**
  67. * @todo Implement testAdd_to_address().
  68. */
  69. public function testAdd_to_address() {
  70. // Remove the following line when you implement this test.
  71. throw new PHPUnit2_Framework_IncompleteTestError;
  72. }
  73.  
  74. /**
  75. * @todo Implement testAdd_cc_address().
  76. */
  77. public function testAdd_cc_address() {
  78. // Remove the following line when you implement this test.
  79. throw new PHPUnit2_Framework_IncompleteTestError;
  80. }
  81.  
  82. /**
  83. * @todo Implement testAdd_bcc_address().
  84. */
  85. public function testAdd_bcc_address() {
  86. // Remove the following line when you implement this test.
  87. throw new PHPUnit2_Framework_IncompleteTestError;
  88. }
  89.  
  90. /**
  91. * @todo Implement testAdd_replyto_address().
  92. */
  93. public function testAdd_replyto_address() {
  94. // Remove the following line when you implement this test.
  95. throw new PHPUnit2_Framework_IncompleteTestError;
  96. }
  97.  
  98. /**
  99. * @todo Implement testSet_from_address().
  100. */
  101. public function testSet_from_address() {
  102. // Remove the following line when you implement this test.
  103. throw new PHPUnit2_Framework_IncompleteTestError;
  104. }
  105.  
  106. /**
  107. * @todo Implement testSet_text_body().
  108. */
  109. public function testSet_text_body() {
  110. // Remove the following line when you implement this test.
  111. throw new PHPUnit2_Framework_IncompleteTestError;
  112. }
  113.  
  114. /**
  115. * @todo Implement testSet_html_body().
  116. */
  117. public function testSet_html_body() {
  118. // Remove the following line when you implement this test.
  119. throw new PHPUnit2_Framework_IncompleteTestError;
  120. }
  121.  
  122. /**
  123. * @todo Implement testSet_subject().
  124. */
  125. public function testSet_subject() {
  126. // Remove the following line when you implement this test.
  127. throw new PHPUnit2_Framework_IncompleteTestError;
  128. }
  129.  
  130. /**
  131. * @todo Implement testAdd_attachment().
  132. */
  133. public function testAdd_attachment() {
  134. // Remove the following line when you implement this test.
  135. throw new PHPUnit2_Framework_IncompleteTestError;
  136. }
  137.  
  138. /**
  139. * @todo Implement testFormat_address().
  140. */
  141. public function testFormat_address() {
  142. // Remove the following line when you implement this test.
  143. throw new PHPUnit2_Framework_IncompleteTestError;
  144. }
  145.  
  146. /**
  147. * @todo Implement testValidate_email().
  148. */
  149. public function testValidate_email() {
  150. // Remove the following line when you implement this test.
  151. throw new PHPUnit2_Framework_IncompleteTestError;
  152. }
  153.  
  154. /**
  155. * @todo Implement testSet_header_line().
  156. */
  157. public function testSet_header_line() {
  158. // Remove the following line when you implement this test.
  159. throw new PHPUnit2_Framework_IncompleteTestError;
  160. }
  161.  
  162. /**
  163. * @todo Implement testSet_headers().
  164. */
  165. public function testSet_headers() {
  166. // Remove the following line when you implement this test.
  167. throw new PHPUnit2_Framework_IncompleteTestError;
  168. }
  169.  
  170. /**
  171. * @todo Implement testSend().
  172. */
  173. public function testSend() {
  174. // Remove the following line when you implement this test.
  175. throw new PHPUnit2_Framework_IncompleteTestError;
  176. }
  177. }
  178.  
  179. // Call ActionMailerTest::main() if this source file is executed directly.
  180. if (PHPUnit2_MAIN_METHOD == "ActionMailerTest::main") {
  181. ActionMailerTest::main();
  182. }
  183.  
  184. // -- set Emacs parameters --
  185. // Local variables:
  186. // tab-width: 4
  187. // c-basic-offset: 4
  188. // c-hanging-comment-ender-p: nil
  189. // indent-tabs-mode: nil
  190. // End:
  191. ?>

Documentation generated on Thu, 04 May 2006 19:46:59 -0600 by phpDocumentor 1.3.0RC4