| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | function testLanguage() |
||
| 55 | { |
||
| 56 | global $webUrl; |
||
| 57 | global $lang, $SERVER, $DATABASE; |
||
| 58 | |||
| 59 | // Locate the list page of language. |
||
| 60 | $this->assertTrue($this->get("$webUrl/casts.php", array( |
||
| 61 | 'server' => $SERVER, |
||
| 62 | 'database' => $DATABASE, |
||
| 63 | 'subject' => 'database')) |
||
| 64 | ); |
||
| 65 | |||
| 66 | $this->assertWantedText($lang['strsourcetype']); |
||
| 67 | $this->assertWantedText($lang['strtargettype']); |
||
| 68 | $this->assertWantedText($lang['strimplicit']); |
||
| 69 | |||
| 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.