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.pluginRegistry.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:40.
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:32.
*/
class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
@@ -43,7 +43,7 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
*/
public function testNumberOfMethodsInThisClass()
{
$this->assertTrue( count($methods) == 56);
$methods = get_class_methods('PMPluginRegistry'); $this->assertTrue( count($methods) == 56);
}
/**
@@ -56,8 +56,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' );
$r = new ReflectionMethod('PMPluginRegistry', '__construct');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -70,8 +68,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' );
$r = new ReflectionMethod('PMPluginRegistry', 'getSingleton');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -84,8 +80,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('serializeInstance', $methods ), 'exists method serializeInstance' );
$r = new ReflectionMethod('PMPluginRegistry', 'serializeInstance');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -101,8 +95,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'serialized');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -115,8 +107,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('save', $methods ), 'exists method save' );
$r = new ReflectionMethod('PMPluginRegistry', 'save');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -136,8 +126,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == true);
$this->assertTrue( $params[1]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -153,8 +141,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sFilename');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -170,8 +156,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -191,8 +175,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == true);
$this->assertTrue( $params[1]->getDefaultValue() == '1');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -208,8 +190,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -228,8 +208,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'pluginName');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -245,8 +223,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -262,8 +238,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'arrayPlugin');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -279,8 +253,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -302,8 +274,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'sFilename');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -319,8 +289,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'namespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -339,8 +307,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'sCssFile');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -353,8 +319,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getRegisteredCss', $methods ), 'exists method getRegisteredCss' );
$r = new ReflectionMethod('PMPluginRegistry', 'getRegisteredCss');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -376,8 +340,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'pluginJsFile');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -390,8 +352,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getRegisteredJavascript', $methods ), 'exists method getRegisteredJavascript' );
$r = new ReflectionMethod('PMPluginRegistry', 'getRegisteredJavascript');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -411,8 +371,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == true);
$this->assertTrue( $params[1]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -432,8 +390,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == true);
$this->assertTrue( $params[1]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -449,8 +405,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -466,8 +420,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -489,8 +441,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'sPathMethod');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -512,8 +462,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'sFolderName');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -542,8 +490,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[4]->isArray() == false);
$this->assertTrue( $params[4]->isOptional () == true);
$this->assertTrue( $params[4]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -559,8 +505,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sFolderName');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -576,8 +520,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'menuId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -590,8 +532,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getDashlets', $methods ), 'exists method getDashlets' );
$r = new ReflectionMethod('PMPluginRegistry', 'getDashlets');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -604,8 +544,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getReports', $methods ), 'exists method getReports' );
$r = new ReflectionMethod('PMPluginRegistry', 'getReports');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -618,8 +556,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getPmFunctions', $methods ), 'exists method getPmFunctions' );
$r = new ReflectionMethod('PMPluginRegistry', 'getPmFunctions');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -632,8 +568,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getSteps', $methods ), 'exists method getSteps' );
$r = new ReflectionMethod('PMPluginRegistry', 'getSteps');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -646,8 +580,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getRedirectLogins', $methods ), 'exists method getRedirectLogins' );
$r = new ReflectionMethod('PMPluginRegistry', 'getRedirectLogins');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -666,8 +598,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'oData');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -683,8 +613,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'triggerId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -700,8 +628,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'triggerId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -723,8 +649,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'sTriggerName');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -740,8 +664,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -760,8 +682,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'filename');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -777,8 +697,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'default');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -791,8 +709,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('setupPlugins', $methods ), 'exists method setupPlugins' );
$r = new ReflectionMethod('PMPluginRegistry', 'setupPlugins');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -814,8 +730,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'oData');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -831,8 +745,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sNamespace');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -851,8 +763,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'oData');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -865,8 +775,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('eevalidate', $methods ), 'exists method eevalidate' );
$r = new ReflectionMethod('PMPluginRegistry', 'eevalidate');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -888,8 +796,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'sFilename');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -905,8 +811,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sToolbarId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -937,8 +841,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[5]->getName() == 'sActionGetFields');
$this->assertTrue( $params[5]->isArray() == false);
$this->assertTrue( $params[5]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -951,8 +853,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getCaseSchedulerPlugins', $methods ), 'exists method getCaseSchedulerPlugins' );
$r = new ReflectionMethod('PMPluginRegistry', 'getCaseSchedulerPlugins');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -977,8 +877,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->getName() == 'sIcon');
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -1003,8 +901,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->getName() == 'sIcon');
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -1017,8 +913,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getDashboardPages', $methods ), 'exists method getDashboardPages' );
$r = new ReflectionMethod('PMPluginRegistry', 'getDashboardPages');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -1031,8 +925,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getTaskExtendedProperties', $methods ), 'exists method getTaskExtendedProperties' );
$r = new ReflectionMethod('PMPluginRegistry', 'getTaskExtendedProperties');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -1045,8 +937,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('registerDashboard', $methods ), 'exists method registerDashboard' );
$r = new ReflectionMethod('PMPluginRegistry', 'registerDashboard');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -1059,8 +949,6 @@ class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getAttributes', $methods ), 'exists method getAttributes' );
$r = new ReflectionMethod('PMPluginRegistry', 'getAttributes');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
}