improve coding style : fix indentation and function calls

This commit is contained in:
Dieter Adriaenssens 2012-09-18 16:42:08 +02:00
parent 2d7c588c7d
commit dcd234b661
4 changed files with 8 additions and 10 deletions

View File

@ -100,7 +100,7 @@ class PMA_DBQbe_test extends PHPUnit_Framework_TestCase
'_getSortRow',
array()
)
);
);
}
/**

View File

@ -71,10 +71,12 @@ class PMA_Error_Handler_test extends PHPUnit_Framework_TestCase
*/
public function testHandleError($errno, $errstr, $errfile, $errline, $output)
{
$GLOBALS['cfg']['Error_Handler']['gather'] = true;
$this->assertEquals( $output, $this->object->handleError($errno, $errstr, $errfile, $errline));
$this->assertEquals(
$output,
$this->object->handleError($errno, $errstr, $errfile, $errline)
);
}
/**

View File

@ -289,7 +289,7 @@ background: -o-linear-gradient(top, #12345, #54321);'
{
$this->assertEquals(
$this->object->getCssCodeMirror(),
'span.cm-keyword, span.cm-statement-verb {
'span.cm-keyword, span.cm-statement-verb {
color: #909;
}
span.cm-variable {

View File

@ -272,9 +272,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
public function testGetPageStatus()
{
$this->assertEquals(
'<pre id="pre_innodb_status">' . "\n"
. "\n"
. '</pre>' . "\n",
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
$this->object->getPageStatus()
);
@ -290,9 +288,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
);
$this->object->support = 2;
$this->assertEquals(
'<pre id="pre_innodb_status">' . "\n"
. "\n"
. '</pre>' . "\n",
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
$this->object->getPage('Status')
);
}