Files
luos/tests/workflow/engine/classes/classJrmlTest.php

112 lines
3.4 KiB
PHP
Raw Normal View History

<?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.jrml.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classJrmlTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Jrml::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_rows
* @todo Implement testget_rows().
*/
public function testget_rows()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_rows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_md
* @todo Implement testget_md().
*/
public function testget_md()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_md', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_header
* @todo Implement testget_header().
*/
public function testget_header()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_header', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_column_header
* @todo Implement testget_column_header().
*/
public function testget_column_header()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_column_header', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_detail
* @todo Implement testget_detail().
*/
public function testget_detail()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_detail', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_footer
* @todo Implement testget_footer().
*/
public function testget_footer()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_footer', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::export
* @todo Implement testexport().
*/
public function testexport()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'export', $methods ), 'seems like this function is outside this class' );
}
}
}