BUG 0000 "Impoving ProcessMaker PHPUnit Test folders structure"

This commit is contained in:
Erik Amaru Ortiz
2012-05-16 12:56:14 -04:00
parent 6d5f02e2dd
commit b4067145a7
181 changed files with 233 additions and 64 deletions

View File

@@ -0,0 +1,51 @@
<?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';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.javaBridgePM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classJavaBridgePMTest extends PHPUnit_Framework_TestCase
{
/**
* @covers JavaBridgePM::checkJavaExtension
* @todo Implement testcheckJavaExtension().
*/
public function testcheckJavaExtension()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'checkJavaExtension', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers JavaBridgePM::convertValue
* @todo Implement testconvertValue().
*/
public function testconvertValue()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'convertValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers JavaBridgePM::generateJrxmlFromDynaform
* @todo Implement testgenerateJrxmlFromDynaform().
*/
public function testgenerateJrxmlFromDynaform()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'generateJrxmlFromDynaform', $methods ), 'seems like this function is outside this class' );
}
}
}