Changeset 164
- Timestamp:
- 05/24/08 23:07:16 (8 months ago)
- Location:
- trunk/src/Stagehand/TestRunner
- Files:
-
- 1 added
- 1 removed
- 3 modified
-
IRunner.php (deleted)
-
Runner/Common.php (added)
-
Runner/PHPSpec.php (modified) (4 diffs)
-
Runner/PHPUnit.php (modified) (4 diffs)
-
Runner/SimpleTest.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Stagehand/TestRunner/Runner/PHPSpec.php
r163 r164 37 37 */ 38 38 39 require_once 'Stagehand/TestRunner/IRunner.php';40 39 require_once 'PHPSpec/Framework.php'; 41 40 require_once 'Stagehand/TestRunner/Runner/PHPSpec/Reporter.php'; 41 require_once 'Stagehand/TestRunner/Runner/Common.php'; 42 42 43 43 // {{{ Stagehand_TestRunner_Runner_PHPSpec … … 53 53 * @since Class available since Release 2.1.0 54 54 */ 55 class Stagehand_TestRunner_Runner_PHPSpec implements Stagehand_TestRunner_IRunner55 class Stagehand_TestRunner_Runner_PHPSpec extends Stagehand_TestRunner_Runner_Common 56 56 { 57 57 … … 73 73 * @access private 74 74 */ 75 76 private $_notification;77 75 78 76 /**#@-*/ … … 131 129 } 132 130 133 // }}}134 // {{{ getNotification()135 136 /**137 * Gets a notification object for Growl.138 *139 * @return stdClass140 */141 public function getNotification()142 {143 return $this->_notification;144 }145 146 131 /**#@-*/ 147 132 -
trunk/src/Stagehand/TestRunner/Runner/PHPUnit.php
r163 r164 39 39 define('PHPUnit_MAIN_METHOD', 'Stagehand_TestRunner_PHPUnit::run'); 40 40 41 require_once 'Stagehand/TestRunner/IRunner.php';42 41 require_once 'PHPUnit/TextUI/TestRunner.php'; 42 require_once 'Stagehand/TestRunner/Runner/Common.php'; 43 43 44 44 // {{{ Stagehand_TestRunner_Runner_PHPUnit … … 54 54 * @since Class available since Release 2.1.0 55 55 */ 56 class Stagehand_TestRunner_Runner_PHPUnit implements Stagehand_TestRunner_IRunner56 class Stagehand_TestRunner_Runner_PHPUnit extends Stagehand_TestRunner_Runner_Common 57 57 { 58 58 … … 74 74 * @access private 75 75 */ 76 77 private $_notification;78 76 79 77 /**#@-*/ … … 118 116 } 119 117 120 // }}}121 // {{{ getNotification()122 123 /**124 * Gets a notification object for Growl.125 *126 * @return stdClass127 */128 public function getNotification()129 {130 return $this->_notification;131 }132 133 118 /**#@-*/ 134 119 -
trunk/src/Stagehand/TestRunner/Runner/SimpleTest.php
r163 r164 39 39 */ 40 40 41 require_once 'Stagehand/TestRunner/IRunner.php';42 41 require_once 'simpletest/reporter.php'; 42 require_once 'Stagehand/TestRunner/Runner/Common.php'; 43 43 44 44 // {{{ Stagehand_TestRunner_Runner_SimpleTest … … 55 55 * @since Class available since Release 2.1.0 56 56 */ 57 class Stagehand_TestRunner_Runner_SimpleTest implements Stagehand_TestRunner_IRunner57 class Stagehand_TestRunner_Runner_SimpleTest extends Stagehand_TestRunner_Runner_Common 58 58 { 59 59 … … 75 75 * @access private 76 76 */ 77 78 private $_notification;79 77 80 78 /**#@-*/ … … 130 128 } 131 129 132 // }}}133 // {{{ getNotification()134 135 /**136 * Gets a notification object for Growl.137 *138 * @return stdClass139 */140 public function getNotification()141 {142 return $this->_notification;143 }144 145 130 /**#@-*/ 146 131
