Merge pull request #1055 from jeffchan/up-test-time-limit
Move slow tests in HHVM to group medium
This commit is contained in:
commit
d73b9ef35d
@ -238,6 +238,7 @@ class PMA_Footer_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for displaying footer
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testDisplay()
|
||||
{
|
||||
|
||||
@ -63,6 +63,7 @@ class PMA_TableReplaceSearchTest extends PHPUnit_Framework_TestCase
|
||||
* Tests getReplacePreview() method
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testGetReplacePreview()
|
||||
{
|
||||
|
||||
@ -114,6 +114,7 @@ class PMA_TableSearch_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for __construct
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testConstruct()
|
||||
{
|
||||
@ -133,6 +134,7 @@ class PMA_TableSearch_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for getSelectionForm
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testGetSelectionForm()
|
||||
{
|
||||
|
||||
@ -59,6 +59,7 @@ class PMA_FormDisplay_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for FormDisplay::__constructor
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testFormDisplayContructor()
|
||||
{
|
||||
@ -72,6 +73,7 @@ class PMA_FormDisplay_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for FormDisplay::registerForm
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testRegisterForm()
|
||||
{
|
||||
@ -117,6 +119,7 @@ class PMA_FormDisplay_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for FormDisplay::process
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testProcess()
|
||||
{
|
||||
|
||||
@ -58,6 +58,7 @@ class PMA_AuthenticationCookie_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for AuthenticationConfig::auth
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testAuth()
|
||||
{
|
||||
|
||||
@ -474,6 +474,7 @@ class PMA_ExportCsv_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportCsv::exportData
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportData()
|
||||
{
|
||||
|
||||
@ -460,6 +460,7 @@ class PMA_ExportHtmlword_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportHtmlword::getTableDef
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testGetTableDef()
|
||||
{
|
||||
|
||||
@ -63,6 +63,7 @@ class PMA_ExportLatex_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportLatex::setProperties
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testSetProperties()
|
||||
{
|
||||
@ -551,6 +552,7 @@ class PMA_ExportLatex_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportLatex::exportData
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportData()
|
||||
{
|
||||
@ -666,6 +668,7 @@ class PMA_ExportLatex_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportLatex::exportStructure
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportStructure()
|
||||
{
|
||||
|
||||
@ -64,6 +64,7 @@ class PMA_ExportOdt_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportOdt::setProperties
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testSetProperties()
|
||||
{
|
||||
@ -679,6 +680,7 @@ class PMA_ExportOdt_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportOdt::getTableDef
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testGetTableDef()
|
||||
{
|
||||
|
||||
@ -66,6 +66,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportSql::setProperties
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testSetProperties()
|
||||
{
|
||||
@ -1133,6 +1134,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportSql::getTableDef
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testGetTableDefWithoutDrizzle()
|
||||
{
|
||||
@ -1610,6 +1612,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportSql::exportStructure
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportStructure()
|
||||
{
|
||||
@ -1778,6 +1781,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportSql::exportData
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportData()
|
||||
{
|
||||
@ -1909,6 +1913,7 @@ class PMA_ExportSql_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportSql::exportData
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportDataWithUpdate()
|
||||
{
|
||||
|
||||
@ -61,6 +61,7 @@ class PMA_ExportXml_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportXml::setProperties
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testSetProperties()
|
||||
{
|
||||
@ -219,6 +220,7 @@ class PMA_ExportXml_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ExportXml::exportHeader
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testExportHeaderWithoutDrizzle()
|
||||
{
|
||||
|
||||
@ -198,7 +198,7 @@ class PMA_Pdf_Relation_Schema_Test extends PHPUnit_Framework_TestCase
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @group medium
|
||||
* @group large
|
||||
*/
|
||||
public function testConstructor()
|
||||
{
|
||||
|
||||
@ -399,6 +399,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for ServerConfigChecks::performConfigChecks
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testServerConfigChecksPerformConfigChecks()
|
||||
{
|
||||
|
||||
@ -125,6 +125,7 @@ class PMA_DisplayExport_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForExportOptions
|
||||
*
|
||||
* @return vgetUserValue
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForExportOptions()
|
||||
{
|
||||
|
||||
@ -73,6 +73,7 @@ class PMA_Relation_Cleanup_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_relationsCleanupColumn
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMARelationsCleanupColumn()
|
||||
{
|
||||
|
||||
@ -94,6 +94,7 @@ class PMA_ServerBinlog_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getLogInfo
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetLogInfo()
|
||||
{
|
||||
|
||||
@ -798,6 +798,7 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlToDisplayPrivilegesTable
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlToDisplayPrivilegesTable()
|
||||
{
|
||||
@ -1177,6 +1178,7 @@ class PMA_ServerPrivileges_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForAddUser
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForAddUser()
|
||||
{
|
||||
|
||||
@ -105,6 +105,7 @@ class PMA_ServerReplication_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForMasterReplication
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForMasterReplication()
|
||||
{
|
||||
|
||||
@ -135,6 +135,7 @@ class PMA_ServerStatusAdvisor_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHTMLForAdvisor
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHTMLForAdvisor()
|
||||
{
|
||||
|
||||
@ -130,6 +130,7 @@ class PMA_ServerStatusMonitor_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForMonitor
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForMonitor()
|
||||
{
|
||||
|
||||
@ -136,6 +136,7 @@ class PMA_ServerStatus_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForServerStatus
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForServerStatus()
|
||||
{
|
||||
|
||||
@ -200,6 +200,7 @@ class PMA_ServerStatusVariables_Test extends PHPUnit_Framework_TestCase
|
||||
* Test for PMA_getHtmlForVariablesList
|
||||
*
|
||||
* @return void
|
||||
* @group medium
|
||||
*/
|
||||
public function testPMAGetHtmlForVariablesList()
|
||||
{
|
||||
|
||||
@ -25,12 +25,18 @@ class PMA_GetDbLink_Test extends PHPUnit_Framework_TestCase
|
||||
$GLOBALS['server'] = 99;
|
||||
}
|
||||
|
||||
/**
|
||||
* @group medium
|
||||
*/
|
||||
function testGetDbLinkEmpty()
|
||||
{
|
||||
$GLOBALS['db'] = null;
|
||||
$this->assertEmpty(PMA_Util::getDbLink());
|
||||
}
|
||||
|
||||
/**
|
||||
* @group medium
|
||||
*/
|
||||
function testGetDbLinkNull()
|
||||
{
|
||||
global $cfg;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user