Merge pull request #280 from hector-cortez/master
BUG 0000 Adjustment in te class classdynaformEditorTest
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.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.xmlform.php';
|
||||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
||||||
@@ -12,9 +13,9 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaformEditor.php';
|
|||||||
/**
|
/**
|
||||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:31.
|
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:31.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var dynaformEditor
|
* @var dynaformEditor
|
||||||
*/
|
*/
|
||||||
@@ -26,7 +27,7 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
$this->object = new dynaformEditor();
|
$this->object = new dynaformEditor('getvalue');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -35,6 +36,7 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -43,7 +45,8 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$methods = get_class_methods('dynaformEditor'); $this->assertTrue( count($methods) == 10);
|
$methods = get_class_methods('dynaformEditor');
|
||||||
|
$this->assertTrue(count($methods) == 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -162,5 +165,5 @@ class classdynaformEditorTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertTrue($params[1]->isArray() == false);
|
$this->assertTrue($params[1]->isArray() == false);
|
||||||
$this->assertTrue($params[1]->isOptional() == false);
|
$this->assertTrue($params[1]->isOptional() == false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user