login($SUPER_USER_NAME, $SUPER_USER_PASSWORD, "$webUrl/login.php"); return TRUE; } /** * Release the relational resource. */ function tearDown() { // Logout this system. $this->logout(); return TRUE; } /** * TestCaseId: DLU001 * This test is used to test Casts Displayed page. * * Note: It's strange here, because it only display one sentecse. */ function testLanguage() { global $webUrl; global $lang, $SERVER, $DATABASE; // Locate the list page of language. $this->assertTrue($this->get("$webUrl/casts.php", array( 'server' => $SERVER, 'database' => $DATABASE, 'subject' => 'database')) ); $this->assertWantedText($lang['strsourcetype']); $this->assertWantedText($lang['strtargettype']); $this->assertWantedText($lang['strimplicit']); return TRUE; } } ?>