fixing phpcs in build.xml and removing the incomplete tag for all phpunits
This commit is contained in:
@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
|
||||
require_once PATH_TRUNK . 'workflow/engine/classes/class.serverConfiguration.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:40.
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:32.
|
||||
*/
|
||||
|
||||
class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
@@ -43,7 +43,7 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$this->assertTrue( count($methods) == 23);
|
||||
$methods = get_class_methods('serverConf'); $this->assertTrue( count($methods) == 23);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,8 +56,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('__construct', $methods ), 'exists method __construct' );
|
||||
$r = new ReflectionMethod('serverConf', '__construct');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -70,8 +68,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('getSingleton', $methods ), 'exists method getSingleton' );
|
||||
$r = new ReflectionMethod('serverConf', 'getSingleton');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,8 +80,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('serializeInstance', $methods ), 'exists method serializeInstance' );
|
||||
$r = new ReflectionMethod('serverConf', 'serializeInstance');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -101,8 +95,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'serialized');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -115,8 +107,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('saveSingleton', $methods ), 'exists method saveSingleton' );
|
||||
$r = new ReflectionMethod('serverConf', 'saveSingleton');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -135,8 +125,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->getName() == 'propertyValue');
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -152,8 +140,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'propertyName');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -169,8 +155,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'propertyName');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -183,8 +167,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('sucessfulLogin', $methods ), 'exists method sucessfulLogin' );
|
||||
$r = new ReflectionMethod('serverConf', 'sucessfulLogin');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -203,8 +185,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->getName() == 'info');
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -220,8 +200,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'wsName');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -237,8 +215,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'wsName');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -251,8 +227,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('checkIfHostNameHasChanged', $methods ), 'exists method checkIfHostNameHasChanged' );
|
||||
$r = new ReflectionMethod('serverConf', 'checkIfHostNameHasChanged');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -265,8 +239,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('getWSList', $methods ), 'exists method getWSList' );
|
||||
$r = new ReflectionMethod('serverConf', 'getWSList');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -282,8 +254,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'wsName');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -296,8 +266,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('getPluginsList', $methods ), 'exists method getPluginsList' );
|
||||
$r = new ReflectionMethod('serverConf', 'getPluginsList');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -316,8 +284,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->getName() == 'info');
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -330,8 +296,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('getDBVersion', $methods ), 'exists method getDBVersion' );
|
||||
$r = new ReflectionMethod('serverConf', 'getDBVersion');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -344,8 +308,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('resetLogins', $methods ), 'exists method resetLogins' );
|
||||
$r = new ReflectionMethod('serverConf', 'resetLogins');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -358,8 +320,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('getLanDirection', $methods ), 'exists method getLanDirection' );
|
||||
$r = new ReflectionMethod('serverConf', 'getLanDirection');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -381,8 +341,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[2]->getName() == 'workspace');
|
||||
$this->assertTrue( $params[2]->isArray() == false);
|
||||
$this->assertTrue( $params[2]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -401,8 +359,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->getName() == 'workspace');
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -421,8 +377,6 @@ class classserverConfTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[1]->getName() == 'workspace');
|
||||
$this->assertTrue( $params[1]->isArray() == false);
|
||||
$this->assertTrue( $params[1]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user