Merge pull request #261 from marcoAntonioNina/master
phpunit classInvalidIndexSearchTextExceptionTest.php
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
||||
@@ -12,7 +13,6 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.AppSolr.php';
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:25.
|
||||
*/
|
||||
|
||||
class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
||||
@@ -26,7 +27,7 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new workspaceTools();
|
||||
$this->object = new workspaceTools('$workspaceName');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +44,8 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('workspaceTools'); $this->assertTrue( count($methods) == 27);
|
||||
$methods = get_class_methods('workspaceTools');
|
||||
$this->assertTrue( count($methods) == 27);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -469,5 +471,5 @@ class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[3]->isOptional () == true);
|
||||
$this->assertTrue( $params[3]->getDefaultValue() == '1');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user