Skip to content

Commit

Permalink
Remove trailing white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuracj committed Nov 3, 2013
1 parent 184316d commit f311c9c
Show file tree
Hide file tree
Showing 63 changed files with 533 additions and 533 deletions.
6 changes: 3 additions & 3 deletions test/classes/PMA_Advisor_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ public function testAdvisorBytime()
{
$result = ADVISOR_bytime(10, 2);
$this->assertEquals("10 per second", $result);

$result = ADVISOR_bytime(0.02, 2);
$this->assertEquals("1.2 per minute", $result);

$result = ADVISOR_bytime(0.003, 2);
$this->assertEquals("10.8 per hour", $result);
}
Expand All @@ -104,7 +104,7 @@ public function testAdvisorTimespanFormat()
{
$result = ADVISOR_timespanFormat(1200);
$this->assertEquals("0 days, 0 hours, 20 minutes and 0 seconds", $result);

$result = ADVISOR_timespanFormat(100);
$this->assertEquals("0 days, 0 hours, 1 minutes and 40 seconds", $result);
}
Expand Down
2 changes: 1 addition & 1 deletion test/classes/PMA_DBQbe_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* Tests for PMA_DBQbe class
*
*
* @package PhpMyAdmin-test
*/
class PMA_DBQbe_Test extends PHPUnit_Framework_TestCase
Expand Down
16 changes: 8 additions & 8 deletions test/classes/PMA_File_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PMA_File_Test extends PHPUnit_Framework_TestCase
{
/**
* Setup function for test cases
*
*
* @return void
*/
public function setup()
Expand All @@ -34,10 +34,10 @@ public function setup()

/**
* Test for PMA_File::getCompression
*
*
* @param string $file file string
* @param string $mime expected mime
*
*
* @return void
* @dataProvider compressedFiles
*/
Expand All @@ -49,10 +49,10 @@ public function testMIME($file, $mime)

/**
* Test for PMA_File::getNextChunk
*
*
* @param string $file file string
* @param string $mime expected mime
*
*
* @return void
* @dataProvider compressedFiles
*/
Expand All @@ -71,10 +71,10 @@ public function testContent($file, $mime)

/**
* Test for PMA_File::getContent
*
*
* @param string $file file string
* @param string $mime expected mime
*
*
* @return void
* @dataProvider compressedFiles
*/
Expand All @@ -87,7 +87,7 @@ public function testBinaryContent($file, $mime)

/**
* Data provider for tests
*
*
* @return array Test data
*/
public function compressedFiles()
Expand Down
10 changes: 5 additions & 5 deletions test/classes/PMA_List_Database_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PMA_List_Database_Test extends PHPUnit_Framework_TestCase
{
/**
* SetUp for test cases
*
*
* @return void
*/
public function setup()
Expand All @@ -49,7 +49,7 @@ private function _callProtectedFunction($name, $params)

/**
* Test for PMA_List_Database::getEmpty
*
*
* @return void
*/
public function testEmpty()
Expand All @@ -60,7 +60,7 @@ public function testEmpty()

/**
* Test for PMA_List_Database::getSingleItem
*
*
* @return void
*/
public function testSingle()
Expand All @@ -71,7 +71,7 @@ public function testSingle()

/**
* Test for PMA_List_Database::exists
*
*
* @return void
*/
public function testExists()
Expand All @@ -82,7 +82,7 @@ public function testExists()

/**
* Test for PMA_List_Database::getHtmlOptions
*
*
* @return void
*/
public function testHtmlOptions()
Expand Down
8 changes: 4 additions & 4 deletions test/classes/PMA_Message_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function testSanitize()

/**
* Data provider for testDecodeBB
*
*
* @return array Test data
*/
public function decodeBBDataProvider()
Expand Down Expand Up @@ -558,7 +558,7 @@ public function testIsDisplayed()

/**
* Data provider for testAffectedRows
*
*
* @return array Test-data
*/
public function providerAffectedRows()
Expand Down Expand Up @@ -603,7 +603,7 @@ public function testAffectedRows($rows, $output)

/**
* Data provider for testInsertedRows
*
*
* @return array Test-data
*/
public function providerInsertedRows()
Expand Down Expand Up @@ -648,7 +648,7 @@ public function testInsertedRows($rows, $output)

/**
* Data provider for testDeletedRows
*
*
* @return array Test-data
*/
public function providerDeletedRows()
Expand Down
8 changes: 4 additions & 4 deletions test/classes/PMA_PDF_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PMA_PDF_Test extends PHPUnit_Framework_TestCase
{
/**
* SetUp for test cases
*
*
* @return void
*/
public function setup()
Expand All @@ -35,7 +35,7 @@ public function setup()

/**
* Test for PMA_PDF::getPDFData
*
*
* @group large
* @return void
*/
Expand All @@ -47,7 +47,7 @@ public function testBasic()

/**
* Test for PMA_PDF::getPDFData
*
*
* @group large
* @return void
*/
Expand All @@ -60,7 +60,7 @@ public function testAlias()

/**
* Test for PMA_PDF::getPDFData
*
*
* @group large
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions test/classes/PMA_Scripts_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ public function testAddCode()
public function testGetFiles()
{
// codemirror's onload event is blacklisted
$this->object->addFile('codemirror/lib/codemirror.js');
$this->object->addFile('codemirror/lib/codemirror.js');

$this->object->addFile('common.js');
$this->assertEquals(
array(
Expand Down
10 changes: 5 additions & 5 deletions test/classes/PMA_Table_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public function testGenerateFieldSpec()
$field_primary, $move_to
);
$this->assertEquals(
"`PMA_name` BIT(12) PMA_attribute NULL DEFAULT b'10' "
"`PMA_name` BIT(12) PMA_attribute NULL DEFAULT b'10' "
. "AUTO_INCREMENT COMMENT 'PMA_comment' FIRST",
$query
);
Expand All @@ -507,7 +507,7 @@ public function testGenerateFieldSpec()
$field_primary, $move_to
);
$this->assertEquals(
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT TRUE "
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT TRUE "
. "AUTO_INCREMENT COMMENT 'PMA_comment' FIRST",
$query
);
Expand All @@ -520,7 +520,7 @@ public function testGenerateFieldSpec()
$field_primary, $move_to
);
$this->assertEquals(
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT NULL "
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT NULL "
. "AUTO_INCREMENT COMMENT 'PMA_comment' FIRST",
$query
);
Expand All @@ -533,7 +533,7 @@ public function testGenerateFieldSpec()
$field_primary, $move_to
);
$this->assertEquals(
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT CURRENT_TIMESTAMP "
"`PMA_name` BOOLEAN PMA_attribute NULL DEFAULT CURRENT_TIMESTAMP "
. "AUTO_INCREMENT COMMENT 'PMA_comment' FIRST",
$query
);
Expand All @@ -548,7 +548,7 @@ public function testGenerateFieldSpec()
$field_primary, $move_to
);
$this->assertEquals(
"`PMA_name` BOOLEAN PMA_attribute NULL INCREMENT "
"`PMA_name` BOOLEAN PMA_attribute NULL INCREMENT "
. "COMMENT 'PMA_comment' FIRST",
$query
);
Expand Down
8 changes: 4 additions & 4 deletions test/classes/PMA_Theme_Manager_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class PMA_Theme_Manager_Test extends PHPUnit_Framework_TestCase
{
/**
* SetUp for test cases
*
*
* @return void
*/
public function setup()
Expand All @@ -42,7 +42,7 @@ public function setup()

/**
* Test for PMA_Theme_Manager::getThemeCookieName
*
*
* @return void
*/
public function testCookieName()
Expand All @@ -53,7 +53,7 @@ public function testCookieName()

/**
* Test for PMA_Theme_Manager::getThemeCookieName
*
*
* @return void
*/
public function testPerServerCookieName()
Expand All @@ -65,7 +65,7 @@ public function testPerServerCookieName()

/**
* Test for PMA_Theme_Manager::getHtmlSelectBox
*
*
* @return void
*/
public function testHtmlSelectBox()
Expand Down
Loading

0 comments on commit f311c9c

Please sign in to comment.