fixing phpcs in build.xml and removing the incomplete tag for all phpunits
This commit is contained in:
@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.phpSqlParser.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:29.
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23.
|
||||
*/
|
||||
|
||||
class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
@@ -43,7 +43,7 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$this->assertTrue( count($methods) == 4);
|
||||
$methods = get_class_methods('PHPSQLParser'); $this->assertTrue( count($methods) == 4);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -60,8 +60,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == true);
|
||||
$this->assertTrue( $params[0]->getDefaultValue() == '');
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -77,8 +75,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'sql');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -98,8 +94,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == true);
|
||||
$this->assertTrue( $params[1]->getDefaultValue() == 'INSERT');
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -112,8 +106,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('load_reserved_words', $methods ), 'exists method load_reserved_words' );
|
||||
$r = new ReflectionMethod('PHPSQLParser', 'load_reserved_words');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user