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.wsTools.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:31.
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24.
*/
class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
@@ -43,7 +43,7 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
*/
public function testNumberOfMethodsInThisClass()
{
$this->assertTrue( count($methods) == 27);
$methods = get_class_methods('workspaceTools'); $this->assertTrue( count($methods) == 27);
}
/**
@@ -59,8 +59,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'workspaceName');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -73,8 +71,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('workspaceExists', $methods ), 'exists method workspaceExists' );
$r = new ReflectionMethod('workspaceTools', 'workspaceExists');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -91,8 +87,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -105,8 +99,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getDBInfo', $methods ), 'exists method getDBInfo' );
$r = new ReflectionMethod('workspaceTools', 'getDBInfo');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -126,8 +118,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -143,8 +133,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'dbName');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -161,8 +149,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -179,8 +165,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == true);
$this->assertTrue( $params[0]->getDefaultValue() == '1');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -193,8 +177,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('close', $methods ), 'exists method close' );
$r = new ReflectionMethod('workspaceTools', 'close');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -207,8 +189,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getSchema', $methods ), 'exists method getSchema' );
$r = new ReflectionMethod('workspaceTools', 'getSchema');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -225,8 +205,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == true);
$this->assertTrue( $params[0]->getDefaultValue() == '1');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -239,8 +217,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('upgradePluginsDatabase', $methods ), 'exists method upgradePluginsDatabase' );
$r = new ReflectionMethod('workspaceTools', 'upgradePluginsDatabase');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -257,8 +233,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -278,8 +252,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -292,8 +264,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('upgradeData', $methods ), 'exists method upgradeData' );
$r = new ReflectionMethod('workspaceTools', 'upgradeData');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -309,8 +279,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'data');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -323,8 +291,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('getMetadata', $methods ), 'exists method getMetadata' );
$r = new ReflectionMethod('workspaceTools', 'getMetadata');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -337,8 +303,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('printSysInfo', $methods ), 'exists method printSysInfo' );
$r = new ReflectionMethod('workspaceTools', 'printSysInfo');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -355,8 +319,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -373,8 +335,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == true);
$this->assertTrue( $params[0]->getDefaultValue() == '1');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -390,8 +350,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'path');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -411,8 +369,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -432,8 +388,6 @@ class classworkspaceToolsTest 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.');
}
/**
@@ -449,8 +403,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'directory');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -466,8 +418,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'filename');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -492,8 +442,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->getName() == 'perms');
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -520,8 +468,6 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == true);
$this->assertTrue( $params[3]->getDefaultValue() == '1');
$this->markTestIncomplete('This test has not been implemented yet.');
}
}