You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
- /**
- * PhpUnderControl_TaskProgress_Test
- *
- * 针对 ../Progress.php Task_Progress 类的PHPUnit单元测试
- *
- * @author: dogstar 20150519
- */
-
- require_once dirname(__FILE__) . '/test_env.php';
-
- if (!class_exists('Task_Progress')) {
- require dirname(__FILE__) . '/../Progress.php';
- }
-
- class PhpUnderControl_TaskProgress_Test extends PHPUnit_Framework_TestCase
- {
- public $taskProgress;
-
- protected function setUp()
- {
- parent::setUp();
-
- $this->taskProgress = new Task_Progress();
- }
-
- protected function tearDown()
- {
- }
-
-
- /**
- * @group testRun
- */
- public function testRun()
- {
- $rs = $this->taskProgress->run();
- }
-
- }
|