gggeek /
phpxmlrpc
| 1 | <?php |
||
| 2 | |||
| 3 | include_once __DIR__ . '/WebTestCase.php'; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Tests for the bundled debugger. |
||
| 7 | */ |
||
| 8 | class DebuggerTest extends PhpXmlRpc_WebTestCase |
||
| 9 | { |
||
| 10 | public function testIndex() |
||
| 11 | { |
||
| 12 | $page = $this->request('?debugger=index.php'); |
||
|
0 ignored issues
–
show
Unused Code
introduced
by
Loading history...
|
|||
| 13 | } |
||
| 14 | |||
| 15 | public function testController() |
||
| 16 | { |
||
| 17 | $page = $this->request('?debugger=controller.php'); |
||
|
0 ignored issues
–
show
|
|||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @todo test: |
||
| 22 | * - list methods |
||
| 23 | * - describe a method |
||
| 24 | * - execute a method |
||
| 25 | * - wrap a method |
||
| 26 | */ |
||
| 27 | public function testAction() |
||
| 28 | { |
||
| 29 | $page = $this->request('?debugger=action.php'); |
||
|
0 ignored issues
–
show
|
|||
| 30 | } |
||
| 31 | } |
||
| 32 |