232 lines
7.8 KiB
PHP
232 lines
7.8 KiB
PHP
|
|
<?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.dynaformEditor.php';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
|
||
|
|
*/
|
||
|
|
|
||
|
|
class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::dynaformEditorAjax
|
||
|
|
* @todo Implement testdynaformEditorAjax().
|
||
|
|
*/
|
||
|
|
public function testdynaformEditorAjax()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'dynaformEditorAjax', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::_run
|
||
|
|
* @todo Implement test_run().
|
||
|
|
*/
|
||
|
|
public function test_run()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( '_run', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::render_preview
|
||
|
|
* @todo Implement testrender_preview().
|
||
|
|
*/
|
||
|
|
public function testrender_preview()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'render_preview', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::render_htmledit
|
||
|
|
* @todo Implement testrender_htmledit().
|
||
|
|
*/
|
||
|
|
public function testrender_htmledit()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'render_htmledit', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::get_htmlcode
|
||
|
|
* @todo Implement testget_htmlcode().
|
||
|
|
*/
|
||
|
|
public function testget_htmlcode()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'get_htmlcode', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::restore_html
|
||
|
|
* @todo Implement testrestore_html().
|
||
|
|
*/
|
||
|
|
public function testrestore_html()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'restore_html', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::set_htmlcode
|
||
|
|
* @todo Implement testset_htmlcode().
|
||
|
|
*/
|
||
|
|
public function testset_htmlcode()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'set_htmlcode', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::get_xmlcode
|
||
|
|
* @todo Implement testget_xmlcode().
|
||
|
|
*/
|
||
|
|
public function testget_xmlcode()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'get_xmlcode', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::set_xmlcode
|
||
|
|
* @todo Implement testset_xmlcode().
|
||
|
|
*/
|
||
|
|
public function testset_xmlcode()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'set_xmlcode', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::get_javascripts
|
||
|
|
* @todo Implement testget_javascripts().
|
||
|
|
*/
|
||
|
|
public function testget_javascripts()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'get_javascripts', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::set_javascript
|
||
|
|
* @todo Implement testset_javascript().
|
||
|
|
*/
|
||
|
|
public function testset_javascript()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'set_javascript', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::get_properties
|
||
|
|
* @todo Implement testget_properties().
|
||
|
|
*/
|
||
|
|
public function testget_properties()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'get_properties', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::set_properties
|
||
|
|
* @todo Implement testset_properties().
|
||
|
|
*/
|
||
|
|
public function testset_properties()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'set_properties', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::get_enabletemplate
|
||
|
|
* @todo Implement testget_enabletemplate().
|
||
|
|
*/
|
||
|
|
public function testget_enabletemplate()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'get_enabletemplate', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::set_enabletemplate
|
||
|
|
* @todo Implement testset_enabletemplate().
|
||
|
|
*/
|
||
|
|
public function testset_enabletemplate()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'set_enabletemplate', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::save
|
||
|
|
* @todo Implement testsave().
|
||
|
|
*/
|
||
|
|
public function testsave()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::close
|
||
|
|
* @todo Implement testclose().
|
||
|
|
*/
|
||
|
|
public function testclose()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers dynaformEditorAjax::is_modified
|
||
|
|
* @todo Implement testis_modified().
|
||
|
|
*/
|
||
|
|
public function testis_modified()
|
||
|
|
{
|
||
|
|
if (class_exists('dynaformEditorAjax')) {
|
||
|
|
$methods = get_class_methods( 'dynaformEditorAjax');
|
||
|
|
$this->assertTrue( in_array( 'is_modified', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|