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 . 'workflow/engine/classes/class.dynaFormField.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:38.
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:30.
|
||||
*/
|
||||
|
||||
class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
@@ -43,7 +43,7 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$this->assertTrue( count($methods) == 12);
|
||||
$methods = get_class_methods('DynaFormField'); $this->assertTrue( count($methods) == 12);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -59,8 +59,6 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'objConnection');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -76,8 +74,6 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'sUID');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -93,8 +89,6 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'uid');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -118,8 +112,6 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[2]->isArray() == false);
|
||||
$this->assertTrue( $params[2]->isOptional () == true);
|
||||
$this->assertTrue( $params[2]->getDefaultValue() == 'Array');
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,8 +124,6 @@ class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('isNew', $methods ), 'exists method isNew' );
|
||||
$r = new ReflectionMethod('DynaFormField', 'isNew');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user