diff --git a/build.xml b/build.xml index 77342fccd..42406bf98 100644 --- a/build.xml +++ b/build.xml @@ -102,7 +102,7 @@ - + diff --git a/tests/automated/gulliver/system/classControllerTest.php b/tests/automated/gulliver/system/classControllerTest.php index 353b46c4a..e5f0813b3 100644 --- a/tests/automated/gulliver/system/classControllerTest.php +++ b/tests/automated/gulliver/system/classControllerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.controller.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:29. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classControllerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classControllerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 19); + $methods = get_class_methods('Controller'); $this->assertTrue( count($methods) == 19); } /** @@ -62,8 +62,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -113,8 +107,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'type'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +137,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classControllerTest 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.'); - } /** @@ -181,8 +167,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'val'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -195,8 +179,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDebug', $methods ), 'exists method getDebug' ); $r = new ReflectionMethod('Controller', 'getDebug'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -216,8 +198,6 @@ class classControllerTest 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.'); - } /** @@ -237,8 +217,6 @@ class classControllerTest 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.'); - } /** @@ -254,8 +232,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -274,8 +250,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -294,8 +268,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -308,8 +280,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getHeadPublisher', $methods ), 'exists method getHeadPublisher' ); $r = new ReflectionMethod('Controller', 'getHeadPublisher'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -325,8 +295,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'layout'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -343,8 +311,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'mvc'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -360,8 +326,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'header'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -377,8 +341,6 @@ class classControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'url'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classDBTableTest.php b/tests/automated/gulliver/system/classDBTableTest.php index 45fd8beb9..5e6cc8527 100644 --- a/tests/automated/gulliver/system/classDBTableTest.php +++ b/tests/automated/gulliver/system/classDBTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.dbtable.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classDBTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classDBTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('DBTable'); $this->assertTrue( count($methods) == 11); } /** @@ -68,8 +68,6 @@ class classDBTableTest 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.'); - } /** @@ -93,8 +91,6 @@ class classDBTableTest 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.'); - } /** @@ -107,8 +103,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('loadEmpty', $methods ), 'exists method loadEmpty' ); $r = new ReflectionMethod('DBTable', 'loadEmpty'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -124,8 +118,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strWhere'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +130,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('load', $methods ), 'exists method load' ); $r = new ReflectionMethod('DBTable', 'load'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -155,8 +145,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'seq'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('insert', $methods ), 'exists method insert' ); $r = new ReflectionMethod('DBTable', 'insert'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +169,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('update', $methods ), 'exists method update' ); $r = new ReflectionMethod('DBTable', 'update'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -197,8 +181,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('save', $methods ), 'exists method save' ); $r = new ReflectionMethod('DBTable', 'save'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -211,8 +193,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('delete', $methods ), 'exists method delete' ); $r = new ReflectionMethod('DBTable', 'delete'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -225,8 +205,6 @@ class classDBTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('next', $methods ), 'exists method next' ); $r = new ReflectionMethod('DBTable', 'next'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classDataBaseMaintenanceTest.php b/tests/automated/gulliver/system/classDataBaseMaintenanceTest.php index 2c80c9477..c3d427f3b 100644 --- a/tests/automated/gulliver/system/classDataBaseMaintenanceTest.php +++ b/tests/automated/gulliver/system/classDataBaseMaintenanceTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.dbMaintenance.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 27); + $methods = get_class_methods('DataBaseMaintenance'); $this->assertTrue( count($methods) == 27); } /** @@ -68,8 +68,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'user'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +98,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'passwd'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -119,8 +113,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'host'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -136,8 +128,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'tmpDir'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -150,8 +140,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getTempDir', $methods ), 'exists method getTempDir' ); $r = new ReflectionMethod('DataBaseMaintenance', 'getTempDir'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('status', $methods ), 'exists method status' ); $r = new ReflectionMethod('DataBaseMaintenance', 'status'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -182,8 +168,6 @@ class classDataBaseMaintenanceTest 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.'); - } /** @@ -199,8 +183,6 @@ class classDataBaseMaintenanceTest 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.'); - } /** @@ -216,8 +198,6 @@ class classDataBaseMaintenanceTest 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.'); - } /** @@ -233,8 +213,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sql'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -247,8 +225,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('error', $methods ), 'exists method error' ); $r = new ReflectionMethod('DataBaseMaintenance', 'error'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -261,8 +237,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getTablesList', $methods ), 'exists method getTablesList' ); $r = new ReflectionMethod('DataBaseMaintenance', 'getTablesList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -278,8 +252,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'table'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -295,8 +267,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'backupFile'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -309,8 +279,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('backupData', $methods ), 'exists method backupData' ); $r = new ReflectionMethod('DataBaseMaintenance', 'backupData'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -323,8 +291,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('backupSqlData', $methods ), 'exists method backupSqlData' ); $r = new ReflectionMethod('DataBaseMaintenance', 'backupSqlData'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -341,8 +307,6 @@ class classDataBaseMaintenanceTest 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.'); - } /** @@ -362,8 +326,6 @@ class classDataBaseMaintenanceTest 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.'); - } /** @@ -379,8 +341,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sqlfile'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -393,8 +353,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('lockTables', $methods ), 'exists method lockTables' ); $r = new ReflectionMethod('DataBaseMaintenance', 'lockTables'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -407,8 +365,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('unlockTables', $methods ), 'exists method unlockTables' ); $r = new ReflectionMethod('DataBaseMaintenance', 'unlockTables'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -424,8 +380,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'table'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -441,8 +395,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'outfile'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -462,8 +414,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'file'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -479,8 +429,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'tablename'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -496,8 +444,6 @@ class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classFormTest.php b/tests/automated/gulliver/system/classFormTest.php index 09db0d87f..ce78cbfd8 100644 --- a/tests/automated/gulliver/system/classFormTest.php +++ b/tests/automated/gulliver/system/classFormTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.form.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classFormTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classFormTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('Form'); $this->assertTrue( count($methods) == 13); } /** @@ -56,8 +56,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('setDefaultValues', $methods ), 'exists method setDefaultValues' ); $r = new ReflectionMethod('Form', 'setDefaultValues'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -89,8 +87,6 @@ class classFormTest 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.'); - } /** @@ -109,8 +105,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'scriptContent'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -129,8 +123,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'scriptContent'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +139,6 @@ class classFormTest 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.'); - } /** @@ -168,8 +158,6 @@ class classFormTest 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.'); - } /** @@ -182,8 +170,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('validatePost', $methods ), 'exists method validatePost' ); $r = new ReflectionMethod('Form', 'validatePost'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -199,8 +185,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'newValues'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -217,8 +201,6 @@ class classFormTest 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.'); - } /** @@ -238,8 +220,6 @@ class classFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -255,8 +235,6 @@ class classFormTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classGTest.php b/tests/automated/gulliver/system/classGTest.php index c7b0be168..82ac76248 100644 --- a/tests/automated/gulliver/system/classGTest.php +++ b/tests/automated/gulliver/system/classGTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.g.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:29. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classGTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classGTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 134); + $methods = get_class_methods('G'); $this->assertTrue( count($methods) == 134); } /** @@ -56,8 +56,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('is_https', $methods ), 'exists method is_https' ); $r = new ReflectionMethod('G', 'is_https'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +96,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '8'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -114,8 +108,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('array_concat', $methods ), 'exists method array_concat' ); $r = new ReflectionMethod('G', 'array_concat'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -134,8 +126,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'varN'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -148,8 +138,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('var_probe', $methods ), 'exists method var_probe' ); $r = new ReflectionMethod('G', 'var_probe'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -162,8 +150,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getVersion', $methods ), 'exists method getVersion' ); $r = new ReflectionMethod('G', 'getVersion'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -176,8 +162,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getIpAddress', $methods ), 'exists method getIpAddress' ); $r = new ReflectionMethod('G', 'getIpAddress'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -190,8 +174,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getMacAddress', $methods ), 'exists method getMacAddress' ); $r = new ReflectionMethod('G', 'getMacAddress'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -204,8 +186,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('microtime_float', $methods ), 'exists method microtime_float' ); $r = new ReflectionMethod('G', 'microtime_float'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -222,8 +202,6 @@ class classGTest 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.'); - } /** @@ -240,8 +218,6 @@ class classGTest 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.'); - } /** @@ -257,8 +233,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'buffer'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -286,8 +260,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'context'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -312,8 +284,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'line'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -338,8 +308,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'line'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -370,8 +338,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->getName() == 'context'); $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -390,8 +356,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'key'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -410,8 +374,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'key'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -427,8 +389,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'target'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -448,8 +408,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '511'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -465,8 +423,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dirName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -486,8 +442,6 @@ class classGTest 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.'); - } /** @@ -504,8 +458,6 @@ class classGTest 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.'); - } /** @@ -521,8 +473,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strClass'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -538,8 +488,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strClass'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -568,8 +516,6 @@ class classGTest 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.'); - } /** @@ -585,8 +531,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strSkinName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -602,8 +546,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strInclude'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -616,8 +558,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('LoadAllModelClasses', $methods ), 'exists method LoadAllModelClasses' ); $r = new ReflectionMethod('G', 'LoadAllModelClasses'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -630,8 +570,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('LoadAllPluginModelClasses', $methods ), 'exists method LoadAllPluginModelClasses' ); $r = new ReflectionMethod('G', 'LoadAllPluginModelClasses'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -647,8 +585,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strTemplateName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -664,8 +600,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strClass'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -681,8 +615,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strClass'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -701,8 +633,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sFile'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -718,8 +648,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'url'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -739,8 +667,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -756,8 +682,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'vVar'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -770,8 +694,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('logTimeByPage', $methods ), 'exists method logTimeByPage' ); $r = new ReflectionMethod('G', 'logTimeByPage'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -787,8 +709,6 @@ class classGTest 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.'); - } /** @@ -808,8 +728,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'en'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -833,8 +751,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -850,8 +766,6 @@ class classGTest 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.'); - } /** @@ -879,8 +793,6 @@ class classGTest 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.'); - } /** @@ -902,8 +814,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'realPath'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -922,8 +832,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'id'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -943,8 +851,6 @@ class classGTest 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.'); - } /** @@ -964,8 +870,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'latin'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -989,8 +893,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1014,8 +916,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1034,8 +934,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'array2'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1057,8 +955,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'tipo'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1078,8 +974,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'DB_ADAPTER'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1092,8 +986,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('MySQLSintaxis', $methods ), 'exists method MySQLSintaxis' ); $r = new ReflectionMethod('G', 'MySQLSintaxis'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1116,8 +1008,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'mysql'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1141,8 +1031,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1161,8 +1049,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'label'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1178,8 +1064,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'msgID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1202,8 +1086,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'labels'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1238,8 +1120,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1262,8 +1142,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'labels'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1282,8 +1160,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'strType'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1303,8 +1179,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'messages'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1324,8 +1198,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'labels'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1345,8 +1217,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'labels'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1363,8 +1233,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'en'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1388,8 +1256,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1409,8 +1275,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'en'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1427,8 +1291,6 @@ class classGTest 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.'); - } /** @@ -1444,8 +1306,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'methodPage'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1468,8 +1328,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'login/login'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1485,8 +1343,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1502,8 +1358,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sText'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1519,8 +1373,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sText'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1544,8 +1396,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1561,8 +1411,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'parameter'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1583,8 +1431,6 @@ class classGTest 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.'); - } /** @@ -1600,8 +1446,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'val_old'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1627,8 +1471,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == '438'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1654,8 +1496,6 @@ class classGTest 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.'); - } /** @@ -1668,8 +1508,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('array_merges', $methods ), 'exists method array_merges' ); $r = new ReflectionMethod('G', 'array_merges'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1688,8 +1526,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'array_i'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1702,8 +1538,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generateUniqueID', $methods ), 'exists method generateUniqueID' ); $r = new ReflectionMethod('G', 'generateUniqueID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1724,8 +1558,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'NUMERIC'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1741,8 +1573,6 @@ class classGTest 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.'); - } /** @@ -1758,8 +1588,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1776,8 +1604,6 @@ class classGTest 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.'); - } /** @@ -1794,8 +1620,6 @@ class classGTest 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.'); - } /** @@ -1811,8 +1635,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'text'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1828,8 +1650,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1845,8 +1665,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1862,8 +1680,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ary'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1887,8 +1703,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1910,8 +1724,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'pos'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1927,8 +1739,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'c'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1952,8 +1762,6 @@ class classGTest 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.'); - } /** @@ -1969,8 +1777,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'var'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1986,8 +1792,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'var'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2003,8 +1807,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2017,8 +1819,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('sys_get_temp_dir', $methods ), 'exists method sys_get_temp_dir' ); $r = new ReflectionMethod('G', 'sys_get_temp_dir'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2037,8 +1837,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'prop'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2054,8 +1852,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sEmail'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2071,8 +1867,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'Json'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2088,8 +1882,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'Json'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2102,8 +1894,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('isHttpRequest', $methods ), 'exists method isHttpRequest' ); $r = new ReflectionMethod('G', 'isHttpRequest'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2131,8 +1921,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'body'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2148,8 +1936,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'address'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2165,8 +1951,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'var'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2182,8 +1966,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'buffer'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2196,8 +1978,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getMemoryUsage', $methods ), 'exists method getMemoryUsage' ); $r = new ReflectionMethod('G', 'getMemoryUsage'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2216,8 +1996,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aUserInfo'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2233,8 +2011,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'model'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2254,8 +2030,6 @@ class classGTest 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.'); - } /** @@ -2280,8 +2054,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2305,8 +2077,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2328,8 +2098,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'pv_version_number'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2356,8 +2124,6 @@ class classGTest 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.'); - } /** @@ -2377,8 +2143,6 @@ class classGTest 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.'); - } /** @@ -2394,8 +2158,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pv_browser_user_agent'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2411,8 +2173,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pv_browser_user_agent'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2425,8 +2185,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getBrowser', $methods ), 'exists method getBrowser' ); $r = new ReflectionMethod('G', 'getBrowser'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2439,8 +2197,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('script_time', $methods ), 'exists method script_time' ); $r = new ReflectionMethod('G', 'script_time'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2460,8 +2216,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2480,8 +2234,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pattern'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2497,8 +2249,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'files'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2514,8 +2264,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'string'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2534,8 +2282,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'variable'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2557,8 +2303,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'value'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2577,8 +2321,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'array'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2594,8 +2336,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'resources'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2615,8 +2355,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2636,8 +2374,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2656,8 +2392,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'array'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2677,8 +2411,6 @@ class classGTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classG_ErrorTest.php b/tests/automated/gulliver/system/classG_ErrorTest.php index da75be6cd..9dfc61862 100644 --- a/tests/automated/gulliver/system/classG_ErrorTest.php +++ b/tests/automated/gulliver/system/classG_ErrorTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.error.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 classG_ErrorTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classG_ErrorTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('G_Error'); $this->assertTrue( count($methods) == 13); } /** @@ -72,8 +72,6 @@ class classG_ErrorTest 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.'); - } /** @@ -89,8 +87,6 @@ class classG_ErrorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'code'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classHelperTest.php b/tests/automated/gulliver/system/classHelperTest.php index e3280cb26..ecc63e06b 100644 --- a/tests/automated/gulliver/system/classHelperTest.php +++ b/tests/automated/gulliver/system/classHelperTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.helper.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classHelperTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classHelperTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('Helper'); $this->assertTrue( count($methods) == 8); } /** @@ -56,8 +56,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('Helper', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -73,8 +71,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -90,8 +86,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'content'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -107,8 +101,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ctype'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -121,8 +113,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('init', $methods ), 'exists method init' ); $r = new ReflectionMethod('Helper', 'init'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -135,8 +125,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('minify', $methods ), 'exists method minify' ); $r = new ReflectionMethod('Helper', 'minify'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -149,8 +137,6 @@ class classHelperTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('flush', $methods ), 'exists method flush' ); $r = new ReflectionMethod('Helper', 'flush'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -167,8 +153,6 @@ class classHelperTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classHttpProxyControllerTest.php b/tests/automated/gulliver/system/classHttpProxyControllerTest.php index 796c910e5..44dfb4c3c 100644 --- a/tests/automated/gulliver/system/classHttpProxyControllerTest.php +++ b/tests/automated/gulliver/system/classHttpProxyControllerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.httpProxyController.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 classHttpProxyControllerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('HttpProxyController'); $this->assertTrue( count($methods) == 8); } /** @@ -62,8 +62,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -113,8 +107,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +137,6 @@ class classHttpProxyControllerTest 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.'); - } /** @@ -164,8 +152,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'bool'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'val'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classMenuTest.php b/tests/automated/gulliver/system/classMenuTest.php index e4420b57e..40ca3856c 100644 --- a/tests/automated/gulliver/system/classMenuTest.php +++ b/tests/automated/gulliver/system/classMenuTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.menu.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 classMenuTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classMenuTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('Menu'); $this->assertTrue( count($methods) == 11); } /** @@ -60,8 +60,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'mnu'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -77,8 +75,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strMenuName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -91,8 +87,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('OptionCount', $methods ), 'exists method OptionCount' ); $r = new ReflectionMethod('Menu', 'OptionCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -115,8 +109,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'plugins'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -142,8 +134,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == 'plugins'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +154,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'plugins'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -205,8 +193,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -222,8 +208,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'intPos'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -239,8 +223,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'id'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -256,8 +238,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'intPos'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -285,8 +265,6 @@ class classMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'G_ID_MENU_SELECTED'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classPHPSQLParserTest.php b/tests/automated/gulliver/system/classPHPSQLParserTest.php index 04b4a79ea..3857913f9 100644 --- a/tests/automated/gulliver/system/classPHPSQLParserTest.php +++ b/tests/automated/gulliver/system/classPHPSQLParserTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.phpSqlParser.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:29. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('PHPSQLParser'); $this->assertTrue( count($methods) == 4); } /** @@ -60,8 +60,6 @@ class classPHPSQLParserTest 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.'); - } /** @@ -77,8 +75,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sql'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -98,8 +94,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'INSERT'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -112,8 +106,6 @@ class classPHPSQLParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('load_reserved_words', $methods ), 'exists method load_reserved_words' ); $r = new ReflectionMethod('PHPSQLParser', 'load_reserved_words'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classPMExceptionTest.php b/tests/automated/gulliver/system/classPMExceptionTest.php index d2e960d61..947b32ff6 100644 --- a/tests/automated/gulliver/system/classPMExceptionTest.php +++ b/tests/automated/gulliver/system/classPMExceptionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.pmException.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classPMExceptionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPMExceptionTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('PMException'); $this->assertTrue( count($methods) == 8); } /** @@ -67,8 +67,6 @@ class classPMExceptionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -81,8 +79,6 @@ class classPMExceptionTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__toString', $methods ), 'exists method __toString' ); $r = new ReflectionMethod('PMException', '__toString'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classPublisherTest.php b/tests/automated/gulliver/system/classPublisherTest.php index 8bd2cefb0..a87360378 100644 --- a/tests/automated/gulliver/system/classPublisherTest.php +++ b/tests/automated/gulliver/system/classPublisherTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.publisher.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classPublisherTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPublisherTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('Publisher'); $this->assertTrue( count($methods) == 3); } /** @@ -92,8 +92,6 @@ class classPublisherTest 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.'); - } /** @@ -110,8 +108,6 @@ class classPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -132,8 +128,6 @@ class classPublisherTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classRBACTest.php b/tests/automated/gulliver/system/classRBACTest.php index 6dd532656..29b10938f 100644 --- a/tests/automated/gulliver/system/classRBACTest.php +++ b/tests/automated/gulliver/system/classRBACTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.rbac.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classRBACTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classRBACTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 54); + $methods = get_class_methods('RBAC'); $this->assertTrue( count($methods) == 54); } /** @@ -56,8 +56,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('RBAC', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' ); $r = new ReflectionMethod('RBAC', 'getSingleton'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +80,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('initRBAC', $methods ), 'exists method initRBAC' ); $r = new ReflectionMethod('RBAC', 'initRBAC'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +98,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sUser'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -124,8 +116,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'strPass'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -153,8 +143,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'strPass'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -173,8 +161,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'strPass'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -190,8 +176,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strUser'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -207,8 +191,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'strUserId'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -224,8 +206,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'perm'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -246,8 +226,6 @@ class classRBACTest 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.'); - } /** @@ -268,8 +246,6 @@ class classRBACTest 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.'); - } /** @@ -290,8 +266,6 @@ class classRBACTest 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.'); - } /** @@ -308,8 +282,6 @@ class classRBACTest 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.'); - } /** @@ -330,8 +302,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'ACTIVE'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -348,8 +318,6 @@ class classRBACTest 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.'); - } /** @@ -365,8 +333,6 @@ class classRBACTest 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.'); - } /** @@ -382,8 +348,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sCode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -400,8 +364,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'PROCESSMAKER'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -418,8 +380,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'PROCESSMAKER'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -441,8 +401,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'filter'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -459,8 +417,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'PROCESSMAKER'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -476,8 +432,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -493,8 +447,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ROL_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -510,8 +462,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'code'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -527,8 +477,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -544,8 +492,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ROL_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -565,8 +511,6 @@ class classRBACTest 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.'); - } /** @@ -579,8 +523,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllUsersByRole', $methods ), 'exists method getAllUsersByRole' ); $r = new ReflectionMethod('RBAC', 'getAllUsersByRole'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -593,8 +535,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllUsersByDepartment', $methods ), 'exists method getAllUsersByDepartment' ); $r = new ReflectionMethod('RBAC', 'getAllUsersByDepartment'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -610,8 +550,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ROL_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -630,8 +568,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'USR_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -651,8 +587,6 @@ class classRBACTest 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.'); - } /** @@ -668,8 +602,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -689,8 +621,6 @@ class classRBACTest 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.'); - } /** @@ -714,8 +644,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -731,8 +659,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -751,8 +677,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sPermissionUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -771,8 +695,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'PER_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -788,8 +710,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ROL_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -805,8 +725,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sCode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -822,8 +740,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sCode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -836,8 +752,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllAuthSources', $methods ), 'exists method getAllAuthSources' ); $r = new ReflectionMethod('RBAC', 'getAllAuthSources'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -850,8 +764,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllAuthSourcesByUser', $methods ), 'exists method getAllAuthSourcesByUser' ); $r = new ReflectionMethod('RBAC', 'getAllAuthSourcesByUser'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -874,8 +786,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -891,8 +801,6 @@ class classRBACTest 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.'); - } /** @@ -908,8 +816,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -925,8 +831,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -942,8 +846,6 @@ class classRBACTest 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.'); - } /** @@ -956,8 +858,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllUsersByAuthSource', $methods ), 'exists method getAllUsersByAuthSource' ); $r = new ReflectionMethod('RBAC', 'getAllUsersByAuthSource'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -973,8 +873,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aSource'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -993,8 +891,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sKeyword'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1010,8 +906,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'permissions'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1028,8 +922,6 @@ class classRBACTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '72'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classRestClientTest.php b/tests/automated/gulliver/system/classRestClientTest.php index 6df78d1c7..75cbe5bd8 100644 --- a/tests/automated/gulliver/system/classRestClientTest.php +++ b/tests/automated/gulliver/system/classRestClientTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.restClient.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classRestClientTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classRestClientTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 20); + $methods = get_class_methods('RestClient'); $this->assertTrue( count($methods) == 20); } /** @@ -56,8 +56,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('RestClient', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('execute', $methods ), 'exists method execute' ); $r = new ReflectionMethod('RestClient', 'execute'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +80,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getHeaders', $methods ), 'exists method getHeaders' ); $r = new ReflectionMethod('RestClient', 'getHeaders'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -98,8 +92,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getResponse', $methods ), 'exists method getResponse' ); $r = new ReflectionMethod('RestClient', 'getResponse'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -112,8 +104,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getResponseCode', $methods ), 'exists method getResponseCode' ); $r = new ReflectionMethod('RestClient', 'getResponseCode'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -126,8 +116,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getResponseMessage', $methods ), 'exists method getResponseMessage' ); $r = new ReflectionMethod('RestClient', 'getResponseMessage'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -140,8 +128,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getResponseContentType', $methods ), 'exists method getResponseContentType' ); $r = new ReflectionMethod('RestClient', 'getResponseContentType'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -154,8 +140,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('setNoFollow', $methods ), 'exists method setNoFollow' ); $r = new ReflectionMethod('RestClient', 'setNoFollow'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -168,8 +152,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('close', $methods ), 'exists method close' ); $r = new ReflectionMethod('RestClient', 'close'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -185,8 +167,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'url'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -202,8 +182,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'contentType'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -222,8 +200,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pass'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -239,8 +215,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'method'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -256,8 +230,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'params'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -274,8 +246,6 @@ class classRestClientTest 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.'); - } /** @@ -304,8 +274,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == 'multipart/form-data'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -336,8 +304,6 @@ class classRestClientTest 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.'); - } /** @@ -363,8 +329,6 @@ class classRestClientTest 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.'); - } /** @@ -392,8 +356,6 @@ class classRestClientTest 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.'); - } /** @@ -427,8 +389,6 @@ class classRestClientTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classTableTest.php b/tests/automated/gulliver/system/classTableTest.php index 34b96fa06..9f9655a3f 100644 --- a/tests/automated/gulliver/system/classTableTest.php +++ b/tests/automated/gulliver/system/classTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.table.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 classTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 23); + $methods = get_class_methods('Table'); $this->assertTrue( count($methods) == 23); } /** @@ -60,8 +60,6 @@ class classTableTest 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.'); - } /** @@ -78,8 +76,6 @@ class classTableTest 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.'); - } /** @@ -104,8 +100,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'ASC'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -118,8 +112,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('GetSource', $methods ), 'exists method GetSource' ); $r = new ReflectionMethod('Table', 'GetSource'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -132,8 +124,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('TotalCount', $methods ), 'exists method TotalCount' ); $r = new ReflectionMethod('Table', 'TotalCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -146,8 +136,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('Count', $methods ), 'exists method Count' ); $r = new ReflectionMethod('Table', 'Count'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -160,8 +148,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('CurRow', $methods ), 'exists method CurRow' ); $r = new ReflectionMethod('Table', 'CurRow'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -174,8 +160,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('ColumnCount', $methods ), 'exists method ColumnCount' ); $r = new ReflectionMethod('Table', 'ColumnCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -188,8 +172,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('Read', $methods ), 'exists method Read' ); $r = new ReflectionMethod('Table', 'Read'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -206,8 +188,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -220,8 +200,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('MoveFirst', $methods ), 'exists method MoveFirst' ); $r = new ReflectionMethod('Table', 'MoveFirst'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -234,8 +212,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('EOF', $methods ), 'exists method EOF' ); $r = new ReflectionMethod('Table', 'EOF'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -276,8 +252,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -326,8 +300,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[8]->isArray() == false); $this->assertTrue( $params[8]->isOptional () == true); $this->assertTrue( $params[8]->getDefaultValue() == '1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -351,8 +323,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'tblHeader'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -376,8 +346,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'tblHeader'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -407,8 +375,6 @@ class classTableTest 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.'); - } /** @@ -441,8 +407,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == '1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -462,8 +426,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Continue'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -485,8 +447,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'nombre'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -508,8 +468,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'lang'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -525,8 +483,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'contexto'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -546,8 +502,6 @@ class classTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '100000000'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classTemplatePowerParserTest.php b/tests/automated/gulliver/system/classTemplatePowerParserTest.php index 09663346b..bf36eb338 100644 --- a/tests/automated/gulliver/system/classTemplatePowerParserTest.php +++ b/tests/automated/gulliver/system/classTemplatePowerParserTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.templatePower.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('TemplatePowerParser'); $this->assertTrue( count($methods) == 8); } /** @@ -62,8 +62,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'type'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $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 classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__prepare', $methods ), 'exists method __prepare' ); $r = new ReflectionMethod('TemplatePowerParser', '__prepare'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -107,8 +101,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__cleanUp', $methods ), 'exists method __cleanUp' ); $r = new ReflectionMethod('TemplatePowerParser', '__cleanUp'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -127,8 +119,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'type'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -150,8 +140,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'initdev'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('version', $methods ), 'exists method version' ); $r = new ReflectionMethod('TemplatePowerParser', 'version'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -188,8 +174,6 @@ class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classTemplatePowerTest.php b/tests/automated/gulliver/system/classTemplatePowerTest.php index 4794e0d87..e870adb7e 100644 --- a/tests/automated/gulliver/system/classTemplatePowerTest.php +++ b/tests/automated/gulliver/system/classTemplatePowerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.templatePower.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classTemplatePowerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 25); + $methods = get_class_methods('TemplatePower'); $this->assertTrue( count($methods) == 25); } /** @@ -64,8 +64,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +82,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'type'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -98,8 +94,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__makeContentRoot', $methods ), 'exists method __makeContentRoot' ); $r = new ReflectionMethod('TemplatePower', '__makeContentRoot'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -118,8 +112,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +130,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -155,8 +145,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'blockname'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__printVars', $methods ), 'exists method __printVars' ); $r = new ReflectionMethod('TemplatePower', '__printVars'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +169,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('serializedBase', $methods ), 'exists method serializedBase' ); $r = new ReflectionMethod('TemplatePower', 'serializedBase'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -201,8 +185,6 @@ class classTemplatePowerTest 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.'); - } /** @@ -215,8 +197,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('prepare', $methods ), 'exists method prepare' ); $r = new ReflectionMethod('TemplatePower', 'prepare'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -232,8 +212,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'blockname'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -253,8 +231,6 @@ class classTemplatePowerTest 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.'); - } /** @@ -274,8 +250,6 @@ class classTemplatePowerTest 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.'); - } /** @@ -291,8 +265,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'blockname'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -308,8 +280,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'varname'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -322,8 +292,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printToScreen', $methods ), 'exists method printToScreen' ); $r = new ReflectionMethod('TemplatePower', 'printToScreen'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -336,8 +304,6 @@ class classTemplatePowerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getOutputContent', $methods ), 'exists method getOutputContent' ); $r = new ReflectionMethod('TemplatePower', 'getOutputContent'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classTreeTest.php b/tests/automated/gulliver/system/classTreeTest.php index 009831076..cc53cf354 100644 --- a/tests/automated/gulliver/system/classTreeTest.php +++ b/tests/automated/gulliver/system/classTreeTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.tree.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classTreeTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classTreeTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 14); + $methods = get_class_methods('Tree'); $this->assertTrue( count($methods) == 14); } /** @@ -60,8 +60,6 @@ class classTreeTest 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.'); - } /** @@ -84,8 +82,6 @@ class classTreeTest 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.'); - } /** @@ -98,8 +94,6 @@ class classTreeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printPlus', $methods ), 'exists method printPlus' ); $r = new ReflectionMethod('Tree', 'printPlus'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -112,8 +106,6 @@ class classTreeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printLabel', $methods ), 'exists method printLabel' ); $r = new ReflectionMethod('Tree', 'printLabel'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -126,8 +118,6 @@ class classTreeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printContent', $methods ), 'exists method printContent' ); $r = new ReflectionMethod('Tree', 'printContent'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -140,8 +130,6 @@ class classTreeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('render', $methods ), 'exists method render' ); $r = new ReflectionMethod('Tree', 'render'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classWebResourceTest.php b/tests/automated/gulliver/system/classWebResourceTest.php index c2ded18e2..c657a1a0f 100644 --- a/tests/automated/gulliver/system/classWebResourceTest.php +++ b/tests/automated/gulliver/system/classWebResourceTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.webResource.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classWebResourceTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classWebResourceTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 2); + $methods = get_class_methods('WebResource'); $this->assertTrue( count($methods) == 2); } /** @@ -62,8 +62,6 @@ class classWebResourceTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'post'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -76,8 +74,6 @@ class classWebResourceTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('_encode', $methods ), 'exists method _encode' ); $r = new ReflectionMethod('WebResource', '_encode'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlFormTest.php b/tests/automated/gulliver/system/classXmlFormTest.php index 9c5775614..836695353 100644 --- a/tests/automated/gulliver/system/classXmlFormTest.php +++ b/tests/automated/gulliver/system/classXmlFormTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.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 classXmlFormTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlFormTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('XmlForm'); $this->assertTrue( count($methods) == 4); } /** @@ -65,8 +65,6 @@ class classXmlFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'forceParse'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -83,8 +81,6 @@ class classXmlFormTest 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.'); - } /** @@ -103,8 +99,6 @@ class classXmlFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'scriptContent'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -117,8 +111,6 @@ class classXmlFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('cloneObject', $methods ), 'exists method cloneObject' ); $r = new ReflectionMethod('XmlForm', 'cloneObject'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_FieldTest.php b/tests/automated/gulliver/system/classXmlForm_FieldTest.php index 72c7940c9..abb15bc31 100644 --- a/tests/automated/gulliver/system/classXmlForm_FieldTest.php +++ b/tests/automated/gulliver/system/classXmlForm_FieldTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field'); $this->assertTrue( count($methods) == 24); } /** @@ -71,8 +71,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -88,8 +86,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -109,8 +105,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -134,8 +128,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'utf-8'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -152,8 +144,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -182,8 +172,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -208,8 +196,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -222,8 +208,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('dependentOf', $methods ), 'exists method dependentOf' ); $r = new ReflectionMethod('XmlForm_Field', 'dependentOf'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -242,8 +226,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -256,8 +238,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAttributes', $methods ), 'exists method getAttributes' ); $r = new ReflectionMethod('XmlForm_Field', 'getAttributes'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -270,8 +250,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getEvents', $methods ), 'exists method getEvents' ); $r = new ReflectionMethod('XmlForm_Field', 'getEvents'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -287,8 +265,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'elementRef'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -305,8 +281,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -326,8 +300,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -344,8 +316,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -364,8 +334,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -378,8 +346,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('cloneObject', $methods ), 'exists method cloneObject' ); $r = new ReflectionMethod('XmlForm_Field', 'cloneObject'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -395,8 +361,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oOwner'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -413,8 +377,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -431,8 +393,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -449,8 +409,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -467,8 +425,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -485,8 +441,6 @@ class classXmlForm_FieldTest 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.'); - } /** @@ -499,8 +453,6 @@ class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('renderHint', $methods ), 'exists method renderHint' ); $r = new ReflectionMethod('XmlForm_Field', 'renderHint'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_ButtonTest.php b/tests/automated/gulliver/system/classXmlForm_Field_ButtonTest.php index 524b7ba0c..1b3310768 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_ButtonTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_ButtonTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_ButtonTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_ButtonTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Button'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_ButtonTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php index 603f0ed33..117536b45 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_CaptionCurrencyTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CaptionCurrencyTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_CaptionCurrency'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_CaptionCurrencyTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php index 9c2b842ff..9efd715b4 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_CaptionPercentageTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CaptionPercentageTest extends PHPUnit_Framework_TestCas */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_CaptionPercentage'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_CaptionPercentageTest extends PHPUnit_Framework_TestCas $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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CaptionTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CaptionTest.php index ff3b0e177..7820a1714 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CaptionTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CaptionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_CaptionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CaptionTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Caption'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_CaptionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +98,6 @@ class classXmlForm_Field_CaptionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == '-1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupTest.php index 02a6a897b..aabdd6160 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_CheckGroupTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CheckGroupTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_CheckGroup'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_CheckGroupTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php index bd3247409..47be3a223 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_CheckGroupViewTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CheckGroupViewTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_CheckGroupView'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_CheckGroupViewTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_Checkbox2Test.php b/tests/automated/gulliver/system/classXmlForm_Field_Checkbox2Test.php index 6accaa57d..558c7f3aa 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_Checkbox2Test.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_Checkbox2Test.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_Checkbox2Test extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_Checkbox2Test extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Checkbox2'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_Checkbox2Test 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CheckboxTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CheckboxTest.php index 7c33308d3..1774d4e1a 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CheckboxTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CheckboxTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_CheckboxTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CheckboxTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Checkbox'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_CheckboxTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_CheckboxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +100,6 @@ class classXmlForm_Field_CheckboxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CheckboxptTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CheckboxptTest.php index 94333acb4..2683491ff 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CheckboxptTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CheckboxptTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_CheckboxptTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CheckboxptTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Checkboxpt'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_CheckboxptTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_CheckboxptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +100,6 @@ class classXmlForm_Field_CheckboxptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_CurrencyTest.php b/tests/automated/gulliver/system/classXmlForm_Field_CurrencyTest.php index 083197406..85eccfbc7 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_CurrencyTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_CurrencyTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_CurrencyTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CurrencyTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Currency'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_CurrencyTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_CurrencyTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_DVEditorTest.php b/tests/automated/gulliver/system/classXmlForm_Field_DVEditorTest.php index 5cbf1b3f3..b5291c0c1 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_DVEditorTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_DVEditorTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlformExtension.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 classXmlForm_Field_DVEditorTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_DVEditorTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_DVEditor'); $this->assertTrue( count($methods) == 24); } /** @@ -63,8 +63,6 @@ class classXmlForm_Field_DVEditorTest 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.'); - } /** @@ -80,8 +78,6 @@ class classXmlForm_Field_DVEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'element'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_Date2Test.php b/tests/automated/gulliver/system/classXmlForm_Field_Date2Test.php index 1fec40afb..8a4382edb 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_Date2Test.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_Date2Test.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 27); + $methods = get_class_methods('XmlForm_Field_Date2'); $this->assertTrue( count($methods) == 27); } /** @@ -59,8 +59,6 @@ class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'date'); $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 classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'date'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sign'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -118,8 +112,6 @@ class classXmlForm_Field_Date2Test 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.'); - } /** @@ -144,8 +136,6 @@ class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_Date5Test.php b/tests/automated/gulliver/system/classXmlForm_Field_Date5Test.php index a1581cb78..3a211c932 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_Date5Test.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_Date5Test.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 29); + $methods = get_class_methods('XmlForm_Field_Date5'); $this->assertTrue( count($methods) == 29); } /** @@ -63,8 +63,6 @@ class classXmlForm_Field_Date5Test 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.'); - } /** @@ -80,8 +78,6 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'date'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +96,6 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sign'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -122,8 +116,6 @@ class classXmlForm_Field_Date5Test 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.'); - } /** @@ -148,8 +140,6 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -172,8 +162,6 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -192,8 +180,6 @@ class classXmlForm_Field_Date5Test extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'mask'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_DateTest.php b/tests/automated/gulliver/system/classXmlForm_Field_DateTest.php index 307c24a5e..e2253ed00 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_DateTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_DateTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 28); + $methods = get_class_methods('XmlForm_Field_Date'); $this->assertTrue( count($methods) == 28); } /** @@ -59,8 +59,6 @@ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'date'); $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 classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'date'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sign'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -118,8 +112,6 @@ class classXmlForm_Field_DateTest 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.'); - } /** @@ -144,8 +136,6 @@ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -168,8 +158,6 @@ class classXmlForm_Field_DateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_DateViewTest.php b/tests/automated/gulliver/system/classXmlForm_Field_DateViewTest.php index 2224414a0..46beaa76e 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_DateViewTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_DateViewTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_DateViewTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_DateViewTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_DateView'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_DateViewTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_DropdownTest.php b/tests/automated/gulliver/system/classXmlForm_Field_DropdownTest.php index 887a74614..a158b52d6 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_DropdownTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_DropdownTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_DropdownTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_DropdownTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Dropdown'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_DropdownTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +98,6 @@ class classXmlForm_Field_DropdownTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == '-1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +126,6 @@ class classXmlForm_Field_DropdownTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_DropdownptTest.php b/tests/automated/gulliver/system/classXmlForm_Field_DropdownptTest.php index ed2e6b600..e8e46ae7e 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_DropdownptTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_DropdownptTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_DropdownptTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_DropdownptTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Dropdownpt'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_DropdownptTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_DropdownptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_FastSearchTest.php b/tests/automated/gulliver/system/classXmlForm_Field_FastSearchTest.php index b769b0025..6bd3fe8e4 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_FastSearchTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_FastSearchTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlformExtension.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 classXmlForm_Field_FastSearchTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_FastSearchTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_FastSearch'); $this->assertTrue( count($methods) == 24); } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_FileTest.php b/tests/automated/gulliver/system/classXmlForm_Field_FileTest.php index 1eee2f934..f25d26e2b 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_FileTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_FileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_FileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_FileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_File'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_FileTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_GridTest.php b/tests/automated/gulliver/system/classXmlForm_Field_GridTest.php index 85e83822b..dab3af5b6 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_GridTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_GridTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 27); + $methods = get_class_methods('XmlForm_Field_Grid'); $this->assertTrue( count($methods) == 27); } /** @@ -65,8 +65,6 @@ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'home'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'language'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -106,8 +102,6 @@ class classXmlForm_Field_GridTest 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.'); - } /** @@ -131,8 +125,6 @@ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '-1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -148,8 +140,6 @@ class classXmlForm_Field_GridTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'values'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_HTMLTest.php b/tests/automated/gulliver/system/classXmlForm_Field_HTMLTest.php index 726d540fe..8ba80585b 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_HTMLTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_HTMLTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.dvEditor.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classXmlForm_Field_HTMLTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_HTMLTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_HTML'); $this->assertTrue( count($methods) == 24); } /** @@ -63,8 +63,6 @@ class classXmlForm_Field_HTMLTest 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.'); - } /** @@ -80,8 +78,6 @@ class classXmlForm_Field_HTMLTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'element'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_HiddenTest.php b/tests/automated/gulliver/system/classXmlForm_Field_HiddenTest.php index c8087f685..5a2c2e2c3 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_HiddenTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_HiddenTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_HiddenTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_HiddenTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Hidden'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_HiddenTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_HiddenTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +98,6 @@ class classXmlForm_Field_HiddenTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_ImageTest.php b/tests/automated/gulliver/system/classXmlForm_Field_ImageTest.php index ef16a4257..c70aa3c10 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_ImageTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_ImageTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.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 classXmlForm_Field_ImageTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_ImageTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Image'); $this->assertTrue( count($methods) == 24); } /** @@ -63,8 +63,6 @@ class classXmlForm_Field_ImageTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_JavaScriptTest.php b/tests/automated/gulliver/system/classXmlForm_Field_JavaScriptTest.php index 0c3467d73..0aa6b418d 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_JavaScriptTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_JavaScriptTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_JavaScriptTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_JavaScriptTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 25); + $methods = get_class_methods('XmlForm_Field_JavaScript'); $this->assertTrue( count($methods) == 25); } /** @@ -67,8 +67,6 @@ class classXmlForm_Field_JavaScriptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -89,8 +87,6 @@ class classXmlForm_Field_JavaScriptTest 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.'); - } /** @@ -109,8 +105,6 @@ class classXmlForm_Field_JavaScriptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -126,8 +120,6 @@ class classXmlForm_Field_JavaScriptTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_LabelTest.php b/tests/automated/gulliver/system/classXmlForm_Field_LabelTest.php index a545ff202..194eb27d5 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_LabelTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_LabelTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlformExtension.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 classXmlForm_Field_LabelTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_LabelTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Label'); $this->assertTrue( count($methods) == 24); } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_LinkTest.php b/tests/automated/gulliver/system/classXmlForm_Field_LinkTest.php index 20fff2bf6..a60e3ff61 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_LinkTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_LinkTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_LinkTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_LinkTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Link'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_LinkTest 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.'); - } /** @@ -86,8 +84,6 @@ class classXmlForm_Field_LinkTest 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.'); - } /** @@ -108,8 +104,6 @@ class classXmlForm_Field_LinkTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_ListboxTest.php b/tests/automated/gulliver/system/classXmlForm_Field_ListboxTest.php index ec63f0591..91274a8fb 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_ListboxTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_ListboxTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_ListboxTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_ListboxTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Listbox'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_ListboxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_ListboxTest 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.'); - } /** @@ -106,8 +102,6 @@ class classXmlForm_Field_ListboxTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_PasswordTest.php b/tests/automated/gulliver/system/classXmlForm_Field_PasswordTest.php index 2c179b4b9..266114409 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_PasswordTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_PasswordTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_PasswordTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_PasswordTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Password'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_PasswordTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_PercentageTest.php b/tests/automated/gulliver/system/classXmlForm_Field_PercentageTest.php index 61d0d777c..e77e392f1 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_PercentageTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_PercentageTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_PercentageTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_PercentageTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Percentage'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_PercentageTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_PrintTest.php b/tests/automated/gulliver/system/classXmlForm_Field_PrintTest.php index cd301b096..e9923c2e1 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_PrintTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_PrintTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_PrintTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_PrintTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Print'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_PrintTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupTest.php b/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupTest.php index 074040fef..060226f8f 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_RadioGroupTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_RadioGroupTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_RadioGroup'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_RadioGroupTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_RadioGroupTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php b/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php index c936e8793..590273e85 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_RadioGroupViewTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_RadioGroupViewTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_RadioGroupView'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_RadioGroupViewTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_ResetTest.php b/tests/automated/gulliver/system/classXmlForm_Field_ResetTest.php index 2c1d5b26d..65d83ad0a 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_ResetTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_ResetTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_ResetTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_ResetTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Reset'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_ResetTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_SimpleTextTest.php b/tests/automated/gulliver/system/classXmlForm_Field_SimpleTextTest.php index b191fda9b..bec622d91 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_SimpleTextTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_SimpleTextTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_SimpleTextTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_SimpleTextTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_SimpleText'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_SimpleTextTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_SimpleTextTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_SubmitTest.php b/tests/automated/gulliver/system/classXmlForm_Field_SubmitTest.php index cd4f2acc4..5ac7d28bf 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_SubmitTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_SubmitTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_SubmitTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_SubmitTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Submit'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_SubmitTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_SubtitleTest.php b/tests/automated/gulliver/system/classXmlForm_Field_SubtitleTest.php index c0a8f6a59..e3e26137a 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_SubtitleTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_SubtitleTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_SubtitleTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_SubtitleTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Subtitle'); $this->assertTrue( count($methods) == 24); } /** @@ -60,8 +60,6 @@ class classXmlForm_Field_SubtitleTest 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.'); - } /** @@ -77,8 +75,6 @@ class classXmlForm_Field_SubtitleTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_SuggestTest.php b/tests/automated/gulliver/system/classXmlForm_Field_SuggestTest.php index c8be250af..d3495c7e2 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_SuggestTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_SuggestTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_SuggestTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_SuggestTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Suggest'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_SuggestTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_SuggestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +100,6 @@ class classXmlForm_Field_SuggestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_TextTest.php b/tests/automated/gulliver/system/classXmlForm_Field_TextTest.php index 9a1a925df..31de51958 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_TextTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_TextTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_TextTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_TextTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Text'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_TextTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_TextTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +100,6 @@ class classXmlForm_Field_TextTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_TextareaTest.php b/tests/automated/gulliver/system/classXmlForm_Field_TextareaTest.php index 2b9a3fa8a..4532c65ff 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_TextareaTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_TextareaTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_TextareaTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_TextareaTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Textarea'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_TextareaTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_TextareaTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_TitleTest.php b/tests/automated/gulliver/system/classXmlForm_Field_TitleTest.php index acf439510..8215f6aa6 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_TitleTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_TitleTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:23. */ class classXmlForm_Field_TitleTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_TitleTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_Title'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_TitleTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classXmlForm_Field_TitleTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_XmlMenuTest.php b/tests/automated/gulliver/system/classXmlForm_Field_XmlMenuTest.php index b427082a1..9ef0b109a 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_XmlMenuTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_XmlMenuTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlMenu.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 25); + $methods = get_class_methods('XmlForm_Field_XmlMenu'); $this->assertTrue( count($methods) == 25); } /** @@ -68,8 +68,6 @@ class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'owner'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +98,6 @@ class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_XmlformTest.php b/tests/automated/gulliver/system/classXmlForm_Field_XmlformTest.php index f152cf4b1..88cecef7d 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_XmlformTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_XmlformTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.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 classXmlForm_Field_XmlformTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_XmlformTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 26); + $methods = get_class_methods('XmlForm_Field_Xmlform'); $this->assertTrue( count($methods) == 26); } /** @@ -65,8 +65,6 @@ class classXmlForm_Field_XmlformTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'home'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classXmlForm_Field_XmlformTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'language'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +98,6 @@ class classXmlForm_Field_XmlformTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'values'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_YesNoTest.php b/tests/automated/gulliver/system/classXmlForm_Field_YesNoTest.php index 15ce31e0f..b312cd25f 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_YesNoTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_YesNoTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:30. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24. */ class classXmlForm_Field_YesNoTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_YesNoTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_YesNo'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_YesNoTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_YesNoTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXmlForm_Field_cellMarkTest.php b/tests/automated/gulliver/system/classXmlForm_Field_cellMarkTest.php index c992bc056..278af94d8 100644 --- a/tests/automated/gulliver/system/classXmlForm_Field_cellMarkTest.php +++ b/tests/automated/gulliver/system/classXmlForm_Field_cellMarkTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlformExtension.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 classXmlForm_Field_cellMarkTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_cellMarkTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 26); + $methods = get_class_methods('XmlForm_Field_cellMark'); $this->assertTrue( count($methods) == 26); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_cellMarkTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_cellMarkTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXml_NodeTest.php b/tests/automated/gulliver/system/classXml_NodeTest.php index af2aa18a4..f248a0ab3 100644 --- a/tests/automated/gulliver/system/classXml_NodeTest.php +++ b/tests/automated/gulliver/system/classXml_NodeTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.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 classXml_NodeTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('Xml_Node'); $this->assertTrue( count($methods) == 8); } /** @@ -69,8 +69,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -89,8 +87,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -106,8 +102,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'childNode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -120,8 +114,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('toTree', $methods ), 'exists method toTree' ); $r = new ReflectionMethod('Xml_Node', 'toTree'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +130,6 @@ class classXml_NodeTest 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.'); - } /** @@ -155,8 +145,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'xpath'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getXML', $methods ), 'exists method getXML' ); $r = new ReflectionMethod('Xml_Node', 'getXML'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +169,6 @@ class classXml_NodeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getCDATAValue', $methods ), 'exists method getCDATAValue' ); $r = new ReflectionMethod('Xml_Node', 'getCDATAValue'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classXml_documentTest.php b/tests/automated/gulliver/system/classXml_documentTest.php index 752cf868d..41dca49d6 100644 --- a/tests/automated/gulliver/system/classXml_documentTest.php +++ b/tests/automated/gulliver/system/classXml_documentTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.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 classXml_documentTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXml_documentTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('Xml_document'); $this->assertTrue( count($methods) == 11); } /** @@ -56,8 +56,6 @@ class classXml_documentTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('Xml_document', $methods ), 'exists method Xml_document' ); $r = new ReflectionMethod('Xml_document', 'Xml_document'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -77,8 +75,6 @@ class classXml_documentTest 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.'); - } /** @@ -94,8 +90,6 @@ class classXml_documentTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'xpath'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -108,8 +102,6 @@ class classXml_documentTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getXML', $methods ), 'exists method getXML' ); $r = new ReflectionMethod('Xml_document', 'getXML'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -125,8 +117,6 @@ class classXml_documentTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classdatabase_baseTest.php b/tests/automated/gulliver/system/classdatabase_baseTest.php index 1d164604e..b6c594912 100644 --- a/tests/automated/gulliver/system/classdatabase_baseTest.php +++ b/tests/automated/gulliver/system/classdatabase_baseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.database_base.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classdatabase_baseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('database_base'); $this->assertTrue( count($methods) == 8); } /** @@ -76,8 +76,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == 'DB_NAME'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -93,8 +91,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sTable'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -113,8 +109,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aColumns'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -133,8 +127,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sColumn'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -156,8 +148,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'aParameters'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -179,8 +169,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'aParameters'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -196,8 +184,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sQuery'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -210,8 +196,6 @@ class classdatabase_baseTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('close', $methods ), 'exists method close' ); $r = new ReflectionMethod('database_base', 'close'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classdynaFormHandlerTest.php b/tests/automated/gulliver/system/classdynaFormHandlerTest.php index b14c21807..748c23954 100644 --- a/tests/automated/gulliver/system/classdynaFormHandlerTest.php +++ b/tests/automated/gulliver/system/classdynaFormHandlerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.dynaformhandler.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 classdynaFormHandlerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 23); + $methods = get_class_methods('dynaFormHandler'); $this->assertTrue( count($methods) == 23); } /** @@ -60,8 +60,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -74,8 +72,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('load', $methods ), 'exists method load' ); $r = new ReflectionMethod('dynaFormHandler', 'load'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -88,8 +84,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('reload', $methods ), 'exists method reload' ); $r = new ReflectionMethod('dynaFormHandler', 'reload'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +96,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__cloneEmpty', $methods ), 'exists method __cloneEmpty' ); $r = new ReflectionMethod('dynaFormHandler', '__cloneEmpty'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -120,8 +112,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -137,8 +127,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'nodename'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -154,8 +142,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'node'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -212,8 +196,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -230,8 +212,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -244,8 +224,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('fixXmlFile', $methods ), 'exists method fixXmlFile' ); $r = new ReflectionMethod('dynaFormHandler', 'fixXmlFile'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -264,8 +242,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'att_value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -284,8 +260,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'att_new_value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -307,8 +281,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'att_new_value'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -324,8 +296,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'v'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -341,8 +311,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'node_name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -358,8 +326,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'selected_node'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -375,8 +341,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'selected_node'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -393,8 +357,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -411,8 +373,6 @@ class classdynaFormHandlerTest 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.'); - } /** @@ -435,8 +395,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -461,8 +419,6 @@ class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'childAttributes'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -482,8 +438,6 @@ class classdynaFormHandlerTest 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.'); - } } diff --git a/tests/automated/gulliver/system/classfilterFormTest.php b/tests/automated/gulliver/system/classfilterFormTest.php index 26c1baa46..558996b08 100644 --- a/tests/automated/gulliver/system/classfilterFormTest.php +++ b/tests/automated/gulliver/system/classfilterFormTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.filterForm.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 classfilterFormTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classfilterFormTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('filterForm'); $this->assertTrue( count($methods) == 13); } /** @@ -62,8 +62,6 @@ class classfilterFormTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'scriptContent'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classfunctionTestTest.php b/tests/automated/gulliver/system/classfunctionTestTest.php index 2bdaa3ea3..d941461f9 100644 --- a/tests/automated/gulliver/system/classfunctionTestTest.php +++ b/tests/automated/gulliver/system/classfunctionTestTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.functionTest.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classfunctionTestTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classfunctionTestTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 2); + $methods = get_class_methods('functionTest'); $this->assertTrue( count($methods) == 2); } /** @@ -59,8 +59,6 @@ class classfunctionTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dbc'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classfunctionTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'limeTestObject'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classheadPublisherTest.php b/tests/automated/gulliver/system/classheadPublisherTest.php index 69e5447ac..6c970a76b 100644 --- a/tests/automated/gulliver/system/classheadPublisherTest.php +++ b/tests/automated/gulliver/system/classheadPublisherTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.headPublisher.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classheadPublisherTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 28); + $methods = get_class_methods('headPublisher'); $this->assertTrue( count($methods) == 28); } /** @@ -56,8 +56,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('headPublisher', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' ); $r = new ReflectionMethod('headPublisher', 'getSingleton'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'title'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -108,8 +102,6 @@ class classheadPublisherTest 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.'); - } /** @@ -129,8 +121,6 @@ class classheadPublisherTest 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.'); - } /** @@ -149,8 +139,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'module'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'module'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -186,8 +172,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'script'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -200,8 +184,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printHeader', $methods ), 'exists method printHeader' ); $r = new ReflectionMethod('headPublisher', 'printHeader'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -214,8 +196,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printRawHeader', $methods ), 'exists method printRawHeader' ); $r = new ReflectionMethod('headPublisher', 'printRawHeader'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -228,8 +208,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('clearScripts', $methods ), 'exists method clearScripts' ); $r = new ReflectionMethod('headPublisher', 'clearScripts'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -242,8 +220,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('includeExtJs', $methods ), 'exists method includeExtJs' ); $r = new ReflectionMethod('headPublisher', 'includeExtJs'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -259,8 +235,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'skinName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -273,8 +247,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getExtJsScripts', $methods ), 'exists method getExtJsScripts' ); $r = new ReflectionMethod('headPublisher', 'getExtJsScripts'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -287,8 +259,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getExtJsVariablesScript', $methods ), 'exists method getExtJsVariablesScript' ); $r = new ReflectionMethod('headPublisher', 'getExtJsVariablesScript'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -301,8 +271,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getExtJsLibraries', $methods ), 'exists method getExtJsLibraries' ); $r = new ReflectionMethod('headPublisher', 'getExtJsLibraries'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -318,8 +286,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'library'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -335,8 +301,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'skin'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -360,8 +324,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -377,8 +339,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'templateHtml'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -391,8 +351,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getContent', $methods ), 'exists method getContent' ); $r = new ReflectionMethod('headPublisher', 'getContent'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -411,8 +369,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -431,8 +387,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -445,8 +399,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getVars', $methods ), 'exists method getVars' ); $r = new ReflectionMethod('headPublisher', 'getVars'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -465,8 +417,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -479,8 +429,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('renderExtJs', $methods ), 'exists method renderExtJs' ); $r = new ReflectionMethod('headPublisher', 'renderExtJs'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -496,8 +444,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sJson'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -510,8 +456,6 @@ class classheadPublisherTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('disableHeaderScripts', $methods ), 'exists method disableHeaderScripts' ); $r = new ReflectionMethod('headPublisher', 'disableHeaderScripts'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classi18n_POTest.php b/tests/automated/gulliver/system/classi18n_POTest.php index 301eb1027..b49131f82 100644 --- a/tests/automated/gulliver/system/classi18n_POTest.php +++ b/tests/automated/gulliver/system/classi18n_POTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.i18n_po.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 classi18n_POTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 17); + $methods = get_class_methods('i18n_PO'); $this->assertTrue( count($methods) == 17); } /** @@ -59,8 +59,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $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 classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('buildInit', $methods ), 'exists method buildInit' ); $r = new ReflectionMethod('i18n_PO', 'buildInit'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('readInit', $methods ), 'exists method readInit' ); $r = new ReflectionMethod('i18n_PO', 'readInit'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -107,8 +101,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -124,8 +116,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -141,8 +131,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -158,8 +146,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -175,8 +161,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -192,8 +176,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -212,8 +194,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'msgstr'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -229,8 +209,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -246,8 +224,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'str'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -267,8 +243,6 @@ class classi18n_POTest 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.'); - } /** @@ -281,8 +255,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('headerStroke', $methods ), 'exists method headerStroke' ); $r = new ReflectionMethod('i18n_PO', 'headerStroke'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -295,8 +267,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getHeaders', $methods ), 'exists method getHeaders' ); $r = new ReflectionMethod('i18n_PO', 'getHeaders'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -309,8 +279,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getTranslation', $methods ), 'exists method getTranslation' ); $r = new ReflectionMethod('i18n_PO', 'getTranslation'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -323,8 +291,6 @@ class classi18n_POTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__destruct', $methods ), 'exists method __destruct' ); $r = new ReflectionMethod('i18n_PO', '__destruct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classmailerTest.php b/tests/automated/gulliver/system/classmailerTest.php index 2663b9f03..1d32eefd0 100644 --- a/tests/automated/gulliver/system/classmailerTest.php +++ b/tests/automated/gulliver/system/classmailerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.mailer.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classmailerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classmailerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 7); + $methods = get_class_methods('mailer'); $this->assertTrue( count($methods) == 7); } /** @@ -56,8 +56,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('instanceMailer', $methods ), 'exists method instanceMailer' ); $r = new ReflectionMethod('mailer', 'instanceMailer'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -73,8 +71,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'address'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -127,8 +123,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[9]->isArray() == false); $this->assertTrue( $params[9]->isOptional () == true); $this->assertTrue( $params[9]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +175,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[9]->isArray() == false); $this->assertTrue( $params[9]->isOptional () == true); $this->assertTrue( $params[9]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -223,8 +215,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -245,8 +235,6 @@ class classmailerTest 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.'); - } /** @@ -259,8 +247,6 @@ class classmailerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('html2text', $methods ), 'exists method html2text' ); $r = new ReflectionMethod('mailer', 'html2text'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classobjectTemplateTest.php b/tests/automated/gulliver/system/classobjectTemplateTest.php index fc9193d14..1e1278317 100644 --- a/tests/automated/gulliver/system/classobjectTemplateTest.php +++ b/tests/automated/gulliver/system/classobjectTemplateTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.objectTemplate.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classobjectTemplateTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classobjectTemplateTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 60); + $methods = get_class_methods('objectTemplate'); $this->assertTrue( count($methods) == 60); } /** @@ -59,8 +59,6 @@ class classobjectTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'templateFile'); $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 classobjectTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'object'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classpagedTableTest.php b/tests/automated/gulliver/system/classpagedTableTest.php index 058ae3d7c..3cd540ad2 100644 --- a/tests/automated/gulliver/system/classpagedTableTest.php +++ b/tests/automated/gulliver/system/classpagedTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.pagedTable.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classpagedTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 9); + $methods = get_class_methods('pagedTable'); $this->assertTrue( count($methods) == 9); } /** @@ -56,8 +56,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('analizeSql', $methods ), 'exists method analizeSql' ); $r = new ReflectionMethod('pagedTable', 'analizeSql'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('prepareQuery', $methods ), 'exists method prepareQuery' ); $r = new ReflectionMethod('pagedTable', 'prepareQuery'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'xmlForm'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +95,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('count', $methods ), 'exists method count' ); $r = new ReflectionMethod('pagedTable', 'count'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -115,8 +107,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('renderTitle', $methods ), 'exists method renderTitle' ); $r = new ReflectionMethod('pagedTable', 'renderTitle'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +128,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'result'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -152,8 +140,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('defaultStyle', $methods ), 'exists method defaultStyle' ); $r = new ReflectionMethod('pagedTable', 'defaultStyle'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -170,8 +156,6 @@ class classpagedTableTest 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.'); - } /** @@ -191,8 +175,6 @@ class classpagedTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classtestToolsTest.php b/tests/automated/gulliver/system/classtestToolsTest.php index 50b28d239..fa4fee02d 100644 --- a/tests/automated/gulliver/system/classtestToolsTest.php +++ b/tests/automated/gulliver/system/classtestToolsTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.testTools.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 classtestToolsTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 7); + $methods = get_class_methods('testTools'); $this->assertTrue( count($methods) == 7); } /** @@ -71,8 +71,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'importFile'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -88,8 +86,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'importFile'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -114,8 +110,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'SESSION'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -134,8 +128,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'appendFrom'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -151,8 +143,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -172,8 +162,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -192,8 +180,6 @@ class classtestToolsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'obj'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classunitTestTest.php b/tests/automated/gulliver/system/classunitTestTest.php index cbb69ae7b..d105862bf 100644 --- a/tests/automated/gulliver/system/classunitTestTest.php +++ b/tests/automated/gulliver/system/classunitTestTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.unitTest.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 classunitTestTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classunitTestTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 6); + $methods = get_class_methods('unitTest'); $this->assertTrue( count($methods) == 6); } /** @@ -65,8 +65,6 @@ class classunitTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'testDomain'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -86,8 +84,6 @@ class classunitTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +100,6 @@ class classunitTestTest 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.'); - } /** @@ -130,8 +124,6 @@ class classunitTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -148,8 +140,6 @@ class classunitTestTest 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.'); - } /** @@ -168,8 +158,6 @@ class classunitTestTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'Fields'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classxmlMenuTest.php b/tests/automated/gulliver/system/classxmlMenuTest.php index 202c07ed5..6cdef71ea 100644 --- a/tests/automated/gulliver/system/classxmlMenuTest.php +++ b/tests/automated/gulliver/system/classxmlMenuTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlMenu.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:28. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:22. */ class classxmlMenuTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classxmlMenuTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('xmlMenu'); $this->assertTrue( count($methods) == 13); } } diff --git a/tests/automated/gulliver/system/classxmlformTemplateTest.php b/tests/automated/gulliver/system/classxmlformTemplateTest.php index 859150a2a..6813a06d1 100644 --- a/tests/automated/gulliver/system/classxmlformTemplateTest.php +++ b/tests/automated/gulliver/system/classxmlformTemplateTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.xmlform.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 classxmlformTemplateTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 68); + $methods = get_class_methods('xmlformTemplate'); $this->assertTrue( count($methods) == 68); } /** @@ -62,8 +62,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'templateFile'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -83,8 +81,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'smarty'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +96,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'form'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -117,8 +111,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'form'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +130,6 @@ class classxmlformTemplateTest 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.'); - } /** @@ -159,8 +149,6 @@ class classxmlformTemplateTest 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.'); - } /** @@ -182,8 +170,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'smarty_obj'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -205,8 +191,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'smarty_obj'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -225,8 +209,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'smarty_obj'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -245,8 +227,6 @@ class classxmlformTemplateTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'smarty_obj'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classymlDomainTest.php b/tests/automated/gulliver/system/classymlDomainTest.php index d1256913c..e8a2065e0 100644 --- a/tests/automated/gulliver/system/classymlDomainTest.php +++ b/tests/automated/gulliver/system/classymlDomainTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.ymlDomain.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 classymlDomainTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('ymlDomain'); $this->assertTrue( count($methods) == 11); } /** @@ -56,8 +56,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('ymlDomain', $methods ), 'exists method ymlDomain' ); $r = new ReflectionMethod('ymlDomain', 'ymlDomain'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -73,8 +71,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'domainName'); $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 classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'domainName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -127,8 +119,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'resource'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -144,8 +134,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'resource'); $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 classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'resource'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'where'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -201,8 +185,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'from'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -218,8 +200,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -238,8 +218,6 @@ class classymlDomainTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'appendFrom'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/gulliver/system/classymlTestCasesTest.php b/tests/automated/gulliver/system/classymlTestCasesTest.php index 392565206..8e2a77354 100644 --- a/tests/automated/gulliver/system/classymlTestCasesTest.php +++ b/tests/automated/gulliver/system/classymlTestCasesTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'gulliver/system/class.ymlTestCases.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 classymlTestCasesTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 6); + $methods = get_class_methods('ymlTestCases'); $this->assertTrue( count($methods) == 6); } /** @@ -65,8 +65,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'testLime'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +85,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -109,8 +105,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +132,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -159,8 +151,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -188,8 +178,6 @@ class classymlTestCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classAppSolrTest.php b/tests/automated/workflow/engine/classes/classAppSolrTest.php index 2094f1025..296deb83e 100644 --- a/tests/automated/workflow/engine/classes/classAppSolrTest.php +++ b/tests/automated/workflow/engine/classes/classAppSolrTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.AppSolr.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classAppSolrTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 25); + $methods = get_class_methods('AppSolr'); $this->assertTrue( count($methods) == 25); } /** @@ -65,8 +65,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'SolrInstance'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('isSolrEnabled', $methods ), 'exists method isSolrEnabled' ); $r = new ReflectionMethod('AppSolr', 'isSolrEnabled'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -156,8 +152,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[15]->isArray() == false); $this->assertTrue( $params[15]->isOptional () == true); $this->assertTrue( $params[15]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -173,8 +167,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'userUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -190,8 +182,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'usrUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -210,8 +200,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'delIndex'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -227,8 +215,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'plainSearchText'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -244,8 +230,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'appUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -261,8 +245,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aaAPPUIDs'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -278,8 +260,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'appUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -295,8 +275,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aaAPPUIDs'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -348,8 +326,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[12]->getName() == 'unassignedGroups'); $this->assertTrue( $params[12]->isArray() == false); $this->assertTrue( $params[12]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -365,8 +341,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'AppUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -397,8 +371,6 @@ class classAppSolrTest 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.'); - } /** @@ -429,8 +401,6 @@ class classAppSolrTest 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.'); - } /** @@ -449,8 +419,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'andColumnsConditions'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -466,8 +434,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'AppUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -486,8 +452,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'TaskUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -503,8 +467,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ProUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -523,8 +485,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'updated'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -537,8 +497,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('synchronizePendingApplications', $methods ), 'exists method synchronizePendingApplications' ); $r = new ReflectionMethod('AppSolr', 'synchronizePendingApplications'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -551,8 +509,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getCountApplicationsPMOS2', $methods ), 'exists method getCountApplicationsPMOS2' ); $r = new ReflectionMethod('AppSolr', 'getCountApplicationsPMOS2'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -565,8 +521,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getCountApplicationsSearchIndex', $methods ), 'exists method getCountApplicationsSearchIndex' ); $r = new ReflectionMethod('AppSolr', 'getCountApplicationsSearchIndex'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -585,8 +539,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pagesize'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -599,8 +551,6 @@ class classAppSolrTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('reindexAllApplications', $methods ), 'exists method reindexAllApplications' ); $r = new ReflectionMethod('AppSolr', 'reindexAllApplications'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classApplicationWithoutDelegationRecordsExceptionTest.php b/tests/automated/workflow/engine/classes/classApplicationWithoutDelegationRecordsExceptionTest.php index 9c0c7e219..bc2710bc7 100644 --- a/tests/automated/workflow/engine/classes/classApplicationWithoutDelegationRecordsExceptionTest.php +++ b/tests/automated/workflow/engine/classes/classApplicationWithoutDelegationRecordsExceptionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.AppSolr.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classApplicationWithoutDelegationRecordsExceptionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classApplicationWithoutDelegationRecordsExceptionTest extends PHPUnit_Fram */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('ApplicationWithoutDelegationRecordsException'); $this->assertTrue( count($methods) == 8); } /** @@ -63,8 +63,6 @@ class classApplicationWithoutDelegationRecordsExceptionTest extends PHPUnit_Fram $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -77,8 +75,6 @@ class classApplicationWithoutDelegationRecordsExceptionTest extends PHPUnit_Fram $this->assertTrue( in_array('__toString', $methods ), 'exists method __toString' ); $r = new ReflectionMethod('ApplicationWithoutDelegationRecordsException', '__toString'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classApplicationsTest.php b/tests/automated/workflow/engine/classes/classApplicationsTest.php index a04a47caa..f51a59b80 100644 --- a/tests/automated/workflow/engine/classes/classApplicationsTest.php +++ b/tests/automated/workflow/engine/classes/classApplicationsTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.applications.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 classApplicationsTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 5); + $methods = get_class_methods('Applications'); $this->assertTrue( count($methods) == 5); } /** @@ -115,8 +115,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[14]->isArray() == false); $this->assertTrue( $params[14]->isOptional () == true); $this->assertTrue( $params[14]->getDefaultValue() == 'APP_CACHE_VIEW.APP_NUMBER'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -129,8 +127,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('setDefaultFields', $methods ), 'exists method setDefaultFields' ); $r = new ReflectionMethod('Applications', 'setDefaultFields'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -146,8 +142,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'action'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -175,8 +169,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'dateFormat'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -201,8 +193,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'proUid'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classBpmnEngine_SearchIndexAccess_SolrTest.php b/tests/automated/workflow/engine/classes/classBpmnEngine_SearchIndexAccess_SolrTest.php index 61845ebc6..4bffdf43c 100644 --- a/tests/automated/workflow/engine/classes/classBpmnEngine_SearchIndexAccess_SolrTest.php +++ b/tests/automated/workflow/engine/classes/classBpmnEngine_SearchIndexAccess_SolrTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.solr.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:31. */ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 12); + $methods = get_class_methods('BpmnEngine_SearchIndexAccess_Solr'); $this->assertTrue( count($methods) == 12); } /** @@ -64,8 +64,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $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.'); - } /** @@ -78,8 +76,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( in_array('isEnabled', $methods ), 'exists method isEnabled' ); $r = new ReflectionMethod('BpmnEngine_SearchIndexAccess_Solr', 'isEnabled'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -95,8 +91,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -112,8 +106,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'solrRequestData'); $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 classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'solrUpdateDocument'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -146,8 +136,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -163,8 +151,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -180,8 +166,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -197,8 +181,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -214,8 +196,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -234,8 +214,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[1]->getName() == 'idQuery'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -251,8 +229,6 @@ class classBpmnEngine_SearchIndexAccess_SolrTest extends PHPUnit_Framework_TestC $this->assertTrue( $params[0]->getName() == 'facetRequest'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classBpmnEngine_Services_SearchIndexTest.php b/tests/automated/workflow/engine/classes/classBpmnEngine_Services_SearchIndexTest.php index a05caa4da..ee2c720bb 100644 --- a/tests/automated/workflow/engine/classes/classBpmnEngine_Services_SearchIndexTest.php +++ b/tests/automated/workflow/engine/classes/classBpmnEngine_Services_SearchIndexTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.searchIndex.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 classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 9); + $methods = get_class_methods('BpmnEngine_Services_SearchIndex'); $this->assertTrue( count($methods) == 9); } /** @@ -64,8 +64,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $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.'); - } /** @@ -78,8 +76,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( in_array('isEnabled', $methods ), 'exists method isEnabled' ); $r = new ReflectionMethod('BpmnEngine_Services_SearchIndex', 'isEnabled'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -95,8 +91,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'facetRequestEntity'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -112,8 +106,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'workspace'); $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 classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'solrUpdateDocumentEntity'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -149,8 +139,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[1]->getName() == 'idQuery'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -166,8 +154,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +169,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'solrRequestData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -200,8 +184,6 @@ class classBpmnEngine_Services_SearchIndexTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classCLITest.php b/tests/automated/workflow/engine/classes/classCLITest.php index d34290fde..c0975e1f0 100644 --- a/tests/automated/workflow/engine/classes/classCLITest.php +++ b/tests/automated/workflow/engine/classes/classCLITest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.cli.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 classCLITest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classCLITest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('CLI'); $this->assertTrue( count($methods) == 13); } /** @@ -59,8 +59,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'description'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +97,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -128,8 +122,6 @@ class classCLITest 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.'); - } /** @@ -145,8 +137,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'function'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -166,8 +156,6 @@ class classCLITest 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.'); - } /** @@ -180,8 +168,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('run', $methods ), 'exists method run' ); $r = new ReflectionMethod('CLI', 'run'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -197,8 +183,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -214,8 +198,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -231,8 +213,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -248,8 +228,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -265,8 +243,6 @@ class classCLITest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'message'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -286,8 +262,6 @@ class classCLITest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classCasesTest.php b/tests/automated/workflow/engine/classes/classCasesTest.php index 1985dc4dd..3f458681a 100644 --- a/tests/automated/workflow/engine/classes/classCasesTest.php +++ b/tests/automated/workflow/engine/classes/classCasesTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.case.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:33. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:26. */ class classCasesTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classCasesTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 96); + $methods = get_class_methods('Cases'); $this->assertTrue( count($methods) == 96); } /** @@ -56,8 +56,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('Cases', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -74,8 +72,6 @@ class classCasesTest 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.'); - } /** @@ -92,8 +88,6 @@ class classCasesTest 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.'); - } /** @@ -112,8 +106,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'typeView'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classCasesTest 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.'); - } /** @@ -150,8 +140,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'TAS_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -171,8 +159,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -188,8 +174,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sCaseNumber'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -211,8 +195,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sLabel'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -231,8 +213,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aAppData'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -254,8 +234,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'aAppData'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -274,8 +252,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aAppData'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -294,8 +270,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aAppData'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -314,8 +288,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aAppData'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -334,8 +306,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aArray2'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -355,8 +325,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -372,8 +340,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -392,8 +358,6 @@ class classCasesTest 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.'); - } /** @@ -415,8 +379,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'usrId'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -432,8 +394,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -452,8 +412,6 @@ class classCasesTest 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.'); - } /** @@ -478,8 +436,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sCurrentTask'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -502,8 +458,6 @@ class classCasesTest 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.'); - } /** @@ -522,8 +476,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sAppUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -539,8 +491,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sTasUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -559,8 +509,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTasUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -579,8 +527,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTasUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -622,8 +568,6 @@ class classCasesTest 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.'); - } /** @@ -645,8 +589,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iAppThreadIndex'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -662,8 +604,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -679,8 +619,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -702,8 +640,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iNewDelIndex'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -722,8 +658,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'iAppThreadIndex'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -739,8 +673,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -762,8 +694,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iAppParent'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -779,8 +709,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -799,8 +727,6 @@ class classCasesTest 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.'); - } /** @@ -819,8 +745,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'iDelegation'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -843,8 +767,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -873,8 +795,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -903,8 +823,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == true); $this->assertTrue( $params[3]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -927,8 +845,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'DYNAFORM'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -951,8 +867,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'DYNAFORM'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -968,8 +882,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -985,8 +897,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sUIDUserLogged'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1015,8 +925,6 @@ class classCasesTest 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.'); - } /** @@ -1032,8 +940,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'APP_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1052,8 +958,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'delIndex'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1069,8 +973,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'today'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1086,8 +988,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'usrLogged'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1103,8 +1003,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'iApplicationNumber'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1125,8 +1023,6 @@ class classCasesTest 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.'); - } /** @@ -1151,8 +1047,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sTriggerType'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1181,8 +1075,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1198,8 +1090,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'triggers'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1225,8 +1115,6 @@ class classCasesTest 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.'); - } /** @@ -1242,8 +1130,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sApplicationUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1259,8 +1145,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sApplicationUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1279,8 +1163,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'PRO_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1306,8 +1188,6 @@ class classCasesTest 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.'); - } /** @@ -1329,8 +1209,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sUserUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1352,8 +1230,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'user_logged'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1375,8 +1251,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'user_logged'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1405,8 +1279,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == 'REASSIGN'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1422,8 +1294,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'APP_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1439,8 +1309,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'APP_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1465,8 +1333,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sUserUID'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1491,8 +1357,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sUserUID'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1517,8 +1381,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sUserUID'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1550,8 +1412,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1576,8 +1436,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'USR_UID'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1606,8 +1464,6 @@ class classCasesTest 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.'); - } /** @@ -1626,8 +1482,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pin'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1643,8 +1497,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'PRO_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1657,8 +1509,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('verifyTable', $methods ), 'exists method verifyTable' ); $r = new ReflectionMethod('Cases', 'verifyTable'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1680,8 +1530,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sDocUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1703,8 +1551,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sDocUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1720,8 +1566,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sApplicationUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1737,8 +1581,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sApplicationUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1757,8 +1599,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'Msg_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1778,8 +1618,6 @@ class classCasesTest 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.'); - } /** @@ -1811,8 +1649,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1842,8 +1678,6 @@ class classCasesTest 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.'); - } /** @@ -1862,8 +1696,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'USR_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1909,8 +1741,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[10]->getName() == 'aSupervisor'); $this->assertTrue( $params[10]->isArray() == false); $this->assertTrue( $params[10]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1930,8 +1760,6 @@ class classCasesTest 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.'); - } /** @@ -1951,8 +1779,6 @@ class classCasesTest 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.'); - } /** @@ -1971,8 +1797,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sUIDUserLogged'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1989,8 +1813,6 @@ class classCasesTest 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.'); - } /** @@ -2003,8 +1825,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('clearCaseSessionData', $methods ), 'exists method clearCaseSessionData' ); $r = new ReflectionMethod('Cases', 'clearCaseSessionData'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2020,8 +1840,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'APP_NUMBER'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2037,8 +1855,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2054,8 +1870,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2074,8 +1888,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'USR_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2091,8 +1903,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sAppUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2116,8 +1926,6 @@ class classCasesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classConfigurationsTest.php b/tests/automated/workflow/engine/classes/classConfigurationsTest.php index 905d411fe..37966a65c 100644 --- a/tests/automated/workflow/engine/classes/classConfigurationsTest.php +++ b/tests/automated/workflow/engine/classes/classConfigurationsTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.configuration.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 classConfigurationsTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 16); + $methods = get_class_methods('Configurations'); $this->assertTrue( count($methods) == 16); } /** @@ -56,8 +56,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('Configurations', $methods ), 'exists method Configurations' ); $r = new ReflectionMethod('Configurations', 'Configurations'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -76,8 +74,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'cloneObject'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'from'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -132,8 +126,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -165,8 +157,6 @@ class classConfigurationsTest 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.'); - } /** @@ -197,8 +187,6 @@ class classConfigurationsTest 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.'); - } /** @@ -232,8 +220,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -264,8 +250,6 @@ class classConfigurationsTest 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.'); - } /** @@ -296,8 +280,6 @@ class classConfigurationsTest 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.'); - } /** @@ -319,8 +301,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'lastname'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -333,8 +313,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getFormats', $methods ), 'exists method getFormats' ); $r = new ReflectionMethod('Configurations', 'getFormats'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -356,8 +334,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'to'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -370,8 +346,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDateFormats', $methods ), 'exists method getDateFormats' ); $r = new ReflectionMethod('Configurations', 'getDateFormats'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -384,8 +358,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUserNameFormats', $methods ), 'exists method getUserNameFormats' ); $r = new ReflectionMethod('Configurations', 'getUserNameFormats'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -401,8 +373,6 @@ class classConfigurationsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dateTime'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -423,8 +393,6 @@ class classConfigurationsTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classDerivationTest.php b/tests/automated/workflow/engine/classes/classDerivationTest.php index 9a98876af..aebb83223 100644 --- a/tests/automated/workflow/engine/classes/classDerivationTest.php +++ b/tests/automated/workflow/engine/classes/classDerivationTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.derivation.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classDerivationTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classDerivationTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('Derivation'); $this->assertTrue( count($methods) == 13); } /** @@ -59,8 +59,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $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 classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $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 classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sTasUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -127,8 +119,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aUsers'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -144,8 +134,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'tasInfo'); $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 classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'USR_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'usrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -203,8 +187,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -230,8 +212,6 @@ class classDerivationTest 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.'); - } /** @@ -247,8 +227,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sApplicationUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -267,8 +245,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sDelIndexParent'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -284,8 +260,6 @@ class classDerivationTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classDynaFormFieldTest.php b/tests/automated/workflow/engine/classes/classDynaFormFieldTest.php index 8f4649d4e..541df75c3 100644 --- a/tests/automated/workflow/engine/classes/classDynaFormFieldTest.php +++ b/tests/automated/workflow/engine/classes/classDynaFormFieldTest.php @@ -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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classFileCacheTest.php b/tests/automated/workflow/engine/classes/classFileCacheTest.php index d6bf02035..dc6d3f756 100644 --- a/tests/automated/workflow/engine/classes/classFileCacheTest.php +++ b/tests/automated/workflow/engine/classes/classFileCacheTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.fileCache.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:31. */ class classFileCacheTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('FileCache'); $this->assertTrue( count($methods) == 4); } /** @@ -59,8 +59,6 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dir'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -80,8 +78,6 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '3600'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -100,8 +96,6 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'data'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -117,8 +111,6 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'key'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classGroupsTest.php b/tests/automated/workflow/engine/classes/classGroupsTest.php index 05787c676..657df86f7 100644 --- a/tests/automated/workflow/engine/classes/classGroupsTest.php +++ b/tests/automated/workflow/engine/classes/classGroupsTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.groups.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classGroupsTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classGroupsTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 17); + $methods = get_class_methods('Groups'); $this->assertTrue( count($methods) == 17); } /** @@ -59,8 +59,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sGroupUID'); $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 classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sUserUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'UsrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -116,8 +110,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'UsrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllGroups', $methods ), 'exists method getAllGroups' ); $r = new ReflectionMethod('Groups', 'getAllGroups'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +137,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sUserUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -168,8 +156,6 @@ class classGroupsTest 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.'); - } /** @@ -189,8 +175,6 @@ class classGroupsTest 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.'); - } /** @@ -206,8 +190,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'usrUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -224,8 +206,6 @@ class classGroupsTest 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.'); - } /** @@ -242,8 +222,6 @@ class classGroupsTest 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.'); - } /** @@ -260,8 +238,6 @@ class classGroupsTest 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.'); - } /** @@ -277,8 +253,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sUserUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -295,8 +269,6 @@ class classGroupsTest 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.'); - } /** @@ -315,8 +287,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'UsrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -332,8 +302,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sGroupUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -349,8 +317,6 @@ class classGroupsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'GrpUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classInstallerTest.php b/tests/automated/workflow/engine/classes/classInstallerTest.php index 41604477d..c42cb94c1 100644 --- a/tests/automated/workflow/engine/classes/classInstallerTest.php +++ b/tests/automated/workflow/engine/classes/classInstallerTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.Installer.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 classInstallerTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classInstallerTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('Installer'); $this->assertTrue( count($methods) == 11); } /** @@ -56,8 +56,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('Installer', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -78,8 +76,6 @@ class classInstallerTest 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.'); - } /** @@ -96,8 +92,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == 'workflow'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('set_admin', $methods ), 'exists method set_admin' ); $r = new ReflectionMethod('Installer', 'set_admin'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'connection'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -151,8 +141,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '777'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classInstallerTest 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.'); - } /** @@ -189,8 +175,6 @@ class classInstallerTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'extension'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -206,8 +190,6 @@ class classInstallerTest 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.'); - } /** @@ -223,8 +205,6 @@ class classInstallerTest 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.'); - } /** @@ -244,8 +224,6 @@ class classInstallerTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classInvalidIndexSearchTextExceptionTest.php b/tests/automated/workflow/engine/classes/classInvalidIndexSearchTextExceptionTest.php index 9a0630f1a..2dd9b9231 100644 --- a/tests/automated/workflow/engine/classes/classInvalidIndexSearchTextExceptionTest.php +++ b/tests/automated/workflow/engine/classes/classInvalidIndexSearchTextExceptionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.AppSolr.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCas */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('InvalidIndexSearchTextException'); $this->assertTrue( count($methods) == 8); } /** @@ -63,8 +63,6 @@ class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCas $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -77,8 +75,6 @@ class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCas $this->assertTrue( in_array('__toString', $methods ), 'exists method __toString' ); $r = new ReflectionMethod('InvalidIndexSearchTextException', '__toString'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classJavaBridgePMTest.php b/tests/automated/workflow/engine/classes/classJavaBridgePMTest.php index 22252ebdd..d450f098d 100644 --- a/tests/automated/workflow/engine/classes/classJavaBridgePMTest.php +++ b/tests/automated/workflow/engine/classes/classJavaBridgePMTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.javaBridgePM.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 classJavaBridgePMTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classJavaBridgePMTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('JavaBridgePM'); $this->assertTrue( count($methods) == 3); } /** @@ -56,8 +56,6 @@ class classJavaBridgePMTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('checkJavaExtension', $methods ), 'exists method checkJavaExtension' ); $r = new ReflectionMethod('JavaBridgePM', 'checkJavaExtension'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -76,8 +74,6 @@ class classJavaBridgePMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'className'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -99,8 +95,6 @@ class classJavaBridgePMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'template'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classJrmlTest.php b/tests/automated/workflow/engine/classes/classJrmlTest.php index c887a9eb0..b90a6441a 100644 --- a/tests/automated/workflow/engine/classes/classJrmlTest.php +++ b/tests/automated/workflow/engine/classes/classJrmlTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.jrml.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classJrmlTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classJrmlTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 7); + $methods = get_class_methods('Jrml'); $this->assertTrue( count($methods) == 7); } /** @@ -60,8 +60,6 @@ class classJrmlTest 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.'); - } /** @@ -74,8 +72,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get_md', $methods ), 'exists method get_md' ); $r = new ReflectionMethod('Jrml', 'get_md'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -88,8 +84,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get_header', $methods ), 'exists method get_header' ); $r = new ReflectionMethod('Jrml', 'get_header'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -102,8 +96,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get_column_header', $methods ), 'exists method get_column_header' ); $r = new ReflectionMethod('Jrml', 'get_column_header'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -116,8 +108,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get_detail', $methods ), 'exists method get_detail' ); $r = new ReflectionMethod('Jrml', 'get_detail'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +120,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get_footer', $methods ), 'exists method get_footer' ); $r = new ReflectionMethod('Jrml', 'get_footer'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -144,8 +132,6 @@ class classJrmlTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('export', $methods ), 'exists method export' ); $r = new ReflectionMethod('Jrml', 'export'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classNETTest.php b/tests/automated/workflow/engine/classes/classNETTest.php index a5e11d194..73d656b72 100644 --- a/tests/automated/workflow/engine/classes/classNETTest.php +++ b/tests/automated/workflow/engine/classes/classNETTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.net.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 classNETTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classNETTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 14); + $methods = get_class_methods('NET'); $this->assertTrue( count($methods) == 14); } /** @@ -59,8 +59,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pHost'); $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 classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pHost'); $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 classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pPort'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pHost'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -128,8 +120,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '3000'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -148,8 +138,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pPasswd'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +157,6 @@ class classNETTest 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.'); - } /** @@ -186,8 +172,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pDbDriver'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -203,8 +187,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pDbDriver'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -220,8 +202,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'driver'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -237,8 +217,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pAdapter'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -251,8 +229,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('showMsg', $methods ), 'exists method showMsg' ); $r = new ReflectionMethod('NET', 'showMsg'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -265,8 +241,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getErrno', $methods ), 'exists method getErrno' ); $r = new ReflectionMethod('NET', 'getErrno'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -279,8 +253,6 @@ class classNETTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getErrmsg', $methods ), 'exists method getErrmsg' ); $r = new ReflectionMethod('NET', 'getErrmsg'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classObjectCellectionTest.php b/tests/automated/workflow/engine/classes/classObjectCellectionTest.php index d933e65b3..5735fec6b 100644 --- a/tests/automated/workflow/engine/classes/classObjectCellectionTest.php +++ b/tests/automated/workflow/engine/classes/classObjectCellectionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.processes.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classObjectCellectionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classObjectCellectionTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('ObjectCellection'); $this->assertTrue( count($methods) == 3); } /** @@ -56,8 +56,6 @@ class classObjectCellectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('ObjectCellection', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classObjectCellectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'origin'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classObjectCellectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('get', $methods ), 'exists method get' ); $r = new ReflectionMethod('ObjectCellection', 'get'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classObjectDocumentTest.php b/tests/automated/workflow/engine/classes/classObjectDocumentTest.php index de27dd063..fa9f04f31 100644 --- a/tests/automated/workflow/engine/classes/classObjectDocumentTest.php +++ b/tests/automated/workflow/engine/classes/classObjectDocumentTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.processes.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classObjectDocumentTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classObjectDocumentTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('ObjectDocument'); $this->assertTrue( count($methods) == 1); } /** @@ -56,8 +56,6 @@ class classObjectDocumentTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('ObjectDocument', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPMDashletTest.php b/tests/automated/workflow/engine/classes/classPMDashletTest.php index 28216eb4d..12334705b 100644 --- a/tests/automated/workflow/engine/classes/classPMDashletTest.php +++ b/tests/automated/workflow/engine/classes/classPMDashletTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.pmDashlet.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 classPMDashletTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 58); + $methods = get_class_methods('PMDashlet'); $this->assertTrue( count($methods) == 58); } /** @@ -59,8 +59,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dasInsUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -94,8 +90,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '300'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -108,8 +102,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDashletInstance', $methods ), 'exists method getDashletInstance' ); $r = new ReflectionMethod('PMDashlet', 'getDashletInstance'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -122,8 +114,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDashletObject', $methods ), 'exists method getDashletObject' ); $r = new ReflectionMethod('PMDashlet', 'getDashletObject'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -144,8 +134,6 @@ class classPMDashletTest 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.'); - } /** @@ -158,8 +146,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDashletsInstancesQuantity', $methods ), 'exists method getDashletsInstancesQuantity' ); $r = new ReflectionMethod('PMDashlet', 'getDashletsInstancesQuantity'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -175,8 +161,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dasInsUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -192,8 +176,6 @@ class classPMDashletTest 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.'); - } /** @@ -209,8 +191,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dasInsUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -226,8 +206,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'userUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -243,8 +221,6 @@ class classPMDashletTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPMPluginRegistryTest.php b/tests/automated/workflow/engine/classes/classPMPluginRegistryTest.php index 609f45082..35a7d3e29 100644 --- a/tests/automated/workflow/engine/classes/classPMPluginRegistryTest.php +++ b/tests/automated/workflow/engine/classes/classPMPluginRegistryTest.php @@ -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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPMPluginTest.php b/tests/automated/workflow/engine/classes/classPMPluginTest.php index 5a5d6bbeb..56b0c2815 100644 --- a/tests/automated/workflow/engine/classes/classPMPluginTest.php +++ b/tests/automated/workflow/engine/classes/classPMPluginTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classPMPluginTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 22); + $methods = get_class_methods('PMPlugin'); $this->assertTrue( count($methods) == 22); } /** @@ -63,8 +63,6 @@ class classPMPluginTest 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.'); - } /** @@ -83,8 +81,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'menuFilename'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -97,8 +93,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('registerDashlets', $methods ), 'exists method registerDashlets' ); $r = new ReflectionMethod('PMPlugin', 'registerDashlets'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('registerReport', $methods ), 'exists method registerReport' ); $r = new ReflectionMethod('PMPlugin', 'registerReport'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -125,8 +117,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('registerPmFunction', $methods ), 'exists method registerPmFunction' ); $r = new ReflectionMethod('PMPlugin', 'registerPmFunction'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -142,8 +132,6 @@ class classPMPluginTest 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.'); - } /** @@ -162,8 +150,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pathMethod'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -182,8 +168,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sFolderName'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -209,8 +193,6 @@ class classPMPluginTest 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.'); - } /** @@ -229,8 +211,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTriggerName'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -250,8 +230,6 @@ class classPMPluginTest 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.'); - } /** @@ -278,8 +256,6 @@ class classPMPluginTest 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.'); - } /** @@ -306,8 +282,6 @@ class classPMPluginTest 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.'); - } /** @@ -326,8 +300,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'templateFilename'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -343,8 +315,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sCssFile'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -363,8 +333,6 @@ class classPMPluginTest 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.'); - } /** @@ -392,8 +360,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'sActionGetFields'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -416,8 +382,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -436,8 +400,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pluginJsFile'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -456,8 +418,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pluginJsFile'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -470,8 +430,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('registerDashboard', $methods ), 'exists method registerDashboard' ); $r = new ReflectionMethod('PMPlugin', 'registerDashboard'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -484,8 +442,6 @@ class classPMPluginTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getExternalStepAction', $methods ), 'exists method getExternalStepAction' ); $r = new ReflectionMethod('PMPlugin', 'getExternalStepAction'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPMScriptTest.php b/tests/automated/workflow/engine/classes/classPMScriptTest.php index 1facd9192..cc87aff51 100644 --- a/tests/automated/workflow/engine/classes/classPMScriptTest.php +++ b/tests/automated/workflow/engine/classes/classPMScriptTest.php @@ -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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPMmemcachedTest.php b/tests/automated/workflow/engine/classes/classPMmemcachedTest.php index 6ae4e1625..c7fd2aff6 100644 --- a/tests/automated/workflow/engine/classes/classPMmemcachedTest.php +++ b/tests/automated/workflow/engine/classes/classPMmemcachedTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.memcached.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 classPMmemcachedTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 12); + $methods = get_class_methods('PMmemcached'); $this->assertTrue( count($methods) == 12); } /** @@ -59,8 +59,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'workspace'); $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 classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'workspace'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -90,8 +86,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__clone', $methods ), 'exists method __clone' ); $r = new ReflectionMethod('PMmemcached', '__clone'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +98,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__wakeup', $methods ), 'exists method __wakeup' ); $r = new ReflectionMethod('PMmemcached', '__wakeup'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -128,8 +120,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -145,8 +135,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'key'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -165,8 +153,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -185,8 +171,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -202,8 +186,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'key'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -216,8 +198,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('flush', $methods ), 'exists method flush' ); $r = new ReflectionMethod('PMmemcached', 'flush'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -230,8 +210,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getStats', $methods ), 'exists method getStats' ); $r = new ReflectionMethod('PMmemcached', 'getStats'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -244,8 +222,6 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('printDetails', $methods ), 'exists method printDetails' ); $r = new ReflectionMethod('PMmemcached', 'printDetails'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classPmTableTest.php b/tests/automated/workflow/engine/classes/classPmTableTest.php index e8b6f8617..bbfd926f9 100644 --- a/tests/automated/workflow/engine/classes/classPmTableTest.php +++ b/tests/automated/workflow/engine/classes/classPmTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.pmTable.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 classPmTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classPmTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 26); + $methods = get_class_methods('PmTable'); $this->assertTrue( count($methods) == 26); } /** @@ -60,8 +60,6 @@ class classPmTableTest 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.'); - } /** @@ -77,8 +75,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'columns'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -94,8 +90,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dbsUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dbsUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -125,8 +117,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDataSource', $methods ), 'exists method getDataSource' ); $r = new ReflectionMethod('PmTable', 'getDataSource'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -139,8 +129,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDbConfig', $methods ), 'exists method getDbConfig' ); $r = new ReflectionMethod('PmTable', 'getDbConfig'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -156,8 +144,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $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 classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('build', $methods ), 'exists method build' ); $r = new ReflectionMethod('PmTable', 'build'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -190,8 +174,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tablesList'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -208,8 +190,6 @@ class classPmTableTest 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.'); - } /** @@ -222,8 +202,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('loadSchema', $methods ), 'exists method loadSchema' ); $r = new ReflectionMethod('PmTable', 'loadSchema'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -236,8 +214,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('buildSchema', $methods ), 'exists method buildSchema' ); $r = new ReflectionMethod('PmTable', 'buildSchema'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -250,8 +226,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('remove', $methods ), 'exists method remove' ); $r = new ReflectionMethod('PmTable', 'remove'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -264,8 +238,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('removeFromSchema', $methods ), 'exists method removeFromSchema' ); $r = new ReflectionMethod('PmTable', 'removeFromSchema'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -278,8 +250,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('removeModelFiles', $methods ), 'exists method removeModelFiles' ); $r = new ReflectionMethod('PmTable', 'removeModelFiles'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -296,8 +266,6 @@ class classPmTableTest 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.'); - } /** @@ -310,8 +278,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('saveSchema', $methods ), 'exists method saveSchema' ); $r = new ReflectionMethod('PmTable', 'saveSchema'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -324,8 +290,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('preparePropelIniFile', $methods ), 'exists method preparePropelIniFile' ); $r = new ReflectionMethod('PmTable', 'preparePropelIniFile'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -338,8 +302,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('upgradeDatabase', $methods ), 'exists method upgradeDatabase' ); $r = new ReflectionMethod('PmTable', 'upgradeDatabase'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -359,8 +321,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -373,8 +333,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('hasAutoIncrementPKey', $methods ), 'exists method hasAutoIncrementPKey' ); $r = new ReflectionMethod('PmTable', 'hasAutoIncrementPKey'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -387,8 +345,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getPropelSupportedColumnTypes', $methods ), 'exists method getPropelSupportedColumnTypes' ); $r = new ReflectionMethod('PmTable', 'getPropelSupportedColumnTypes'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -404,8 +360,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -418,8 +372,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('phingbuildModel', $methods ), 'exists method phingbuildModel' ); $r = new ReflectionMethod('PmTable', 'phingbuildModel'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -432,8 +384,6 @@ class classPmTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('phingbuildSql', $methods ), 'exists method phingbuildSql' ); $r = new ReflectionMethod('PmTable', 'phingbuildSql'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -461,8 +411,6 @@ class classPmTableTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classProcessesTest.php b/tests/automated/workflow/engine/classes/classProcessesTest.php index 5f9619f0d..481db7d31 100644 --- a/tests/automated/workflow/engine/classes/classProcessesTest.php +++ b/tests/automated/workflow/engine/classes/classProcessesTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.processes.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 classProcessesTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classProcessesTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 141); + $methods = get_class_methods('Processes'); $this->assertTrue( count($methods) == 141); } /** @@ -60,8 +60,6 @@ class classProcessesTest 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.'); - } /** @@ -78,8 +76,6 @@ class classProcessesTest 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.'); - } /** @@ -98,8 +94,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sParentUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -116,8 +110,6 @@ class classProcessesTest 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.'); - } /** @@ -130,8 +122,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedProcessGUID', $methods ), 'exists method getUnusedProcessGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedProcessGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -148,8 +138,6 @@ class classProcessesTest 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.'); - } /** @@ -162,8 +150,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedTaskGUID', $methods ), 'exists method getUnusedTaskGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedTaskGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -180,8 +166,6 @@ class classProcessesTest 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.'); - } /** @@ -198,8 +182,6 @@ class classProcessesTest 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.'); - } /** @@ -216,8 +198,6 @@ class classProcessesTest 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.'); - } /** @@ -234,8 +214,6 @@ class classProcessesTest 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.'); - } /** @@ -252,8 +230,6 @@ class classProcessesTest 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.'); - } /** @@ -270,8 +246,6 @@ class classProcessesTest 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.'); - } /** @@ -288,8 +262,6 @@ class classProcessesTest 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.'); - } /** @@ -306,8 +278,6 @@ class classProcessesTest 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.'); - } /** @@ -324,8 +294,6 @@ class classProcessesTest 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.'); - } /** @@ -342,8 +310,6 @@ class classProcessesTest 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.'); - } /** @@ -360,8 +326,6 @@ class classProcessesTest 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.'); - } /** @@ -378,8 +342,6 @@ class classProcessesTest 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.'); - } /** @@ -396,8 +358,6 @@ class classProcessesTest 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.'); - } /** @@ -414,8 +374,6 @@ class classProcessesTest 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.'); - } /** @@ -432,8 +390,6 @@ class classProcessesTest 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.'); - } /** @@ -450,8 +406,6 @@ class classProcessesTest 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.'); - } /** @@ -468,8 +422,6 @@ class classProcessesTest 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.'); - } /** @@ -482,8 +434,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedInputGUID', $methods ), 'exists method getUnusedInputGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedInputGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -496,8 +446,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedOutputGUID', $methods ), 'exists method getUnusedOutputGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedOutputGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -510,8 +458,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedTriggerGUID', $methods ), 'exists method getUnusedTriggerGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedTriggerGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -524,8 +470,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedSubProcessGUID', $methods ), 'exists method getUnusedSubProcessGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedSubProcessGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -538,8 +482,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedCaseTrackerObjectGUID', $methods ), 'exists method getUnusedCaseTrackerObjectGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedCaseTrackerObjectGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -552,8 +494,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedDBSourceGUID', $methods ), 'exists method getUnusedDBSourceGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedDBSourceGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -566,8 +506,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedObjectPermissionGUID', $methods ), 'exists method getUnusedObjectPermissionGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedObjectPermissionGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -580,8 +518,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedRouteGUID', $methods ), 'exists method getUnusedRouteGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedRouteGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -594,8 +530,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedStageGUID', $methods ), 'exists method getUnusedStageGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedStageGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -608,8 +542,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedSLGUID', $methods ), 'exists method getUnusedSLGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedSLGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -622,8 +554,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedRTGUID', $methods ), 'exists method getUnusedRTGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedRTGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -636,8 +566,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedRTVGUID', $methods ), 'exists method getUnusedRTVGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedRTVGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -654,8 +582,6 @@ class classProcessesTest 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.'); - } /** @@ -668,8 +594,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedStepGUID', $methods ), 'exists method getUnusedStepGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedStepGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -682,8 +606,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedDynaformGUID', $methods ), 'exists method getUnusedDynaformGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedDynaformGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -696,8 +618,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedFieldConditionGUID', $methods ), 'exists method getUnusedFieldConditionGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedFieldConditionGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -710,8 +630,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedEventGUID', $methods ), 'exists method getUnusedEventGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedEventGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -724,8 +642,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getUnusedCaseSchedulerGUID', $methods ), 'exists method getUnusedCaseSchedulerGUID' ); $r = new ReflectionMethod('Processes', 'getUnusedCaseSchedulerGUID'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -744,8 +660,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sNewProUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -764,8 +678,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sParentUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -781,8 +693,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -798,8 +708,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -819,8 +727,6 @@ class classProcessesTest 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.'); - } /** @@ -836,8 +742,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'row'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -853,8 +757,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'row'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -870,8 +772,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -887,8 +787,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -904,8 +802,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -921,8 +817,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -938,8 +832,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -955,8 +847,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -972,8 +862,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -989,8 +877,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1006,8 +892,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1023,8 +907,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1040,8 +922,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTasks'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1057,8 +937,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTasks'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1074,8 +952,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1091,8 +967,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aRoutes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1108,8 +982,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aRoutes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1125,8 +997,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1142,8 +1012,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1159,8 +1027,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aGateways'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1176,8 +1042,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aLanes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1193,8 +1057,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'SubProcess'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1210,8 +1072,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'CaseTracker'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1227,8 +1087,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'CaseTrackerObject'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1244,8 +1102,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'ObjectPermissions'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1261,8 +1117,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'Stage'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1281,8 +1135,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aDynaform'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1298,8 +1150,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'Event'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1315,8 +1165,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'CaseScheduler'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1332,8 +1180,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'row'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1349,8 +1195,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1366,8 +1210,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aInput'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1383,8 +1225,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1400,8 +1240,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1417,8 +1255,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aOutput'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1434,8 +1270,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1451,8 +1285,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1468,8 +1300,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1485,8 +1315,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1502,8 +1330,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1519,8 +1345,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1536,8 +1360,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1553,8 +1375,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1570,8 +1390,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1587,8 +1405,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1604,8 +1420,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1621,8 +1435,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1638,8 +1450,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1655,8 +1465,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1672,8 +1480,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1689,8 +1495,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1706,8 +1510,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aStep'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1723,8 +1525,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aStepSupervisor'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1740,8 +1540,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1757,8 +1555,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1774,8 +1570,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1791,8 +1585,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aDynaform'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1808,8 +1600,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aStepTrigger'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1825,8 +1615,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTask'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1842,8 +1630,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1859,8 +1645,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTrigger'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1876,8 +1660,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aGroups'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1893,8 +1675,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1910,8 +1690,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1927,8 +1705,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1944,8 +1720,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1961,8 +1735,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTask'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1978,8 +1750,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTaskUser'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1995,8 +1765,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aGroupwf'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2012,8 +1780,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aConnections'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2032,8 +1798,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aReportTablesVars'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2052,8 +1816,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aReportTablesVars'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2069,8 +1831,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aReportTablesVars'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2086,8 +1846,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aReportTables'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2104,8 +1862,6 @@ class classProcessesTest 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.'); - } /** @@ -2121,8 +1877,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2138,8 +1892,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pmFilename'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2155,8 +1907,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sGroupList'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2172,8 +1922,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sGroupList'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2189,8 +1937,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sGroupList'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2212,8 +1958,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sTaskUserList'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2229,8 +1973,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2249,8 +1991,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pmFilename'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2266,8 +2006,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2286,8 +2024,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pmFilename'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2306,8 +2042,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pmFilename'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2326,8 +2060,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sUsrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2346,8 +2078,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'pass'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2360,8 +2090,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('ws_open_public', $methods ), 'exists method ws_open_public' ); $r = new ReflectionMethod('Processes', 'ws_open_public'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2374,8 +2102,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('ws_processList', $methods ), 'exists method ws_processList' ); $r = new ReflectionMethod('Processes', 'ws_processList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2397,8 +2123,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'newfilename'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2414,8 +2138,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'proId'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2431,8 +2153,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2451,8 +2171,6 @@ class classProcessesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'type'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classReportTablesTest.php b/tests/automated/workflow/engine/classes/classReportTablesTest.php index fe77a4778..43944b185 100644 --- a/tests/automated/workflow/engine/classes/classReportTablesTest.php +++ b/tests/automated/workflow/engine/classes/classReportTablesTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.reportTables.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 classReportTablesTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('ReportTables'); $this->assertTrue( count($methods) == 11); } /** @@ -60,8 +60,6 @@ class classReportTablesTest 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.'); - } /** @@ -81,8 +79,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'report'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -114,8 +110,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == '1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -151,8 +145,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -172,8 +164,6 @@ class classReportTablesTest 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.'); - } /** @@ -189,8 +179,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sRepTabUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -209,8 +197,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'mask'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -229,8 +215,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sMask'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -255,8 +239,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'aFields'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -269,8 +251,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('tableExist', $methods ), 'exists method tableExist' ); $r = new ReflectionMethod('ReportTables', 'tableExist'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -286,8 +266,6 @@ class classReportTablesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'TabConnectionk'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classReportTest.php b/tests/automated/workflow/engine/classes/classReportTest.php index 9ba94efc3..6a8abc025 100644 --- a/tests/automated/workflow/engine/classes/classReportTest.php +++ b/tests/automated/workflow/engine/classes/classReportTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.report.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 classReportTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classReportTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 14); + $methods = get_class_methods('Report'); $this->assertTrue( count($methods) == 14); } /** @@ -56,8 +56,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generatedReport1', $methods ), 'exists method generatedReport1' ); $r = new ReflectionMethod('Report', 'generatedReport1'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'startedby'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'PRO_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generatedReport2', $methods ), 'exists method generatedReport2' ); $r = new ReflectionMethod('Report', 'generatedReport2'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -136,8 +128,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'PRO_UID'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -159,8 +149,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'startedby'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -173,8 +161,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generatedReport3', $methods ), 'exists method generatedReport3' ); $r = new ReflectionMethod('Report', 'generatedReport3'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -193,8 +179,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'task'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -207,8 +191,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generatedReport4', $methods ), 'exists method generatedReport4' ); $r = new ReflectionMethod('Report', 'generatedReport4'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -227,8 +209,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'task'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -241,8 +221,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('generatedReport5', $methods ), 'exists method generatedReport5' ); $r = new ReflectionMethod('Report', 'generatedReport5'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -261,8 +239,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'task'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -275,8 +251,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAvailableReports', $methods ), 'exists method getAvailableReports' ); $r = new ReflectionMethod('Report', 'getAvailableReports'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -289,8 +263,6 @@ class classReportTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('reportsPatch', $methods ), 'exists method reportsPatch' ); $r = new ReflectionMethod('Report', 'reportsPatch'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classSessionsTest.php b/tests/automated/workflow/engine/classes/classSessionsTest.php index af5dc9e4d..0a33f0469 100644 --- a/tests/automated/workflow/engine/classes/classSessionsTest.php +++ b/tests/automated/workflow/engine/classes/classSessionsTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.sessions.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 classSessionsTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classSessionsTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 6); + $methods = get_class_methods('Sessions'); $this->assertTrue( count($methods) == 6); } /** @@ -60,8 +60,6 @@ class classSessionsTest 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.'); - } /** @@ -78,8 +76,6 @@ class classSessionsTest 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.'); - } /** @@ -96,8 +92,6 @@ class classSessionsTest 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.'); - } /** @@ -116,8 +110,6 @@ class classSessionsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -133,8 +125,6 @@ class classSessionsTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +137,6 @@ class classSessionsTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getGlobals', $methods ), 'exists method getGlobals' ); $r = new ReflectionMethod('Sessions', 'getGlobals'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classStatTest.php b/tests/automated/workflow/engine/classes/classStatTest.php index 4fd12c43e..3fe4707c9 100644 --- a/tests/automated/workflow/engine/classes/classStatTest.php +++ b/tests/automated/workflow/engine/classes/classStatTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.net.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 classStatTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classStatTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('Stat'); $this->assertTrue( count($methods) == 1); } /** @@ -56,8 +56,6 @@ class classStatTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('Stat', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classTasksTest.php b/tests/automated/workflow/engine/classes/classTasksTest.php index 88e3efd9d..9336ebd90 100644 --- a/tests/automated/workflow/engine/classes/classTasksTest.php +++ b/tests/automated/workflow/engine/classes/classTasksTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.tasks.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classTasksTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classTasksTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 26); + $methods = get_class_methods('Tasks'); $this->assertTrue( count($methods) == 26); } /** @@ -62,8 +62,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'iType'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTask'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -113,8 +107,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aTask'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +122,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -147,8 +137,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aRoutes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aRoutes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -184,8 +170,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'iType'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -202,8 +186,6 @@ class classTasksTest 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.'); - } /** @@ -228,8 +210,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -245,8 +225,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sProUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -262,8 +240,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aGateway'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -288,8 +264,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -314,8 +288,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -340,8 +312,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -358,8 +328,6 @@ class classTasksTest 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.'); - } /** @@ -384,8 +352,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -410,8 +376,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -427,8 +391,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sTaskUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -444,8 +406,6 @@ class classTasksTest 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.'); - } /** @@ -464,8 +424,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sUsrUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -481,8 +439,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sTaskUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -501,8 +457,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTaskUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -518,8 +472,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sUserUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -538,8 +490,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTaskUid'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -561,8 +511,6 @@ class classTasksTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sRouteType'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classToolBarTest.php b/tests/automated/workflow/engine/classes/classToolBarTest.php index 0486db11b..5c51dfad0 100644 --- a/tests/automated/workflow/engine/classes/classToolBarTest.php +++ b/tests/automated/workflow/engine/classes/classToolBarTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.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 classToolBarTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classToolBarTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 13); + $methods = get_class_methods('ToolBar'); $this->assertTrue( count($methods) == 13); } } diff --git a/tests/automated/workflow/engine/classes/classXMLConnectionTest.php b/tests/automated/workflow/engine/classes/classXMLConnectionTest.php index b7a3bef6f..0c1975c8b 100644 --- a/tests/automated/workflow/engine/classes/classXMLConnectionTest.php +++ b/tests/automated/workflow/engine/classes/classXMLConnectionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.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 classXMLConnectionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 11); + $methods = get_class_methods('XMLConnection'); $this->assertTrue( count($methods) == 11); } /** @@ -59,8 +59,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $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 classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sql'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +92,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'b'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -116,8 +110,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'fieldsList'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -133,8 +125,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'node'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -150,8 +140,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'node'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('disconnect', $methods ), 'exists method disconnect' ); $r = new ReflectionMethod('XMLConnection', 'disconnect'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'match'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -198,8 +182,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'match'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -218,8 +200,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'values'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -238,8 +218,6 @@ class classXMLConnectionTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'values'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXMLDBTest.php b/tests/automated/workflow/engine/classes/classXMLDBTest.php index 3e4bb2841..9f2e600a1 100644 --- a/tests/automated/workflow/engine/classes/classXMLDBTest.php +++ b/tests/automated/workflow/engine/classes/classXMLDBTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.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 classXMLDBTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXMLDBTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 2); + $methods = get_class_methods('XMLDB'); $this->assertTrue( count($methods) == 2); } /** @@ -63,8 +63,6 @@ class classXMLDBTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -80,8 +78,6 @@ class classXMLDBTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'result'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXMLResultTest.php b/tests/automated/workflow/engine/classes/classXMLResultTest.php index 7174758dc..b8bd07a23 100644 --- a/tests/automated/workflow/engine/classes/classXMLResultTest.php +++ b/tests/automated/workflow/engine/classes/classXMLResultTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.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 classXMLResultTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXMLResultTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('XMLResult'); $this->assertTrue( count($methods) == 3); } /** @@ -60,8 +60,6 @@ class classXMLResultTest 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.'); - } /** @@ -74,8 +72,6 @@ class classXMLResultTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('numRows', $methods ), 'exists method numRows' ); $r = new ReflectionMethod('XMLResult', 'numRows'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -91,8 +87,6 @@ class classXMLResultTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'const'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php index a3b82b8b2..a8cbf8f71 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classXmlForm_Field_CheckBoxTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_CheckBoxTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_CheckBoxTable'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_CheckBoxTableTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_TextPMTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_TextPMTest.php index 9627dcc15..aeb2eb480 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_TextPMTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_TextPMTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classXmlForm_Field_TextPMTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_TextPMTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_TextPM'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_TextPMTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_TextPMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +97,6 @@ class classXmlForm_Field_TextPMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'element'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php index 1ab3f6570..5c1a19c94 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classXmlForm_Field_TextareaPMTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_TextareaPMTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_TextareaPM'); $this->assertTrue( count($methods) == 24); } /** @@ -62,8 +62,6 @@ class classXmlForm_Field_TextareaPMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXmlForm_Field_TextareaPMTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php index 3112eb588..c2133f578 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.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 classXmlForm_Field_ToolBarTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_ToolBarTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 25); + $methods = get_class_methods('XmlForm_Field_ToolBar'); $this->assertTrue( count($methods) == 25); } /** @@ -68,8 +68,6 @@ class classXmlForm_Field_ToolBarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'owner'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classXmlForm_Field_ToolBarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_hoursTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_hoursTest.php index 7787c4a6b..89b048b1e 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_hoursTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_hoursTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_hours'); $this->assertTrue( count($methods) == 24); } /** @@ -64,8 +64,6 @@ class classXmlForm_Field_hoursTest 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.'); - } /** @@ -84,8 +82,6 @@ class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'owner'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +97,6 @@ class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'element'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php index a49532657..57d7258d5 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.popupMenu.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 classXmlForm_Field_popupOptionTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_popupOptionTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_popupOption'); $this->assertTrue( count($methods) == 24); } /** @@ -56,8 +56,6 @@ class classXmlForm_Field_popupOptionTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getEvents', $methods ), 'exists method getEvents' ); $r = new ReflectionMethod('XmlForm_Field_popupOption', 'getEvents'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php b/tests/automated/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php index 2b5d25a07..d8d616eb8 100644 --- a/tests/automated/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php +++ b/tests/automated/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.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 classXmlForm_Field_toolButtonTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXmlForm_Field_toolButtonTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 24); + $methods = get_class_methods('XmlForm_Field_toolButton'); $this->assertTrue( count($methods) == 24); } /** @@ -59,8 +59,6 @@ class classXmlForm_Field_toolButtonTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'value'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classXpdlTest.php b/tests/automated/workflow/engine/classes/classXpdlTest.php index 98c4934a8..84980ed6e 100644 --- a/tests/automated/workflow/engine/classes/classXpdlTest.php +++ b/tests/automated/workflow/engine/classes/classXpdlTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.xpdl.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:31. */ class classXpdlTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classXpdlTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 185); + $methods = get_class_methods('Xpdl'); $this->assertTrue( count($methods) == 185); } /** @@ -62,8 +62,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tasks'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tasks'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -99,8 +95,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -119,8 +113,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tasks'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -139,8 +131,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'fieldsTasks'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -162,8 +152,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'fieldsTasks'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -185,8 +173,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'tasks'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -205,8 +191,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'routes'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -223,8 +207,6 @@ class classXpdlTest 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.'); - } /** @@ -246,8 +228,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'coordinateMaximumY'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -266,8 +246,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'id'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -286,8 +264,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tasks'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -309,8 +285,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'scheduler'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -332,8 +306,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'taskHidden'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -349,8 +321,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'pmFilename'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -366,8 +336,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -389,8 +357,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'taskHidden'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -406,8 +372,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -426,8 +390,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'arrayLanes'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -443,8 +405,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -460,8 +420,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -477,8 +435,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -494,8 +450,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'fields'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -526,8 +480,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->getName() == 'taskHidden'); $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -546,8 +498,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'idProcess'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -563,8 +513,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'lanes'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -580,8 +528,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -603,8 +549,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'activitySet'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -623,8 +567,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'idProcess'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -643,8 +585,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'idProcess'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -660,8 +600,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'time'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -680,8 +618,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'idProcess'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -718,8 +654,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[7]->getName() == 'messages'); $this->assertTrue( $params[7]->isArray() == false); $this->assertTrue( $params[7]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -735,8 +669,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'contentNode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -752,8 +684,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'contentNode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -769,8 +699,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'contentNode'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -789,8 +717,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'aRoutes'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -821,8 +747,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->getName() == 'idProcess'); $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -841,8 +765,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'idProcess'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -873,8 +795,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->getName() == 'countRoutes'); $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -890,8 +810,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -907,8 +825,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -924,8 +840,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -941,8 +855,6 @@ class classXpdlTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'array'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classarchiveTest.php b/tests/automated/workflow/engine/classes/classarchiveTest.php index ed68ca5d9..5121d0d48 100644 --- a/tests/automated/workflow/engine/classes/classarchiveTest.php +++ b/tests/automated/workflow/engine/classes/classarchiveTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.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 classarchiveTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classarchiveTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 12); + $methods = get_class_methods('archive'); $this->assertTrue( count($methods) == 12); } /** @@ -59,8 +59,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'options'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -90,8 +86,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('create_archive', $methods ), 'exists method create_archive' ); $r = new ReflectionMethod('archive', 'create_archive'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -107,8 +101,6 @@ class classarchiveTest 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.'); - } /** @@ -121,8 +113,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('make_list', $methods ), 'exists method make_list' ); $r = new ReflectionMethod('archive', 'make_list'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +128,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'list'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -155,8 +143,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'list'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -172,8 +158,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'list'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -189,8 +173,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'list'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -206,8 +188,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'dirname'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -226,8 +206,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'b'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -240,8 +218,6 @@ class classarchiveTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('download_file', $methods ), 'exists method download_file' ); $r = new ReflectionMethod('archive', 'download_file'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classbzip_fileTest.php b/tests/automated/workflow/engine/classes/classbzip_fileTest.php index c62dceb6d..94896af5a 100644 --- a/tests/automated/workflow/engine/classes/classbzip_fileTest.php +++ b/tests/automated/workflow/engine/classes/classbzip_fileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.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 classbzip_fileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classbzip_fileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 18); + $methods = get_class_methods('bzip_file'); $this->assertTrue( count($methods) == 18); } /** @@ -59,8 +59,6 @@ class classbzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classbzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('create_bzip', $methods ), 'exists method create_bzip' ); $r = new ReflectionMethod('bzip_file', 'create_bzip'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classbzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('open_archive', $methods ), 'exists method open_archive' ); $r = new ReflectionMethod('bzip_file', 'open_archive'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classcalendarTest.php b/tests/automated/workflow/engine/classes/classcalendarTest.php index f4232c60d..74a402eb2 100644 --- a/tests/automated/workflow/engine/classes/classcalendarTest.php +++ b/tests/automated/workflow/engine/classes/classcalendarTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.calendar.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:26. */ class classcalendarTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classcalendarTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 56); + $methods = get_class_methods('calendar'); $this->assertTrue( count($methods) == 56); } /** @@ -68,8 +68,6 @@ class classcalendarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -85,8 +83,6 @@ class classcalendarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'msg'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -108,8 +104,6 @@ class classcalendarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'tasUid'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -128,8 +122,6 @@ class classcalendarTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'time'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classcaseSchedulerPluginTest.php b/tests/automated/workflow/engine/classes/classcaseSchedulerPluginTest.php index 59c32d026..c44148848 100644 --- a/tests/automated/workflow/engine/classes/classcaseSchedulerPluginTest.php +++ b/tests/automated/workflow/engine/classes/classcaseSchedulerPluginTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classcaseSchedulerPluginTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classcaseSchedulerPluginTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('caseSchedulerPlugin'); $this->assertTrue( count($methods) == 1); } /** @@ -74,8 +74,6 @@ class classcaseSchedulerPluginTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classcssFileTest.php b/tests/automated/workflow/engine/classes/classcssFileTest.php index 8294e0dd9..076091aed 100644 --- a/tests/automated/workflow/engine/classes/classcssFileTest.php +++ b/tests/automated/workflow/engine/classes/classcssFileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classcssFileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classcssFileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('cssFile'); $this->assertTrue( count($methods) == 1); } /** @@ -62,8 +62,6 @@ class classcssFileTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdashboardPageTest.php b/tests/automated/workflow/engine/classes/classdashboardPageTest.php index de1572e05..a8db69b16 100644 --- a/tests/automated/workflow/engine/classes/classdashboardPageTest.php +++ b/tests/automated/workflow/engine/classes/classdashboardPageTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classdashboardPageTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdashboardPageTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('dashboardPage'); $this->assertTrue( count($methods) == 1); } /** @@ -68,8 +68,6 @@ class classdashboardPageTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdashletOpenVSCompletedTest.php b/tests/automated/workflow/engine/classes/classdashletOpenVSCompletedTest.php index a8f4eb308..fa9cecb76 100644 --- a/tests/automated/workflow/engine/classes/classdashletOpenVSCompletedTest.php +++ b/tests/automated/workflow/engine/classes/classdashletOpenVSCompletedTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletOpenVSCompleted.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 classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('dashletOpenVSCompleted'); $this->assertTrue( count($methods) == 4); } /** @@ -59,8 +59,6 @@ class classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'config'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '300'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdashletProcessMakerCommunityTest.php b/tests/automated/workflow/engine/classes/classdashletProcessMakerCommunityTest.php index 2179ef053..be2aec823 100644 --- a/tests/automated/workflow/engine/classes/classdashletProcessMakerCommunityTest.php +++ b/tests/automated/workflow/engine/classes/classdashletProcessMakerCommunityTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletProcessMakerCommunity.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('dashletProcessMakerCommunity'); $this->assertTrue( count($methods) == 4); } /** @@ -59,8 +59,6 @@ class classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'config'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '300'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php b/tests/automated/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php index be24a85f8..6d55a1503 100644 --- a/tests/automated/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php +++ b/tests/automated/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletProcessMakerEnterprise.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:31. */ class classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('dashletProcessMakerEnterprise'); $this->assertTrue( count($methods) == 4); } /** @@ -59,8 +59,6 @@ class classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'config'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '300'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdashletRssReaderTest.php b/tests/automated/workflow/engine/classes/classdashletRssReaderTest.php index 4c539e1ef..2e90c8239 100644 --- a/tests/automated/workflow/engine/classes/classdashletRssReaderTest.php +++ b/tests/automated/workflow/engine/classes/classdashletRssReaderTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletRssReader.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 classdashletRssReaderTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdashletRssReaderTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 4); + $methods = get_class_methods('dashletRssReader'); $this->assertTrue( count($methods) == 4); } /** @@ -59,8 +59,6 @@ class classdashletRssReaderTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletRssReaderTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'className'); $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 classdashletRssReaderTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'config'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -111,8 +105,6 @@ class classdashletRssReaderTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == true); $this->assertTrue( $params[0]->getDefaultValue() == '300'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdatesTest.php b/tests/automated/workflow/engine/classes/classdatesTest.php index 6bf1b060b..5a18d59a3 100644 --- a/tests/automated/workflow/engine/classes/classdatesTest.php +++ b/tests/automated/workflow/engine/classes/classdatesTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dates.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 classdatesTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdatesTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 10); + $methods = get_class_methods('dates'); $this->assertTrue( count($methods) == 10); } /** @@ -80,8 +80,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -118,8 +116,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -151,8 +147,6 @@ class classdatesTest 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.'); - } /** @@ -177,8 +171,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -194,8 +186,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'bSkipEveryYear'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -211,8 +201,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sDate'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -228,8 +216,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aDates'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -245,8 +231,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aWeekends'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -262,8 +246,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'iDayNumber'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -282,8 +264,6 @@ class classdatesTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sDateB'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdynaformEditorAjaxTest.php b/tests/automated/workflow/engine/classes/classdynaformEditorAjaxTest.php index b0dea8b31..8df158245 100644 --- a/tests/automated/workflow/engine/classes/classdynaformEditorAjaxTest.php +++ b/tests/automated/workflow/engine/classes/classdynaformEditorAjaxTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaformEditor.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:31. */ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 28); + $methods = get_class_methods('dynaformEditorAjax'); $this->assertTrue( count($methods) == 28); } /** @@ -59,8 +59,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'post'); $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 classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'post'); $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 classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -110,8 +104,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -127,8 +119,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -144,8 +134,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'htmlcode'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +167,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -201,8 +185,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'xmlcode'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -221,8 +203,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'fieldName'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -248,8 +228,6 @@ class classdynaformEditorAjaxTest 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.'); - } /** @@ -268,8 +246,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'DYN_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -291,8 +267,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'getFields'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -308,8 +282,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -328,8 +300,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'value'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -348,8 +318,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'DYN_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -365,8 +333,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'A'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -385,8 +351,6 @@ class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'DYN_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classdynaformEditorTest.php b/tests/automated/workflow/engine/classes/classdynaformEditorTest.php index fd90ecddb..aa0dba9ba 100644 --- a/tests/automated/workflow/engine/classes/classdynaformEditorTest.php +++ b/tests/automated/workflow/engine/classes/classdynaformEditorTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaformEditor.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:31. */ class classdynaformEditorTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 10); + $methods = get_class_methods('dynaformEditor'); $this->assertTrue( count($methods) == 10); } /** @@ -59,8 +59,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'get'); $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 classdynaformEditorTest 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.'); - } /** @@ -90,8 +86,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('_render', $methods ), 'exists method _render' ); $r = new ReflectionMethod('dynaformEditor', '_render'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -107,8 +101,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -124,8 +116,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'onOff'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -141,8 +131,6 @@ class classdynaformEditorTest 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.'); - } /** @@ -155,8 +143,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('_getTmpData', $methods ), 'exists method _getTmpData' ); $r = new ReflectionMethod('dynaformEditor', '_getTmpData'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -175,8 +161,6 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'to'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classfolderDataTest.php b/tests/automated/workflow/engine/classes/classfolderDataTest.php index a48b188d6..e650489a1 100644 --- a/tests/automated/workflow/engine/classes/classfolderDataTest.php +++ b/tests/automated/workflow/engine/classes/classfolderDataTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classfolderDataTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classfolderDataTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('folderData'); $this->assertTrue( count($methods) == 1); } /** @@ -79,8 +79,6 @@ class classfolderDataTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[6]->isArray() == false); $this->assertTrue( $params[6]->isOptional () == true); $this->assertTrue( $params[6]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classfolderDetailTest.php b/tests/automated/workflow/engine/classes/classfolderDetailTest.php index 6909f63a6..16cb188f8 100644 --- a/tests/automated/workflow/engine/classes/classfolderDetailTest.php +++ b/tests/automated/workflow/engine/classes/classfolderDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classfolderDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classfolderDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('folderDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classfolderDetailTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classgzip_fileTest.php b/tests/automated/workflow/engine/classes/classgzip_fileTest.php index 5e325d70f..6f0a393df 100644 --- a/tests/automated/workflow/engine/classes/classgzip_fileTest.php +++ b/tests/automated/workflow/engine/classes/classgzip_fileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.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 classgzip_fileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classgzip_fileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 18); + $methods = get_class_methods('gzip_file'); $this->assertTrue( count($methods) == 18); } /** @@ -59,8 +59,6 @@ class classgzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classgzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('create_gzip', $methods ), 'exists method create_gzip' ); $r = new ReflectionMethod('gzip_file', 'create_gzip'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classgzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('open_archive', $methods ), 'exists method open_archive' ); $r = new ReflectionMethod('gzip_file', 'open_archive'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classloginInfoTest.php b/tests/automated/workflow/engine/classes/classloginInfoTest.php index 01ffa4619..555c224fe 100644 --- a/tests/automated/workflow/engine/classes/classloginInfoTest.php +++ b/tests/automated/workflow/engine/classes/classloginInfoTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classloginInfoTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classloginInfoTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('loginInfo'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classloginInfoTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'lSession'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classmenuDetailTest.php b/tests/automated/workflow/engine/classes/classmenuDetailTest.php index 6d169a746..ce86be2e7 100644 --- a/tests/automated/workflow/engine/classes/classmenuDetailTest.php +++ b/tests/automated/workflow/engine/classes/classmenuDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classmenuDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classmenuDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('menuDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classmenuDetailTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classpluginDetailTest.php b/tests/automated/workflow/engine/classes/classpluginDetailTest.php index 51cfebf5f..9522a3e47 100644 --- a/tests/automated/workflow/engine/classes/classpluginDetailTest.php +++ b/tests/automated/workflow/engine/classes/classpluginDetailTest.php @@ -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 classpluginDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpluginDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('pluginDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -85,8 +85,6 @@ class classpluginDetailTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[7]->isArray() == false); $this->assertTrue( $params[7]->isOptional () == true); $this->assertTrue( $params[7]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classpmGaugeTest.php b/tests/automated/workflow/engine/classes/classpmGaugeTest.php index 902da44a6..cc28ee0dd 100644 --- a/tests/automated/workflow/engine/classes/classpmGaugeTest.php +++ b/tests/automated/workflow/engine/classes/classpmGaugeTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.pmGauge.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 classpmGaugeTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpmGaugeTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 2); + $methods = get_class_methods('pmGauge'); $this->assertTrue( count($methods) == 2); } /** @@ -56,8 +56,6 @@ class classpmGaugeTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('render', $methods ), 'exists method render' ); $r = new ReflectionMethod('pmGauge', 'render'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -82,8 +80,6 @@ class classpmGaugeTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'diameter'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classpmPhingTest.php b/tests/automated/workflow/engine/classes/classpmPhingTest.php index df63b5181..06b593b65 100644 --- a/tests/automated/workflow/engine/classes/classpmPhingTest.php +++ b/tests/automated/workflow/engine/classes/classpmPhingTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.pmPhing.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classpmPhingTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpmPhingTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 35); + $methods = get_class_methods('pmPhing'); $this->assertTrue( count($methods) == 35); } /** @@ -56,8 +56,6 @@ class classpmPhingTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getPhingVersion', $methods ), 'exists method getPhingVersion' ); $r = new ReflectionMethod('pmPhing', 'getPhingVersion'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classpopupMenuTest.php b/tests/automated/workflow/engine/classes/classpopupMenuTest.php index cab0fa0fb..9df13b391 100644 --- a/tests/automated/workflow/engine/classes/classpopupMenuTest.php +++ b/tests/automated/workflow/engine/classes/classpopupMenuTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.popupMenu.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 classpopupMenuTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpopupMenuTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 14); + $methods = get_class_methods('popupMenu'); $this->assertTrue( count($methods) == 14); } /** @@ -62,8 +62,6 @@ class classpopupMenuTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'tableFields'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classprocessMapTest.php b/tests/automated/workflow/engine/classes/classprocessMapTest.php index 8d3f87456..525c6e5f0 100644 --- a/tests/automated/workflow/engine/classes/classprocessMapTest.php +++ b/tests/automated/workflow/engine/classes/classprocessMapTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.processMap.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:34. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:27. */ class classprocessMapTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 149); + $methods = get_class_methods('processMap'); $this->assertTrue( count($methods) == 149); } /** @@ -79,8 +79,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -96,8 +94,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -113,8 +109,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -130,8 +124,6 @@ class classprocessMapTest 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.'); - } /** @@ -147,8 +139,6 @@ class classprocessMapTest 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.'); - } /** @@ -173,8 +163,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -195,8 +183,6 @@ class classprocessMapTest 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.'); - } /** @@ -213,8 +199,6 @@ class classprocessMapTest 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.'); - } /** @@ -239,8 +223,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -261,8 +243,6 @@ class classprocessMapTest 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.'); - } /** @@ -283,8 +263,6 @@ class classprocessMapTest 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.'); - } /** @@ -305,8 +283,6 @@ class classprocessMapTest 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.'); - } /** @@ -327,8 +303,6 @@ class classprocessMapTest 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.'); - } /** @@ -349,8 +323,6 @@ class classprocessMapTest 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.'); - } /** @@ -371,8 +343,6 @@ class classprocessMapTest 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.'); - } /** @@ -393,8 +363,6 @@ class classprocessMapTest 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.'); - } /** @@ -427,8 +395,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == true); $this->assertTrue( $params[4]->getDefaultValue() == '40'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -453,8 +419,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -479,8 +443,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -497,8 +459,6 @@ class classprocessMapTest 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.'); - } /** @@ -519,8 +479,6 @@ class classprocessMapTest 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.'); - } /** @@ -536,8 +494,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -562,8 +518,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'vertical'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -588,8 +542,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == 'vertical'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -606,8 +558,6 @@ class classprocessMapTest 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.'); - } /** @@ -624,8 +574,6 @@ class classprocessMapTest 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.'); - } /** @@ -658,8 +606,6 @@ class classprocessMapTest 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.'); - } /** @@ -684,8 +630,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -710,8 +654,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -728,8 +670,6 @@ class classprocessMapTest 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.'); - } /** @@ -754,8 +694,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -772,8 +710,6 @@ class classprocessMapTest 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.'); - } /** @@ -790,8 +726,6 @@ class classprocessMapTest 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.'); - } /** @@ -808,8 +742,6 @@ class classprocessMapTest 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.'); - } /** @@ -826,8 +758,6 @@ class classprocessMapTest 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.'); - } /** @@ -844,8 +774,6 @@ class classprocessMapTest 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.'); - } /** @@ -862,8 +790,6 @@ class classprocessMapTest 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.'); - } /** @@ -880,8 +806,6 @@ class classprocessMapTest 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.'); - } /** @@ -898,8 +822,6 @@ class classprocessMapTest 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.'); - } /** @@ -916,8 +838,6 @@ class classprocessMapTest 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.'); - } /** @@ -934,8 +854,6 @@ class classprocessMapTest 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.'); - } /** @@ -952,8 +870,6 @@ class classprocessMapTest 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.'); - } /** @@ -970,8 +886,6 @@ class classprocessMapTest 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.'); - } /** @@ -988,8 +902,6 @@ class classprocessMapTest 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.'); - } /** @@ -1006,8 +918,6 @@ class classprocessMapTest 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.'); - } /** @@ -1024,8 +934,6 @@ class classprocessMapTest 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.'); - } /** @@ -1044,8 +952,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sTaskUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1070,8 +976,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sType'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1100,8 +1004,6 @@ class classprocessMapTest 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.'); - } /** @@ -1134,8 +1036,6 @@ class classprocessMapTest 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.'); - } /** @@ -1164,8 +1064,6 @@ class classprocessMapTest 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.'); - } /** @@ -1182,8 +1080,6 @@ class classprocessMapTest 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.'); - } /** @@ -1196,8 +1092,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getConditionProcessList', $methods ), 'exists method getConditionProcessList' ); $r = new ReflectionMethod('processMap', 'getConditionProcessList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1213,8 +1107,6 @@ class classprocessMapTest 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.'); - } /** @@ -1230,8 +1122,6 @@ class classprocessMapTest 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.'); - } /** @@ -1247,8 +1137,6 @@ class classprocessMapTest 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.'); - } /** @@ -1264,8 +1152,6 @@ class classprocessMapTest 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.'); - } /** @@ -1282,8 +1168,6 @@ class classprocessMapTest 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.'); - } /** @@ -1300,8 +1184,6 @@ class classprocessMapTest 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.'); - } /** @@ -1317,8 +1199,6 @@ class classprocessMapTest 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.'); - } /** @@ -1334,8 +1214,6 @@ class classprocessMapTest 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.'); - } /** @@ -1352,8 +1230,6 @@ class classprocessMapTest 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.'); - } /** @@ -1370,8 +1246,6 @@ class classprocessMapTest 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.'); - } /** @@ -1393,8 +1267,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sObjUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1422,8 +1294,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'iPosition'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1439,8 +1309,6 @@ class classprocessMapTest 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.'); - } /** @@ -1456,8 +1324,6 @@ class classprocessMapTest 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.'); - } /** @@ -1476,8 +1342,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sUsrUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1493,8 +1357,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sPUUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1510,8 +1372,6 @@ class classprocessMapTest 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.'); - } /** @@ -1524,8 +1384,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllObjectPermissionCount', $methods ), 'exists method getAllObjectPermissionCount' ); $r = new ReflectionMethod('processMap', 'getAllObjectPermissionCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1547,8 +1405,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sProcessUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1564,8 +1420,6 @@ class classprocessMapTest 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.'); - } /** @@ -1581,8 +1435,6 @@ class classprocessMapTest 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.'); - } /** @@ -1601,8 +1453,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sProcessUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1618,8 +1468,6 @@ class classprocessMapTest 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.'); - } /** @@ -1635,8 +1483,6 @@ class classprocessMapTest 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.'); - } /** @@ -1652,8 +1498,6 @@ class classprocessMapTest 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.'); - } /** @@ -1669,8 +1513,6 @@ class classprocessMapTest 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.'); - } /** @@ -1687,8 +1529,6 @@ class classprocessMapTest 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.'); - } /** @@ -1710,8 +1550,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sObjUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1733,8 +1571,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iPosition'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1756,8 +1592,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iPosition'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1779,8 +1613,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'iPosition'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1796,8 +1628,6 @@ class classprocessMapTest 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.'); - } /** @@ -1819,8 +1649,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sCurrentDirectory'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1845,8 +1673,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sFile'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1871,8 +1697,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sDirToDelete'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1897,8 +1721,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[3]->getName() == 'sFile'); $this->assertTrue( $params[3]->isArray() == false); $this->assertTrue( $params[3]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1923,8 +1745,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '0'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1945,8 +1765,6 @@ class classprocessMapTest 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.'); - } /** @@ -1971,8 +1789,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -1988,8 +1804,6 @@ class classprocessMapTest 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.'); - } /** @@ -2008,8 +1822,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'type'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2028,8 +1840,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'EVN_ACTION'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2045,8 +1855,6 @@ class classprocessMapTest 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.'); - } /** @@ -2059,8 +1867,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('loadProcessCategory', $methods ), 'exists method loadProcessCategory' ); $r = new ReflectionMethod('processMap', 'loadProcessCategory'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2085,8 +1891,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '60'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2111,8 +1915,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '60'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2137,8 +1939,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == '60'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2151,8 +1951,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllProcesses', $methods ), 'exists method getAllProcesses' ); $r = new ReflectionMethod('processMap', 'getAllProcesses'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2169,8 +1967,6 @@ class classprocessMapTest 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.'); - } /** @@ -2189,8 +1985,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sEventUID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2217,8 +2011,6 @@ class classprocessMapTest 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.'); - } /** @@ -2234,8 +2026,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sSchUID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2248,8 +2038,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllTaskUserCount', $methods ), 'exists method getAllTaskUserCount' ); $r = new ReflectionMethod('processMap', 'getAllTaskUserCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2276,8 +2064,6 @@ class classprocessMapTest 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.'); - } /** @@ -2298,8 +2084,6 @@ class classprocessMapTest 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.'); - } /** @@ -2316,8 +2100,6 @@ class classprocessMapTest 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.'); - } /** @@ -2338,8 +2120,6 @@ class classprocessMapTest 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.'); - } /** @@ -2352,8 +2132,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllStepCount', $methods ), 'exists method getAllStepCount' ); $r = new ReflectionMethod('processMap', 'getAllStepCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2376,8 +2154,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2390,8 +2166,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllStepTriggerCount', $methods ), 'exists method getAllStepTriggerCount' ); $r = new ReflectionMethod('processMap', 'getAllStepTriggerCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2422,8 +2196,6 @@ class classprocessMapTest 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.'); - } /** @@ -2452,8 +2224,6 @@ class classprocessMapTest 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.'); - } /** @@ -2466,8 +2236,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllDynaformCount', $methods ), 'exists method getAllDynaformCount' ); $r = new ReflectionMethod('processMap', 'getAllDynaformCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2490,8 +2258,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2504,8 +2270,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllInputDocumentCount', $methods ), 'exists method getAllInputDocumentCount' ); $r = new ReflectionMethod('processMap', 'getAllInputDocumentCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2528,8 +2292,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2542,8 +2304,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllOutputDocumentCount', $methods ), 'exists method getAllOutputDocumentCount' ); $r = new ReflectionMethod('processMap', 'getAllOutputDocumentCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2566,8 +2326,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2596,8 +2354,6 @@ class classprocessMapTest 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.'); - } /** @@ -2610,8 +2366,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllProcessSupervisorsCount', $methods ), 'exists method getAllProcessSupervisorsCount' ); $r = new ReflectionMethod('processMap', 'getAllProcessSupervisorsCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2633,8 +2387,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sProcessUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2650,8 +2402,6 @@ class classprocessMapTest 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.'); - } /** @@ -2664,8 +2414,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllSupervisorDynaformsCount', $methods ), 'exists method getAllSupervisorDynaformsCount' ); $r = new ReflectionMethod('processMap', 'getAllSupervisorDynaformsCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2688,8 +2436,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2706,8 +2452,6 @@ class classprocessMapTest 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.'); - } /** @@ -2720,8 +2464,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllSupervisorInputsCount', $methods ), 'exists method getAllSupervisorInputsCount' ); $r = new ReflectionMethod('processMap', 'getAllSupervisorInputsCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2744,8 +2486,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2762,8 +2502,6 @@ class classprocessMapTest 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.'); - } /** @@ -2776,8 +2514,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllDbSourceCount', $methods ), 'exists method getAllDbSourceCount' ); $r = new ReflectionMethod('processMap', 'getAllDbSourceCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2799,8 +2535,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sProcessUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2819,8 +2553,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sAction'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2836,8 +2568,6 @@ class classprocessMapTest 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.'); - } /** @@ -2850,8 +2580,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllCaseTrackerObjectCount', $methods ), 'exists method getAllCaseTrackerObjectCount' ); $r = new ReflectionMethod('processMap', 'getAllCaseTrackerObjectCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2873,8 +2601,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'sProcessUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2891,8 +2617,6 @@ class classprocessMapTest 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.'); - } /** @@ -2905,8 +2629,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllReportTableCount', $methods ), 'exists method getAllReportTableCount' ); $r = new ReflectionMethod('processMap', 'getAllReportTableCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2929,8 +2651,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2951,8 +2671,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == '2'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -2979,8 +2697,6 @@ class classprocessMapTest 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.'); - } /** @@ -2999,8 +2715,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sOP_UID'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -3027,8 +2741,6 @@ class classprocessMapTest 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.'); - } /** @@ -3044,8 +2756,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -3061,8 +2771,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'oData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -3075,8 +2783,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getAllTriggersCount', $methods ), 'exists method getAllTriggersCount' ); $r = new ReflectionMethod('processMap', 'getAllTriggersCount'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -3099,8 +2805,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == true); $this->assertTrue( $params[2]->getDefaultValue() == ''); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -3116,8 +2820,6 @@ class classprocessMapTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'sPRO_UID'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classpropelTableTest.php b/tests/automated/workflow/engine/classes/classpropelTableTest.php index 1bf6cc050..47c9f3408 100644 --- a/tests/automated/workflow/engine/classes/classpropelTableTest.php +++ b/tests/automated/workflow/engine/classes/classpropelTableTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.propelTable.php'; /** - * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:32. + * Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25. */ class classpropelTableTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 8); + $methods = get_class_methods('propelTable'); $this->assertTrue( count($methods) == 8); } /** @@ -60,8 +60,6 @@ class classpropelTableTest 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.'); - } /** @@ -77,8 +75,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'xmlForm'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -91,8 +87,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('count', $methods ), 'exists method count' ); $r = new ReflectionMethod('propelTable', 'count'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -105,8 +99,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('renderTitle', $methods ), 'exists method renderTitle' ); $r = new ReflectionMethod('propelTable', 'renderTitle'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -128,8 +120,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'result'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -142,8 +132,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('defaultStyle', $methods ), 'exists method defaultStyle' ); $r = new ReflectionMethod('propelTable', 'defaultStyle'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -164,8 +152,6 @@ class classpropelTableTest 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.'); - } /** @@ -185,8 +171,6 @@ class classpropelTableTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == true); $this->assertTrue( $params[1]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classredirectDetailTest.php b/tests/automated/workflow/engine/classes/classredirectDetailTest.php index 77dee5548..32e580bc4 100644 --- a/tests/automated/workflow/engine/classes/classredirectDetailTest.php +++ b/tests/automated/workflow/engine/classes/classredirectDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classredirectDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classredirectDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('redirectDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classredirectDetailTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classreplacementLogoTest.php b/tests/automated/workflow/engine/classes/classreplacementLogoTest.php index 1f4201a27..a28443ec1 100644 --- a/tests/automated/workflow/engine/classes/classreplacementLogoTest.php +++ b/tests/automated/workflow/engine/classes/classreplacementLogoTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.replacementLogo.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 classreplacementLogoTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classreplacementLogoTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('replacementLogo'); $this->assertTrue( count($methods) == 3); } /** @@ -56,8 +56,6 @@ class classreplacementLogoTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('replacementLogo', $methods ), 'exists method replacementLogo' ); $r = new ReflectionMethod('replacementLogo', 'replacementLogo'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -88,8 +86,6 @@ class classreplacementLogoTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->getName() == 'formf'); $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -105,8 +101,6 @@ class classreplacementLogoTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'usrUid'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classserverConfTest.php b/tests/automated/workflow/engine/classes/classserverConfTest.php index 124ff2484..faaa6d29d 100644 --- a/tests/automated/workflow/engine/classes/classserverConfTest.php +++ b/tests/automated/workflow/engine/classes/classserverConfTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.serverConfiguration.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 classserverConfTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classserverConfTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 23); + $methods = get_class_methods('serverConf'); $this->assertTrue( count($methods) == 23); } /** @@ -56,8 +56,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('serverConf', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' ); $r = new ReflectionMethod('serverConf', 'getSingleton'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +80,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('serializeInstance', $methods ), 'exists method serializeInstance' ); $r = new ReflectionMethod('serverConf', 'serializeInstance'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +95,6 @@ class classserverConfTest 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 classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('saveSingleton', $methods ), 'exists method saveSingleton' ); $r = new ReflectionMethod('serverConf', 'saveSingleton'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -135,8 +125,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'propertyValue'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -152,8 +140,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'propertyName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +155,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'propertyName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +167,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('sucessfulLogin', $methods ), 'exists method sucessfulLogin' ); $r = new ReflectionMethod('serverConf', 'sucessfulLogin'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -203,8 +185,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'info'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -220,8 +200,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'wsName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -237,8 +215,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'wsName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -251,8 +227,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('checkIfHostNameHasChanged', $methods ), 'exists method checkIfHostNameHasChanged' ); $r = new ReflectionMethod('serverConf', 'checkIfHostNameHasChanged'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -265,8 +239,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getWSList', $methods ), 'exists method getWSList' ); $r = new ReflectionMethod('serverConf', 'getWSList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -282,8 +254,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'wsName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -296,8 +266,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getPluginsList', $methods ), 'exists method getPluginsList' ); $r = new ReflectionMethod('serverConf', 'getPluginsList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -316,8 +284,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'info'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -330,8 +296,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getDBVersion', $methods ), 'exists method getDBVersion' ); $r = new ReflectionMethod('serverConf', 'getDBVersion'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -344,8 +308,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('resetLogins', $methods ), 'exists method resetLogins' ); $r = new ReflectionMethod('serverConf', 'resetLogins'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -358,8 +320,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getLanDirection', $methods ), 'exists method getLanDirection' ); $r = new ReflectionMethod('serverConf', 'getLanDirection'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -381,8 +341,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'workspace'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -401,8 +359,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'workspace'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -421,8 +377,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'workspace'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classspoolRunTest.php b/tests/automated/workflow/engine/classes/classspoolRunTest.php index f1e1f59bb..f47822253 100644 --- a/tests/automated/workflow/engine/classes/classspoolRunTest.php +++ b/tests/automated/workflow/engine/classes/classspoolRunTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.spool.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 classspoolRunTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 9); + $methods = get_class_methods('spoolRun'); $this->assertTrue( count($methods) == 9); } /** @@ -56,8 +56,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('spoolRun', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getSpoolFilesList', $methods ), 'exists method getSpoolFilesList' ); $r = new ReflectionMethod('spoolRun', 'getSpoolFilesList'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aData'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -104,8 +98,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'aConfig'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -153,8 +145,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[9]->isArray() == false); $this->assertTrue( $params[9]->isOptional () == true); $this->assertTrue( $params[9]->getDefaultValue() == 'Array'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -167,8 +157,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('sendMail', $methods ), 'exists method sendMail' ); $r = new ReflectionMethod('spoolRun', 'sendMail'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -181,8 +169,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('resendEmails', $methods ), 'exists method resendEmails' ); $r = new ReflectionMethod('spoolRun', 'resendEmails'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -195,8 +181,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getWarnings', $methods ), 'exists method getWarnings' ); $r = new ReflectionMethod('spoolRun', 'getWarnings'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -212,8 +196,6 @@ class classspoolRunTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'db_spool'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classstepDetailTest.php b/tests/automated/workflow/engine/classes/classstepDetailTest.php index 6479875c8..69223fdfa 100644 --- a/tests/automated/workflow/engine/classes/classstepDetailTest.php +++ b/tests/automated/workflow/engine/classes/classstepDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classstepDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classstepDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('stepDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -71,8 +71,6 @@ class classstepDetailTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[4]->getName() == 'sSetupStepPage'); $this->assertTrue( $params[4]->isArray() == false); $this->assertTrue( $params[4]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classtar_fileTest.php b/tests/automated/workflow/engine/classes/classtar_fileTest.php index f46cb36b3..49548220c 100644 --- a/tests/automated/workflow/engine/classes/classtar_fileTest.php +++ b/tests/automated/workflow/engine/classes/classtar_fileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.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 classtar_fileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtar_fileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 16); + $methods = get_class_methods('tar_file'); $this->assertTrue( count($methods) == 16); } /** @@ -59,8 +59,6 @@ class classtar_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classtar_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('create_tar', $methods ), 'exists method create_tar' ); $r = new ReflectionMethod('tar_file', 'create_tar'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -87,8 +83,6 @@ class classtar_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('extract_files', $methods ), 'exists method extract_files' ); $r = new ReflectionMethod('tar_file', 'extract_files'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +95,6 @@ class classtar_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('open_archive', $methods ), 'exists method open_archive' ); $r = new ReflectionMethod('tar_file', 'open_archive'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classtaskExtendedPropertyTest.php b/tests/automated/workflow/engine/classes/classtaskExtendedPropertyTest.php index 62c196333..3cce70e04 100644 --- a/tests/automated/workflow/engine/classes/classtaskExtendedPropertyTest.php +++ b/tests/automated/workflow/engine/classes/classtaskExtendedPropertyTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('taskExtendedProperty'); $this->assertTrue( count($methods) == 1); } /** @@ -68,8 +68,6 @@ class classtaskExtendedPropertyTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classtoolbarDetailTest.php b/tests/automated/workflow/engine/classes/classtoolbarDetailTest.php index ddfd0699d..4c54ec2cd 100644 --- a/tests/automated/workflow/engine/classes/classtoolbarDetailTest.php +++ b/tests/automated/workflow/engine/classes/classtoolbarDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classtoolbarDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtoolbarDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('toolbarDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classtoolbarDetailTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classtriggerDetailTest.php b/tests/automated/workflow/engine/classes/classtriggerDetailTest.php index 80291fb2c..92f96e550 100644 --- a/tests/automated/workflow/engine/classes/classtriggerDetailTest.php +++ b/tests/automated/workflow/engine/classes/classtriggerDetailTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classtriggerDetailTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtriggerDetailTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('triggerDetail'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classtriggerDetailTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classtriggerLibraryTest.php b/tests/automated/workflow/engine/classes/classtriggerLibraryTest.php index 55f7fc1c0..0abfae28a 100644 --- a/tests/automated/workflow/engine/classes/classtriggerLibraryTest.php +++ b/tests/automated/workflow/engine/classes/classtriggerLibraryTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.triggerLibrary.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 classtriggerLibraryTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 9); + $methods = get_class_methods('triggerLibrary'); $this->assertTrue( count($methods) == 9); } /** @@ -56,8 +56,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' ); $r = new ReflectionMethod('triggerLibrary', '__construct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -70,8 +68,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' ); $r = new ReflectionMethod('triggerLibrary', 'getSingleton'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -84,8 +80,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('serializeInstance', $methods ), 'exists method serializeInstance' ); $r = new ReflectionMethod('triggerLibrary', 'serializeInstance'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -101,8 +95,6 @@ class classtriggerLibraryTest 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.'); - } /** @@ -121,8 +113,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'libraryName'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -138,8 +128,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'file'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -152,8 +140,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getRegisteredClasses', $methods ), 'exists method getRegisteredClasses' ); $r = new ReflectionMethod('triggerLibrary', 'getRegisteredClasses'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -169,8 +155,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'libraryClassName'); $this->assertTrue( $params[0]->isArray() == false); $this->assertTrue( $params[0]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -183,8 +167,6 @@ class classtriggerLibraryTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('__destruct', $methods ), 'exists method __destruct' ); $r = new ReflectionMethod('triggerLibrary', '__destruct'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classuploadDocumentDataTest.php b/tests/automated/workflow/engine/classes/classuploadDocumentDataTest.php index 3865e0086..eb74a54bb 100644 --- a/tests/automated/workflow/engine/classes/classuploadDocumentDataTest.php +++ b/tests/automated/workflow/engine/classes/classuploadDocumentDataTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.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 classuploadDocumentDataTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classuploadDocumentDataTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('uploadDocumentData'); $this->assertTrue( count($methods) == 1); } /** @@ -75,8 +75,6 @@ class classuploadDocumentDataTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[5]->isArray() == false); $this->assertTrue( $params[5]->isOptional () == true); $this->assertTrue( $params[5]->getDefaultValue() == '1'); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classworkspaceToolsTest.php b/tests/automated/workflow/engine/classes/classworkspaceToolsTest.php index f0e5e32df..4f065e8b9 100644 --- a/tests/automated/workflow/engine/classes/classworkspaceToolsTest.php +++ b/tests/automated/workflow/engine/classes/classworkspaceToolsTest.php @@ -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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsBaseTest.php b/tests/automated/workflow/engine/classes/classwsBaseTest.php index 0e18aa04d..d248f7bc3 100644 --- a/tests/automated/workflow/engine/classes/classwsBaseTest.php +++ b/tests/automated/workflow/engine/classes/classwsBaseTest.php @@ -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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsCreateDepartmentResponseTest.php b/tests/automated/workflow/engine/classes/classwsCreateDepartmentResponseTest.php index fc67f69fb..7cbd9f743 100644 --- a/tests/automated/workflow/engine/classes/classwsCreateDepartmentResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsCreateDepartmentResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsCreateDepartmentResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsCreateDepartmentResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsCreateDepartmentResponse'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classwsCreateDepartmentResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'departmentUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsCreateGroupResponseTest.php b/tests/automated/workflow/engine/classes/classwsCreateGroupResponseTest.php index b46afe6cf..74a7a2640 100644 --- a/tests/automated/workflow/engine/classes/classwsCreateGroupResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsCreateGroupResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsCreateGroupResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsCreateGroupResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsCreateGroupResponse'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classwsCreateGroupResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'groupUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsCreateUserResponseTest.php b/tests/automated/workflow/engine/classes/classwsCreateUserResponseTest.php index df7ddc073..388c78389 100644 --- a/tests/automated/workflow/engine/classes/classwsCreateUserResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsCreateUserResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsCreateUserResponse'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'userUID'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php b/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php index f31659bfd..5fa77c138 100644 --- a/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsGetCaseNotesResponse'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'notes'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsGetVariableResponseTest.php b/tests/automated/workflow/engine/classes/classwsGetVariableResponseTest.php index 3fe252aad..3de499023 100644 --- a/tests/automated/workflow/engine/classes/classwsGetVariableResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsGetVariableResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsGetVariableResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsGetVariableResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsGetVariableResponse'); $this->assertTrue( count($methods) == 1); } /** @@ -65,8 +65,6 @@ class classwsGetVariableResponseTest 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.'); - } } diff --git a/tests/automated/workflow/engine/classes/classwsResponseTest.php b/tests/automated/workflow/engine/classes/classwsResponseTest.php index ba224f060..7d81df665 100644 --- a/tests/automated/workflow/engine/classes/classwsResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsResponseTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.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:31. */ class classwsResponseTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classwsResponseTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 3); + $methods = get_class_methods('wsResponse'); $this->assertTrue( count($methods) == 3); } /** @@ -62,8 +62,6 @@ class classwsResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'message'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - $this->markTestIncomplete('This test has not been implemented yet.'); - } /** @@ -79,8 +77,6 @@ class classwsResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'operation'); $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 classwsResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('getPayloadArray', $methods ), 'exists method getPayloadArray' ); $r = new ReflectionMethod('wsResponse', 'getPayloadArray'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/automated/workflow/engine/classes/classzip_fileTest.php b/tests/automated/workflow/engine/classes/classzip_fileTest.php index 158b05465..b724f9b7e 100644 --- a/tests/automated/workflow/engine/classes/classzip_fileTest.php +++ b/tests/automated/workflow/engine/classes/classzip_fileTest.php @@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php'; require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.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 classzip_fileTest extends PHPUnit_Framework_TestCase @@ -43,7 +43,7 @@ class classzip_fileTest extends PHPUnit_Framework_TestCase */ public function testNumberOfMethodsInThisClass() { - $this->assertTrue( count($methods) == 14); + $methods = get_class_methods('zip_file'); $this->assertTrue( count($methods) == 14); } /** @@ -59,8 +59,6 @@ class classzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[0]->getName() == 'name'); $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 classzip_fileTest extends PHPUnit_Framework_TestCase $this->assertTrue( in_array('create_zip', $methods ), 'exists method create_zip' ); $r = new ReflectionMethod('zip_file', 'create_zip'); $params = $r->getParameters(); - $this->markTestIncomplete('This test has not been implemented yet.'); - } } diff --git a/tests/tools/generateTestUnit.php b/tests/tools/generateTestUnit.php index 25035ed87..8b0edf13f 100644 --- a/tests/tools/generateTestUnit.php +++ b/tests/tools/generateTestUnit.php @@ -163,6 +163,7 @@ function parsingFile ( $folder, $entry ) fprintf ( $fp, " */\n" ); fprintf ( $fp, " public function testNumberOfMethodsInThisClass()\n"); fprintf ( $fp, " {\n"); + fprintf ( $fp, " \$methods = get_class_methods('%s');", $className ); fprintf ( $fp, " \$this->assertTrue( count(\$methods) == %s);\n", count($methods) ); fprintf ( $fp, " }\n"); fprintf ( $fp, "\n"); @@ -244,7 +245,7 @@ function parsingFile ( $folder, $entry ) fprintf ( $fp, " \$this->assertTrue( \$params[$key]->getDefaultValue() == '%s');\n", $param->getDefaultValue() ); } } - fprintf ( $fp, " \$this->markTestIncomplete('This test has not been implemented yet.');\n\n"); +// fprintf ( $fp, " \$this->markTestIncomplete('This test has not been implemented yet.');\n\n"); fprintf ( $fp, " } \n\n" );