| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | function testBrowseOpClass() |
||
| 56 | {
|
||
| 57 | global $webUrl; |
||
| 58 | global $lang, $SERVER, $DATABASE; |
||
| 59 | |||
| 60 | // Turn to schema "pg_catalog" page. |
||
| 61 | $this->assertTrue($this->get("$webUrl/opclasses.php", array(
|
||
| 62 | 'server' => $SERVER, |
||
| 63 | 'database' => $DATABASE, |
||
| 64 | 'schema' => 'pg_catalog', |
||
| 65 | 'subject' => 'schema')) |
||
| 66 | ); |
||
| 67 | |||
| 68 | // Verify whether all the op classes are displayed. |
||
| 69 | $this->assertTrue($this->assertWantedText($lang['straccessmethod'])); |
||
| 70 | |||
| 71 | return TRUE; |
||
| 72 | } |
||
| 76 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.