fixing phpcs in build.xml and removing the incomplete tag for all phpunits
This commit is contained in:
@@ -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.');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user