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.wsBase.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:31.
*/
class classwsBaseTest extends PHPUnit_Framework_TestCase
@@ -43,7 +43,7 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
*/
public function testNumberOfMethodsInThisClass()
{
$this->assertTrue( count($methods) == 35);
$methods = get_class_methods('wsBase'); $this->assertTrue( count($methods) == 35);
}
/**
@@ -60,8 +60,6 @@ class classwsBaseTest 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.');
}
/**
@@ -80,8 +78,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'password');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -94,8 +90,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('processList', $methods ), 'exists method processList' );
$r = new ReflectionMethod('wsBase', 'processList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -108,8 +102,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('roleList', $methods ), 'exists method roleList' );
$r = new ReflectionMethod('wsBase', 'roleList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -122,8 +114,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('groupList', $methods ), 'exists method groupList' );
$r = new ReflectionMethod('wsBase', 'groupList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -136,8 +126,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('departmentList', $methods ), 'exists method departmentList' );
$r = new ReflectionMethod('wsBase', 'departmentList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -153,8 +141,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'userId');
$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 classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'userId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -184,8 +168,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('userList', $methods ), 'exists method userList' );
$r = new ReflectionMethod('wsBase', 'userList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -198,8 +180,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('triggerList', $methods ), 'exists method triggerList' );
$r = new ReflectionMethod('wsBase', 'triggerList');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -218,8 +198,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'sUserUID');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -235,8 +213,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'sProcessUID');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -255,8 +231,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'sUserUID');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -272,8 +246,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'appDocUid');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -289,8 +261,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'userId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -332,8 +302,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[8]->isArray() == false);
$this->assertTrue( $params[8]->isOptional () == true);
$this->assertTrue( $params[8]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -352,8 +320,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'iDelIndex');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -392,8 +358,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[7]->isArray() == false);
$this->assertTrue( $params[7]->isOptional () == true);
$this->assertTrue( $params[7]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -409,8 +373,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'groupName');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -429,8 +391,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'parentUID');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -449,8 +409,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'groupId');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -469,8 +427,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'groupId');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -492,8 +448,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'manager');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -512,8 +466,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'variables');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -532,8 +484,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[1]->getName() == 'variables');
$this->assertTrue( $params[1]->isArray() == false);
$this->assertTrue( $params[1]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -558,8 +508,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->getName() == 'variables');
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -581,8 +529,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[2]->getName() == 'variables');
$this->assertTrue( $params[2]->isArray() == false);
$this->assertTrue( $params[2]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -608,8 +554,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == true);
$this->assertTrue( $params[3]->getDefaultValue() == '');
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -634,8 +578,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[3]->getName() == 'delIndex');
$this->assertTrue( $params[3]->isArray() == false);
$this->assertTrue( $params[3]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -651,8 +593,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'caseId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -668,8 +608,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[0]->getName() == 'userId');
$this->assertTrue( $params[0]->isArray() == false);
$this->assertTrue( $params[0]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -697,8 +635,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( $params[4]->getName() == 'userIdTarget');
$this->assertTrue( $params[4]->isArray() == false);
$this->assertTrue( $params[4]->isOptional () == false);
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -711,8 +647,6 @@ class classwsBaseTest extends PHPUnit_Framework_TestCase
$this->assertTrue( in_array('systemInformation', $methods ), 'exists method systemInformation' );
$r = new ReflectionMethod('wsBase', 'systemInformation');
$params = $r->getParameters();
$this->markTestIncomplete('This test has not been implemented yet.');
}
/**
@@ -744,8 +678,6 @@ class classwsBaseTest 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.');
}
/**
@@ -765,8 +697,6 @@ class classwsBaseTest 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.');
}
}