Merge pull request #258 from hector-cortez/master
BUG 0000 Adjustment in te class classdashboardPageTest.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,9 +13,9 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:32.
|
||||
*/
|
||||
|
||||
class classdashboardPageTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @var dashboardPage
|
||||
*/
|
||||
@@ -26,7 +27,7 @@ class classdashboardPageTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new dashboardPage();
|
||||
$this->object = new dashboardPage('sNamespace', 'sPage', 'sName', 'sIcon');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -35,6 +36,7 @@ class classdashboardPageTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +45,8 @@ class classdashboardPageTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('dashboardPage'); $this->assertTrue( count($methods) == 1);
|
||||
$methods = get_class_methods('dashboardPage');
|
||||
$this->assertTrue(count($methods) == 1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,5 +72,5 @@ class classdashboardPageTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue($params[3]->isArray() == false);
|
||||
$this->assertTrue($params[3]->isOptional() == false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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,9 +13,9 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:32.
|
||||
*/
|
||||
|
||||
class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @var taskExtendedProperty
|
||||
*/
|
||||
@@ -26,7 +27,7 @@ class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new taskExtendedProperty();
|
||||
$this->object = new taskExtendedProperty('sNamespace', 'sPage', 'sName', 'sIcon');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -35,6 +36,7 @@ class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +45,8 @@ class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('taskExtendedProperty'); $this->assertTrue( count($methods) == 1);
|
||||
$methods = get_class_methods('taskExtendedProperty');
|
||||
$this->assertTrue(count($methods) == 1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,5 +72,5 @@ class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue($params[3]->isArray() == false);
|
||||
$this->assertTrue($params[3]->isOptional() == false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user