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

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

View File

@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
require_once PATH_TRUNK . 'workflow/engine/classes/class.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.');
}
}