fixing phpcs in build.xml and removing the incomplete tag for all phpunits

This commit is contained in:
Fernando Ontiveros
2012-07-12 22:34:02 -04:00
parent b4641ceaae
commit 259263bcc8
171 changed files with 341 additions and 3696 deletions

View File

@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmScript.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:39.
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:32.
*/
class classPMScriptTest extends PHPUnit_Framework_TestCase
@@ -43,7 +43,7 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
*/
public function testNumberOfMethodsInThisClass()
{
$this->assertTrue( count($methods) == 7);
$methods = get_class_methods('PMScript'); $this->assertTrue( count($methods) == 7);
}
/**
@@ -56,8 +56,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('PMScript', $methods ), 'exists method PMScript' );
$r = new ReflectionMethod('PMScript', 'PMScript');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -74,8 +72,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == true);
$this->assertTrue( $params[0]->getDefaultValue() == 'Array');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -92,8 +88,6 @@ class classPMScriptTest 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.');
}
/**
@@ -109,8 +103,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sScript');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -129,8 +121,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'sCode');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -143,8 +133,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('execute', $methods ), 'exists method execute' );
$r = new ReflectionMethod('PMScript', 'execute');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -157,8 +145,6 @@ class classPMScriptTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('evaluate', $methods ), 'exists method evaluate' );
$r = new ReflectionMethod('PMScript', 'evaluate');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
}