Passed
Push — master ( 67ed62...5da465 )
by Gaetano
02:56
created

ExtraTest::testBenchmark()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
include_once __DIR__ . '/LocalFileTestCase.php';
4
5
/**
6
 * Tests for php files in the 'extras' directory
7
 *
8
 */
9
class ExtraTest extends PhpXmlRpc_LocalFileTestCase
10
{
11
    public function set_up()
12
    {
13
        $this->args = argParser::getArgs();
14
15
        $this->baseUrl = $this->args['HTTPSERVER'] . str_replace( '/demo/server/server.php', '/tests/', $this->args['HTTPURI'] );
16
17
        $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] );
18
    }
19
20
    /**
21
     * @todo collect code coverage for this...
22
     */
23
    public function testBenchmark()
24
    {
25
        $page = $this->request('benchmark.php');
0 ignored issues
show
Unused Code introduced by
The assignment to $page is dead and can be removed.
Loading history...
26
    }
27
28
    /**
29
     * @todo collect code coverage for this...
30
     */
31
    public function testVerifyCompat()
32
    {
33
        $page = $this->request('verify_compat.php');
0 ignored issues
show
Unused Code introduced by
The assignment to $page is dead and can be removed.
Loading history...
34
    }
35
}
36