| Total Complexity | 3 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class CastsTest extends PreconditionSet |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Set up the preconditon. |
||
| 23 | */ |
||
| 24 | function setUp() |
||
|
|
|||
| 25 | { |
||
| 26 | global $webUrl; |
||
| 27 | global $SUPER_USER_NAME; |
||
| 28 | global $SUPER_USER_PASSWORD; |
||
| 29 | $this->login($SUPER_USER_NAME, $SUPER_USER_PASSWORD, |
||
| 30 | "$webUrl/login.php"); |
||
| 31 | |||
| 32 | return TRUE; |
||
| 33 | } |
||
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * Release the relational resource. |
||
| 38 | */ |
||
| 39 | function tearDown() |
||
| 45 | } |
||
| 46 | |||
| 47 | |||
| 48 | /** |
||
| 49 | * TestCaseId: DLU001 |
||
| 50 | * This test is used to test Casts Displayed page. |
||
| 51 | * |
||
| 52 | * Note: It's strange here, because it only display one sentecse. |
||
| 53 | */ |
||
| 54 | function testLanguage() |
||
| 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.