[enh] WIP : the testbed is now database-ready

This commit is contained in:
alban 2014-03-19 10:15:54 +01:00
parent fbc3ba935f
commit 26613e467f
28 changed files with 5409 additions and 37 deletions

2
phpunit/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
my.cnf
local.sh

View File

@ -1,9 +1,151 @@
<?php
$pathList = array_merge( array("."),explode(PATH_SEPARATOR,get_include_path()));
// *****************************************************************************
//
// Alternc bootstrapping
// bureau/class/config.php file is -not- test friendly
// @todo streamline test and prod
//
// *****************************************************************************
// Autoloading
// ***********
$pathList = array_merge( array("."),explode(PATH_SEPARATOR,get_include_path()));
set_include_path(implode(PATH_SEPARATOR, $pathList));
require_once('AutoLoader.php');
// Register the directory to your include files
AutoLoader::registerDirectory('lib');
AutoLoader::registerDirectory('../bureau/class');
AutoLoader::registerDirectory('.');
define('ALTERNC_PANEL', "../bureau"); // Custom
require_once ALTERNC_PANEL."/class/db_mysql.php";
require_once ALTERNC_PANEL."/class/functions.php";
// General variables setup
// *********************
if(is_readable('local.sh')){
$configFile = file_get_contents('local.sh', 'r');
} else if(is_readable('/etc/alternc/local.sh')){
$configFile = file_get_contents('/etc/alternc/local.sh', 'r');
} else {
throw new Exception("You must provide a local.sh file", 1 );
}
$configFile = explode("\n",$configFile);
$compat = array('DEFAULT_MX' => 'MX',
'MYSQL_USER' => 'MYSQL_LOGIN',
'MYSQL_PASS' => 'MYSQL_PWD',
'NS1_HOSTNAME' => 'NS1',
'NS2_HOSTNAME' => 'NS2'
);
foreach ($configFile as $line) {
if (preg_match('/^([A-Za-z0-9_]*) *= *"?(.*?)"?$/', trim($line), $matches)) {
$GLOBALS['L_'.$matches[1]] = $matches[2];
if (isset($compat[$matches[1]])) {
$GLOBALS['L_'.$compat[$matches[1]]] = $matches[2];
}
}
}
// Constants and globals
// ********************
// Define constants from vars of /etc/alternc/local.sh
define('ALTERNC_MAIL', "$L_ALTERNC_MAIL");
define('ALTERNC_HTML', "$L_ALTERNC_HTML");
if(isset($L_ALTERNC_LOGS_ARCHIVE)){
define('ALTERNC_LOGS_ARCHIVE', "$L_ALTERNC_LOGS_ARCHIVE");
}
define('ALTERNC_LOGS', "$L_ALTERNC_LOGS");
define('ALTERNC_LOCALES', ALTERNC_PANEL."/locales");
define('ALTERNC_LOCK_JOBS', '/var/run/alternc/jobs-lock');
define('ALTERNC_LOCK_PANEL', '/var/lib/alternc/panel/nologin.lock');
define('ALTERNC_APACHE2_GEN_TMPL_DIR', '/etc/alternc/templates/apache2/');
define('ALTERNC_VHOST_DIR', "/var/lib/alternc/apache-vhost/");
define('ALTERNC_VHOST_FILE', ALTERNC_VHOST_DIR."vhosts_all.conf");
define('ALTERNC_VHOST_MANUALCONF', ALTERNC_VHOST_DIR."manual/");
$root = ALTERNC_PANEL."/";
// Database variables setup
// ***********************
if ( is_readable("my.cnf") ) {
$mysqlConfigFile = file_get_contents("my.cnf");
} else if ( is_readable("/etc/alternc/dbusers.cnf") ) {
$mysqlConfigFile = file_get_contents("/etc/alternc/dbusers.cnf");
} else if ( is_readable("/etc/alternc/my.cnf") ) {
$mysqlConfigFile = file_get_contents("/etc/alternc/my.cnf");
} else {
throw new Exception("You must provide a mysql configuration file", 1 );
}
$mysqlConfigFile = explode("\n",$mysqlConfigFile);
foreach ($mysqlConfigFile as $line) {
if (preg_match('/^([A-Za-z0-9_]*) *= *"?(.*?)"?$/', trim($line), $matches)) {
switch ($matches[1]) {
case "user":
$user = $matches[2];
break;
case "password":
$password = $matches[2];
break;
case "database":
$database = $matches[2];
break;
}
}
if (preg_match('/^#alternc_var ([A-Za-z0-9_]*) *= *"?(.*?)"?$/', trim($line), $matches)) {
$$matches[1] = $matches[2];
}
}
// Database default
// ********************************************
if( ! $database ){
$database = "alternc_phpunit";
}
/**
* Class for MySQL management in the bureau
*
* This class heriting from the db class of the phplib manages
* the connection to the MySQL database.
*/
class DB_system extends DB_Sql {
var $Host,$Database,$User,$Password;
/**
* Constructor
*/
function DB_system($user,$database,$password) {
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD;
$this->Host = "127.0.0.1";
$this->Database = $database;
$this->User = $user;
$this->Password = $password;
}
}
// Creates database from schema
// *********************************************
$queryList = array(
"mysql -u $user --password='$password' -e 'DROP DATABASE IF EXISTS $database '",
"mysql -u $user --password='$password' -e 'CREATE DATABASE $database'",
"mysql -u $user --password='$password' $database < ".__DIR__."/../install/mysql.sql"
);
foreach ($queryList as $exec_command) {
exec($exec_command,$output,$return_var);
if( $return_var){
throw new \Exception("[!] Mysql exec error : $exec_command \n Error : \n ".print_r($output,1));
}
}
$db = new \DB_system($user,$database,$password);
$cuid = 0;
$variables = new \m_variables();
$mem = new \m_mem();
$err = new \m_err();
$authip = new \m_authip();
$hooks = new \m_hooks();

View File

@ -3,6 +3,6 @@
* This is the abstract class for all tests
* @see http://phpunit.de/manual/
*/
abstract class AlterncTest extends PHPUnit_Framework_TestCase
abstract class AlterncTest extends PHPUnit_Extensions_Database_TestCase
{
}

View File

@ -1,4 +1,9 @@
<phpunit
bootstrap="bootstrap.php"
>
<testsuites>
<testsuite name="AlternCTests">
<directory>tests/bureau</directory>
</testsuite>
</testsuites>
</phpunit>

View File

@ -77,7 +77,7 @@ class DummyTest extends AlterncTest
*/
public function testDependance()
{
$this->assertTrue(FALSE);
$this->assertTrue(TRUE);
return TRUE;
}

View File

@ -1,33 +0,0 @@
<?php
class LogTest extends AlterncTest
{
/**
*
* @var m_log
*/
private $logger;
protected function setUp()
{
$this->logger = new m_log();
}
protected function tearDown()
{
}
public function testPushAndPop()
{
$stack = array();
$this->assertEquals(0, count($stack));
array_push($stack, 'foo');
$this->assertEquals('foo', $stack[count($stack)-1]);
$this->assertEquals(1, count($stack));
$this->assertEquals('foo', array_pop($stack));
$this->assertEquals(0, count($stack));
}
}

View File

@ -0,0 +1,244 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_actionTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_action
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_action;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_action::do_action
* @todo Implement testDo_action().
*/
public function testDo_action()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::create_file
* @todo Implement testCreate_file().
*/
public function testCreate_file()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::create_dir
* @todo Implement testCreate_dir().
*/
public function testCreate_dir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::fix_user
* @todo Implement testFix_user().
*/
public function testFix_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::fix_dir
* @todo Implement testFix_dir().
*/
public function testFix_dir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::fix_file
* @todo Implement testFix_file().
*/
public function testFix_file()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::del
* @todo Implement testDel().
*/
public function testDel()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::move
* @todo Implement testMove().
*/
public function testMove()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::archive
* @todo Implement testArchive().
*/
public function testArchive()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::set
* @todo Implement testSet().
*/
public function testSet()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::get_old
* @todo Implement testGet_old().
*/
public function testGet_old()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::purge
* @todo Implement testPurge().
*/
public function testPurge()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::get_action
* @todo Implement testGet_action().
*/
public function testGet_action()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::begin
* @todo Implement testBegin().
*/
public function testBegin()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::finish
* @todo Implement testFinish().
*/
public function testFinish()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::reset_job
* @todo Implement testReset_job().
*/
public function testReset_job()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::get_job
* @todo Implement testGet_job().
*/
public function testGet_job()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_action::cancel
* @todo Implement testCancel().
*/
public function testCancel()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,484 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_adminTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_admin
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_admin;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_admin::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::stop_if_jobs_locked
* @todo Implement testStop_if_jobs_locked().
*/
public function testStop_if_jobs_locked()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::get_uid_by_login
* @todo Implement testGet_uid_by_login().
*/
public function testGet_uid_by_login()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::get
* @todo Implement testGet().
*/
public function testGet()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::get_creator
* @todo Implement testGet_creator().
*/
public function testGet_creator()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::onesu
* @todo Implement testOnesu().
*/
public function testOnesu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::get_list
* @todo Implement testGet_list().
*/
public function testGet_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::mailallmembers
* @todo Implement testMailallmembers().
*/
public function testMailallmembers()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::get_creator_list
* @todo Implement testGet_creator_list().
*/
public function testGet_creator_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::checkcreator
* @todo Implement testCheckcreator().
*/
public function testCheckcreator()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::add_shared_domain
* @todo Implement testAdd_shared_domain().
*/
public function testAdd_shared_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::add_mem
* @todo Implement testAdd_mem().
*/
public function testAdd_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::hook_admin_add_member
* @todo Implement testHook_admin_add_member().
*/
public function testHook_admin_add_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::update_mem
* @todo Implement testUpdate_mem().
*/
public function testUpdate_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::lock_mem
* @todo Implement testLock_mem().
*/
public function testLock_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::unlock_mem
* @todo Implement testUnlock_mem().
*/
public function testUnlock_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::del_mem
* @todo Implement testDel_mem().
*/
public function testDel_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::renew_mem
* @todo Implement testRenew_mem().
*/
public function testRenew_mem()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::renew_update
* @todo Implement testRenew_update().
*/
public function testRenew_update()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::renew_get_expiry
* @todo Implement testRenew_get_expiry().
*/
public function testRenew_get_expiry()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::renew_get_status
* @todo Implement testRenew_get_status().
*/
public function testRenew_get_status()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::renew_get_expiring_accounts
* @todo Implement testRenew_get_expiring_accounts().
*/
public function testRenew_get_expiring_accounts()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::normal2su
* @todo Implement testNormal2su().
*/
public function testNormal2su()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::su2normal
* @todo Implement testSu2normal().
*/
public function testSu2normal()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::listtld
* @todo Implement testListtld().
*/
public function testListtld()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::dom_list
* @todo Implement testDom_list().
*/
public function testDom_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::checkalldom
* @todo Implement testCheckalldom().
*/
public function testCheckalldom()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::dom_lock
* @todo Implement testDom_lock().
*/
public function testDom_lock()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::gettld
* @todo Implement testGettld().
*/
public function testGettld()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::selecttldmode
* @todo Implement testSelecttldmode().
*/
public function testSelecttldmode()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::deltld
* @todo Implement testDeltld().
*/
public function testDeltld()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::addtld
* @todo Implement testAddtld().
*/
public function testAddtld()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::edittld
* @todo Implement testEdittld().
*/
public function testEdittld()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::getadmin
* @todo Implement testGetadmin().
*/
public function testGetadmin()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::listPasswordPolicies
* @todo Implement testListPasswordPolicies().
*/
public function testListPasswordPolicies()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::editPolicy
* @todo Implement testEditPolicy().
*/
public function testEditPolicy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::checkPolicy
* @todo Implement testCheckPolicy().
*/
public function testCheckPolicy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_admin::hook_upnp_list
* @todo Implement testHook_upnp_list().
*/
public function testHook_upnp_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,208 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_authipTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_authip
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_authip;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_authip::list_ip_whitelist
* @todo Implement testList_ip_whitelist().
*/
public function testList_ip_whitelist()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::list_ip
* @todo Implement testList_ip().
*/
public function testList_ip()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::ip_delete
* @todo Implement testIp_delete().
*/
public function testIp_delete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::get_allowed
* @todo Implement testGet_allowed().
*/
public function testGet_allowed()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::is_wl
* @todo Implement testIs_wl().
*/
public function testIs_wl()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::is_in_subnet
* @todo Implement testIs_in_subnet().
*/
public function testIs_in_subnet()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::ip_save_whitelist
* @todo Implement testIp_save_whitelist().
*/
public function testIp_save_whitelist()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::ip_save
* @todo Implement testIp_save().
*/
public function testIp_save()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::alternc_del_member
* @todo Implement testAlternc_del_member().
*/
public function testAlternc_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::get_auth_class
* @todo Implement testGet_auth_class().
*/
public function testGet_auth_class()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::ip_affected_save
* @todo Implement testIp_affected_save().
*/
public function testIp_affected_save()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::ip_affected_delete
* @todo Implement testIp_affected_delete().
*/
public function testIp_affected_delete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::call_hooks
* @todo Implement testCall_hooks().
*/
public function testCall_hooks()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_authip::list_affected
* @todo Implement testList_affected().
*/
public function testList_affected()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,496 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_broTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_bro
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_bro;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_bro::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::convertabsolute
* @todo Implement testConvertabsolute().
*/
public function testConvertabsolute()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::get_user_root
* @todo Implement testGet_user_root().
*/
public function testGet_user_root()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::get_userid_root
* @todo Implement testGet_userid_root().
*/
public function testGet_userid_root()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::filelist
* @todo Implement testFilelist().
*/
public function testFilelist()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::GetPrefs
* @todo Implement testGetPrefs().
*/
public function testGetPrefs()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::SetPrefs
* @todo Implement testSetPrefs().
*/
public function testSetPrefs()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::icon
* @todo Implement testIcon().
*/
public function testIcon()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::mime
* @todo Implement testMime().
*/
public function testMime()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::fsize
* @todo Implement testFsize().
*/
public function testFsize()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::dirsize
* @todo Implement testDirsize().
*/
public function testDirsize()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::CreateDir
* @todo Implement testCreateDir().
*/
public function testCreateDir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::CreateFile
* @todo Implement testCreateFile().
*/
public function testCreateFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::DeleteFile
* @todo Implement testDeleteFile().
*/
public function testDeleteFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::RenameFile
* @todo Implement testRenameFile().
*/
public function testRenameFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::MoveFile
* @todo Implement testMoveFile().
*/
public function testMoveFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::ChangePermissions
* @todo Implement testChangePermissions().
*/
public function testChangePermissions()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::UploadFile
* @todo Implement testUploadFile().
*/
public function testUploadFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::ExtractFile
* @todo Implement testExtractFile().
*/
public function testExtractFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::CopyFile
* @todo Implement testCopyFile().
*/
public function testCopyFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::CopyOneFile
* @todo Implement testCopyOneFile().
*/
public function testCopyOneFile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::PathList
* @todo Implement testPathList().
*/
public function testPathList()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::content
* @todo Implement testContent().
*/
public function testContent()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::viewurl
* @todo Implement testViewurl().
*/
public function testViewurl()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::can_edit
* @todo Implement testCan_edit().
*/
public function testCan_edit()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::is_extractable
* @todo Implement testIs_extractable().
*/
public function testIs_extractable()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::is_sqlfile
* @todo Implement testIs_sqlfile().
*/
public function testIs_sqlfile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::download_link
* @todo Implement testDownload_link().
*/
public function testDownload_link()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::content_send
* @todo Implement testContent_send().
*/
public function testContent_send()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::save
* @todo Implement testSave().
*/
public function testSave()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::DownloadZ
* @todo Implement testDownloadZ().
*/
public function testDownloadZ()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::DownloadTGZ
* @todo Implement testDownloadTGZ().
*/
public function testDownloadTGZ()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::DownloadTBZ
* @todo Implement testDownloadTBZ().
*/
public function testDownloadTBZ()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::DownloadZIP
* @todo Implement testDownloadZIP().
*/
public function testDownloadZIP()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::_sort_filelist_name
* @todo Implement test_sort_filelist_name().
*/
public function test_sort_filelist_name()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::_delete
* @todo Implement test_delete().
*/
public function test_delete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::alternc_export_data
* @todo Implement testAlternc_export_data().
*/
public function testAlternc_export_data()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_bro::getMaxAllowedUploadSize
* @todo Implement testGetMaxAllowedUploadSize().
*/
public function testGetMaxAllowedUploadSize()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,112 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_cronTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_cron
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_cron;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_cron::schedule
* @todo Implement testSchedule().
*/
public function testSchedule()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::lst_cron
* @todo Implement testLst_cron().
*/
public function testLst_cron()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::update
* @todo Implement testUpdate().
*/
public function testUpdate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::delete_one
* @todo Implement testDelete_one().
*/
public function testDelete_one()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::valid_schedule
* @todo Implement testValid_schedule().
*/
public function testValid_schedule()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_cron::hook_quota_get
* @todo Implement testHook_quota_get().
*/
public function testHook_quota_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_cryptoTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_crypto
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_crypto;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_crypto::encrypt
* @todo Implement testEncrypt().
*/
public function testEncrypt()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_crypto::decrypt
* @todo Implement testDecrypt().
*/
public function testDecrypt()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,76 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_debug_alterncTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_debug_alternc
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_debug_alternc;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_debug_alternc::activate
* @todo Implement testActivate().
*/
public function testActivate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_debug_alternc::desactivate
* @todo Implement testDesactivate().
*/
public function testDesactivate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_debug_alternc::add
* @todo Implement testAdd().
*/
public function testAdd()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_debug_alternc::dump
* @todo Implement testDump().
*/
public function testDump()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,820 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_domTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_dom
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_dom;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_dom::get_panel_url_list
* @todo Implement testGet_panel_url_list().
*/
public function testGet_panel_url_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_sub_domain_id_and_member_by_name
* @todo Implement testGet_sub_domain_id_and_member_by_name().
*/
public function testGet_sub_domain_id_and_member_by_name()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_lst
* @todo Implement testDomains_type_lst().
*/
public function testDomains_type_lst()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_enable_values
* @todo Implement testDomains_type_enable_values().
*/
public function testDomains_type_enable_values()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_target_values
* @todo Implement testDomains_type_target_values().
*/
public function testDomains_type_target_values()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::import_manual_dns_zone
* @todo Implement testImport_manual_dns_zone().
*/
public function testImport_manual_dns_zone()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::import_manual_dns_entry
* @todo Implement testImport_manual_dns_entry().
*/
public function testImport_manual_dns_entry()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::is_it_a_redirect
* @todo Implement testIs_it_a_redirect().
*/
public function testIs_it_a_redirect()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_regenerate
* @todo Implement testDomains_type_regenerate().
*/
public function testDomains_type_regenerate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_get
* @todo Implement testDomains_type_get().
*/
public function testDomains_type_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_del
* @todo Implement testDomains_type_del().
*/
public function testDomains_type_del()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domains_type_update
* @todo Implement testDomains_type_update().
*/
public function testDomains_type_update()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::sub_domain_change_status
* @todo Implement testSub_domain_change_status().
*/
public function testSub_domain_change_status()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::enum_domains
* @todo Implement testEnum_domains().
*/
public function testEnum_domains()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_domain_cancel
* @todo Implement testDel_domain_cancel().
*/
public function testDel_domain_cancel()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_domain
* @todo Implement testDel_domain().
*/
public function testDel_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domshort
* @todo Implement testDomshort().
*/
public function testDomshort()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::add_domain
* @todo Implement testAdd_domain().
*/
public function testAdd_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::create_default_subdomains
* @todo Implement testCreate_default_subdomains().
*/
public function testCreate_default_subdomains()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::domdefaultdir
* @todo Implement testDomdefaultdir().
*/
public function testDomdefaultdir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::dump_axfr
* @todo Implement testDump_axfr().
*/
public function testDump_axfr()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::lst_default_subdomains
* @todo Implement testLst_default_subdomains().
*/
public function testLst_default_subdomains()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::update_default_subdomains
* @todo Implement testUpdate_default_subdomains().
*/
public function testUpdate_default_subdomains()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::update_one_default
* @todo Implement testUpdate_one_default().
*/
public function testUpdate_one_default()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_default_type
* @todo Implement testDel_default_type().
*/
public function testDel_default_type()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::whois
* @todo Implement testWhois().
*/
public function testWhois()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::checkmx
* @todo Implement testCheckmx().
*/
public function testCheckmx()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_domain_all
* @todo Implement testGet_domain_all().
*/
public function testGet_domain_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_sub_domain_all
* @todo Implement testGet_sub_domain_all().
*/
public function testGet_sub_domain_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::check_type_value
* @todo Implement testCheck_type_value().
*/
public function testCheck_type_value()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::can_create_subdomain
* @todo Implement testCan_create_subdomain().
*/
public function testCan_create_subdomain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::set_sub_domain
* @todo Implement testSet_sub_domain().
*/
public function testSet_sub_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_sub_domain
* @todo Implement testDel_sub_domain().
*/
public function testDel_sub_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::set_ttl
* @todo Implement testSet_ttl().
*/
public function testSet_ttl()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::edit_domain
* @todo Implement testEdit_domain().
*/
public function testEdit_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::enum_slave_ip
* @todo Implement testEnum_slave_ip().
*/
public function testEnum_slave_ip()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::add_slave_ip
* @todo Implement testAdd_slave_ip().
*/
public function testAdd_slave_ip()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_slave_ip
* @todo Implement testDel_slave_ip().
*/
public function testDel_slave_ip()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::check_slave_account
* @todo Implement testCheck_slave_account().
*/
public function testCheck_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::echo_domain_list
* @todo Implement testEcho_domain_list().
*/
public function testEcho_domain_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_domain_list
* @todo Implement testGet_domain_list().
*/
public function testGet_domain_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_domain_all_summary
* @todo Implement testGet_domain_all_summary().
*/
public function testGet_domain_all_summary()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_domain_byid
* @todo Implement testGet_domain_byid().
*/
public function testGet_domain_byid()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_domain_byname
* @todo Implement testGet_domain_byname().
*/
public function testGet_domain_byname()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::count_domains_all
* @todo Implement testCount_domains_all().
*/
public function testCount_domains_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::enum_slave_account
* @todo Implement testEnum_slave_account().
*/
public function testEnum_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::add_slave_account
* @todo Implement testAdd_slave_account().
*/
public function testAdd_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::del_slave_account
* @todo Implement testDel_slave_account().
*/
public function testDel_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::lock
* @todo Implement testLock().
*/
public function testLock()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::unlock
* @todo Implement testUnlock().
*/
public function testUnlock()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::hook_dom_add_mx_domain
* @todo Implement testHook_dom_add_mx_domain().
*/
public function testHook_dom_add_mx_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::hook_admin_del_member
* @todo Implement testHook_admin_del_member().
*/
public function testHook_admin_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::hook_quota_get
* @todo Implement testHook_quota_get().
*/
public function testHook_quota_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::generation_parameters
* @todo Implement testGeneration_parameters().
*/
public function testGeneration_parameters()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::generation_domains_type
* @todo Implement testGeneration_domains_type().
*/
public function testGeneration_domains_type()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::generate_conf_oldhook
* @todo Implement testGenerate_conf_oldhook().
*/
public function testGenerate_conf_oldhook()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::generate_apacheconf
* @todo Implement testGenerate_apacheconf().
*/
public function testGenerate_apacheconf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::generation_todo
* @todo Implement testGeneration_todo().
*/
public function testGeneration_todo()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::subdomain_modif_are_done
* @todo Implement testSubdomain_modif_are_done().
*/
public function testSubdomain_modif_are_done()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::set_dns_action
* @todo Implement testSet_dns_action().
*/
public function testSet_dns_action()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::set_dns_result
* @todo Implement testSet_dns_result().
*/
public function testSet_dns_result()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::hook_upnp_list
* @todo Implement testHook_upnp_list().
*/
public function testHook_upnp_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::get_problems
* @todo Implement testGet_problems().
*/
public function testGet_problems()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_dom::default_domain_type
* @todo Implement testDefault_domain_type().
*/
public function testDefault_domain_type()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,76 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_errTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_err
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_err;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_err::raise
* @todo Implement testRaise().
*/
public function testRaise()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_err::errstr
* @todo Implement testErrstr().
*/
public function testErrstr()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_err::logerr
* @todo Implement testLogerr().
*/
public function testLogerr()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_err::log
* @todo Implement testLog().
*/
public function testLog()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_exportTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_export
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_export;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_export::export_conf
* @todo Implement testExport_conf().
*/
public function testExport_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_export::export_data
* @todo Implement testExport_data().
*/
public function testExport_data()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,244 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_ftpTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_ftp
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_ftp;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_ftp::alternc_password_policy
* @todo Implement testAlternc_password_policy().
*/
public function testAlternc_password_policy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::authip_class
* @todo Implement testAuthip_class().
*/
public function testAuthip_class()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::switch_enabled
* @todo Implement testSwitch_enabled().
*/
public function testSwitch_enabled()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::get_list
* @todo Implement testGet_list().
*/
public function testGet_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::get_ftp_details
* @todo Implement testGet_ftp_details().
*/
public function testGet_ftp_details()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::prefix_list
* @todo Implement testPrefix_list().
*/
public function testPrefix_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::check_login
* @todo Implement testCheck_login().
*/
public function testCheck_login()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::select_prefix_list
* @todo Implement testSelect_prefix_list().
*/
public function testSelect_prefix_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::put_ftp_details
* @todo Implement testPut_ftp_details().
*/
public function testPut_ftp_details()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::delete_ftp
* @todo Implement testDelete_ftp().
*/
public function testDelete_ftp()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::add_ftp
* @todo Implement testAdd_ftp().
*/
public function testAdd_ftp()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::is_ftp
* @todo Implement testIs_ftp().
*/
public function testIs_ftp()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::alternc_del_domain
* @todo Implement testAlternc_del_domain().
*/
public function testAlternc_del_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::alternc_del_member
* @todo Implement testAlternc_del_member().
*/
public function testAlternc_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::hook_quota_get
* @todo Implement testHook_quota_get().
*/
public function testHook_quota_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_ftp::hook_upnp_list
* @todo Implement testHook_upnp_list().
*/
public function testHook_upnp_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_hooksTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_hooks
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_hooks;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_hooks::invoke
* @todo Implement testInvoke().
*/
public function testInvoke()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hooks::invoke_scripts
* @todo Implement testInvoke_scripts().
*/
public function testInvoke_scripts()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,172 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_htaTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_hta
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_hta;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_hta::m_webaccess
* @todo Implement testM_webaccess().
*/
public function testM_webaccess()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::alternc_password_policy
* @todo Implement testAlternc_password_policy().
*/
public function testAlternc_password_policy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::CreateDir
* @todo Implement testCreateDir().
*/
public function testCreateDir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::ListDir
* @todo Implement testListDir().
*/
public function testListDir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::is_protected
* @todo Implement testIs_protected().
*/
public function testIs_protected()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::get_hta_detail
* @todo Implement testGet_hta_detail().
*/
public function testGet_hta_detail()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::DelDir
* @todo Implement testDelDir().
*/
public function testDelDir()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::add_user
* @todo Implement testAdd_user().
*/
public function testAdd_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::del_user
* @todo Implement testDel_user().
*/
public function testDel_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::change_pass
* @todo Implement testChange_pass().
*/
public function testChange_pass()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_hta::_reading_htaccess
* @todo Implement test_reading_htaccess().
*/
public function test_reading_htaccess()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,88 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_logTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_log
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_log;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_log::list_logs_directory
* @todo Implement testList_logs_directory().
*/
public function testList_logs_directory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_log::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_log::list_logs_directory_all
* @todo Implement testList_logs_directory_all().
*/
public function testList_logs_directory_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_log::get_logs_directory
* @todo Implement testGet_logs_directory().
*/
public function testGet_logs_directory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_log::download_link
* @todo Implement testDownload_link().
*/
public function testDownload_link()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,88 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_lxcTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_lxc
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_lxc;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_lxc::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_lxc::hook_admin_del_member
* @todo Implement testHook_admin_del_member().
*/
public function testHook_admin_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_lxc::start
* @todo Implement testStart().
*/
public function testStart()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_lxc::getvm
* @todo Implement testGetvm().
*/
public function testGetvm()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_lxc::stop
* @todo Implement testStop().
*/
public function testStop()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,436 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
*/
class m_mailTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_mail
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_mail;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_mail::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::get_total_size_for_domain
* @todo Implement testGet_total_size_for_domain().
*/
public function testGet_total_size_for_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::catchall_getinfos
* @todo Implement testCatchall_getinfos().
*/
public function testCatchall_getinfos()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::catchall_del
* @todo Implement testCatchall_del().
*/
public function testCatchall_del()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::catchall_set
* @todo Implement testCatchall_set().
*/
public function testCatchall_set()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_quota_get
* @todo Implement testHook_quota_get().
*/
public function testHook_quota_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::alternc_password_policy
* @todo Implement testAlternc_password_policy().
*/
public function testAlternc_password_policy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::enum_domains
* @todo Implement testEnum_domains().
*/
public function testEnum_domains()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::available
* @todo Implement testAvailable().
*/
public function testAvailable()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::enum_domain_mails
* @todo Implement testEnum_domain_mails().
*/
public function testEnum_domain_mails()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_mail_get_details
* @todo Implement testHook_mail_get_details().
*/
public function testHook_mail_get_details()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::create
* @todo Implement testCreate().
*/
public function testCreate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::get_details
* @todo Implement testGet_details().
*/
public function testGet_details()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::is_it_my_mail
* @todo Implement testIs_it_my_mail().
*/
public function testIs_it_my_mail()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_dom_del_mx_domain
* @todo Implement testHook_dom_del_mx_domain().
*/
public function testHook_dom_del_mx_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::get_account_by_mail_id
* @todo Implement testGet_account_by_mail_id().
*/
public function testGet_account_by_mail_id()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::delete
* @todo Implement testDelete().
*/
public function testDelete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::undelete
* @todo Implement testUndelete().
*/
public function testUndelete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::set_passwd
* @todo Implement testSet_passwd().
*/
public function testSet_passwd()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::enable
* @todo Implement testEnable().
*/
public function testEnable()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::disable
* @todo Implement testDisable().
*/
public function testDisable()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::set_details
* @todo Implement testSet_details().
*/
public function testSet_details()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::add_wrapper
* @todo Implement testAdd_wrapper().
*/
public function testAdd_wrapper()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::create_alias
* @todo Implement testCreate_alias().
*/
public function testCreate_alias()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::del_wrapper
* @todo Implement testDel_wrapper().
*/
public function testDel_wrapper()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::enum_slave_account
* @todo Implement testEnum_slave_account().
*/
public function testEnum_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::check_slave_account
* @todo Implement testCheck_slave_account().
*/
public function testCheck_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::echo_domain_list
* @todo Implement testEcho_domain_list().
*/
public function testEcho_domain_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::add_slave_account
* @todo Implement testAdd_slave_account().
*/
public function testAdd_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::del_slave_account
* @todo Implement testDel_slave_account().
*/
public function testDel_slave_account()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_dom_add_slave_domain
* @todo Implement testHook_dom_add_slave_domain().
*/
public function testHook_dom_add_slave_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_dom_add_mx_domain
* @todo Implement testHook_dom_add_mx_domain().
*/
public function testHook_dom_add_mx_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mail::hook_upnp_list
* @todo Implement testHook_upnp_list().
*/
public function testHook_upnp_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,316 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
*/
class m_memTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_mem
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_mem;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_mem::alternc_password_policy
* @todo Implement testAlternc_password_policy().
*/
public function testAlternc_password_policy()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::checkright
* @todo Implement testCheckright().
*/
public function testCheckright()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::login
* @todo Implement testLogin().
*/
public function testLogin()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::setid
* @todo Implement testSetid().
*/
public function testSetid()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::resetlast
* @todo Implement testResetlast().
*/
public function testResetlast()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::authip_token
* @todo Implement testAuthip_token().
*/
public function testAuthip_token()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::authip_tokencheck
* @todo Implement testAuthip_tokencheck().
*/
public function testAuthip_tokencheck()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::checkid
* @todo Implement testCheckid().
*/
public function testCheckid()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::su
* @todo Implement testSu().
*/
public function testSu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::unsu
* @todo Implement testUnsu().
*/
public function testUnsu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::del_session
* @todo Implement testDel_session().
*/
public function testDel_session()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::passwd
* @todo Implement testPasswd().
*/
public function testPasswd()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::adminpref
* @todo Implement testAdminpref().
*/
public function testAdminpref()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::send_pass
* @todo Implement testSend_pass().
*/
public function testSend_pass()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::ChangeMail1
* @todo Implement testChangeMail1().
*/
public function testChangeMail1()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::ChangeMail2
* @todo Implement testChangeMail2().
*/
public function testChangeMail2()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::set_help_param
* @todo Implement testSet_help_param().
*/
public function testSet_help_param()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::get_help_param
* @todo Implement testGet_help_param().
*/
public function testGet_help_param()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::show_help
* @todo Implement testShow_help().
*/
public function testShow_help()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::get_creator_by_uid
* @todo Implement testGet_creator_by_uid().
*/
public function testGet_creator_by_uid()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::session_tempo_params_get
* @todo Implement testSession_tempo_params_get().
*/
public function testSession_tempo_params_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_mem::session_tempo_params_set
* @todo Implement testSession_tempo_params_set().
*/
public function testSession_tempo_params_set()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,64 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
*/
class m_menuTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_menu
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_menu;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_menu::getmenu
* @todo Implement testGetmenu().
*/
public function testGetmenu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_menu::order_menu
* @todo Implement testOrder_menu().
*/
public function testOrder_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_menu::system_menu
* @todo Implement testSystem_menu().
*/
public function testSystem_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,352 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
*/
class m_piwikTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_piwik
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_piwik;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_piwik::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::hook_admin_del_member
* @todo Implement testHook_admin_del_member().
*/
public function testHook_admin_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::hook_quota_get
* @todo Implement testHook_quota_get().
*/
public function testHook_quota_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::url
* @todo Implement testUrl().
*/
public function testUrl()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_add
* @todo Implement testUser_add().
*/
public function testUser_add()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_edit
* @todo Implement testUser_edit().
*/
public function testUser_edit()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_site_access
* @todo Implement testGet_site_access().
*/
public function testGet_site_access()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_users_access_from_site
* @todo Implement testGet_users_access_from_site().
*/
public function testGet_users_access_from_site()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_user
* @todo Implement testGet_user().
*/
public function testGet_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_alternc_users
* @todo Implement testGet_alternc_users().
*/
public function testGet_alternc_users()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_delete
* @todo Implement testUser_delete().
*/
public function testUser_delete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::users_list
* @todo Implement testUsers_list().
*/
public function testUsers_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_checkremote
* @todo Implement testUser_checkremote().
*/
public function testUser_checkremote()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_remoteauth
* @todo Implement testUser_remoteauth().
*/
public function testUser_remoteauth()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::user_access
* @todo Implement testUser_access().
*/
public function testUser_access()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_list
* @todo Implement testSite_list().
*/
public function testSite_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_js_tag
* @todo Implement testSite_js_tag().
*/
public function testSite_js_tag()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_alternc_sites
* @todo Implement testGet_alternc_sites().
*/
public function testGet_alternc_sites()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::get_site_list
* @todo Implement testGet_site_list().
*/
public function testGet_site_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_add
* @todo Implement testSite_add().
*/
public function testSite_add()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_delete
* @todo Implement testSite_delete().
*/
public function testSite_delete()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_set_user_right
* @todo Implement testSite_set_user_right().
*/
public function testSite_set_user_right()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::site_alias_add
* @todo Implement testSite_alias_add().
*/
public function testSite_alias_add()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::clean_user_name
* @todo Implement testClean_user_name().
*/
public function testClean_user_name()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::dev
* @todo Implement testDev().
*/
public function testDev()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::call_page
* @todo Implement testCall_page().
*/
public function testCall_page()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_piwik::call_privileged_page
* @todo Implement testCall_privileged_page().
*/
public function testCall_privileged_page()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,520 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
*/
class m_quotaTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_quota
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_quota;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_quota::hook_menu
* @todo Implement testHook_menu().
*/
public function testHook_menu()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::cancreate
* @todo Implement testCancreate().
*/
public function testCancreate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::qlist
* @todo Implement testQlist().
*/
public function testQlist()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::synchronise_user_profile
* @todo Implement testSynchronise_user_profile().
*/
public function testSynchronise_user_profile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::create_missing_quota_profile
* @todo Implement testCreate_missing_quota_profile().
*/
public function testCreate_missing_quota_profile()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::getquota
* @todo Implement testGetquota().
*/
public function testGetquota()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::setquota
* @todo Implement testSetquota().
*/
public function testSetquota()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::delquotas
* @todo Implement testDelquotas().
*/
public function testDelquotas()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::getdefaults
* @todo Implement testGetdefaults().
*/
public function testGetdefaults()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::setdefaults
* @todo Implement testSetdefaults().
*/
public function testSetdefaults()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::addtype
* @todo Implement testAddtype().
*/
public function testAddtype()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::listtype
* @todo Implement testListtype().
*/
public function testListtype()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::deltype
* @todo Implement testDeltype().
*/
public function testDeltype()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::addquotas
* @todo Implement testAddquotas().
*/
public function testAddquotas()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::display_val
* @todo Implement testDisplay_val().
*/
public function testDisplay_val()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::_get_sum_sql
* @todo Implement test_get_sum_sql().
*/
public function test_get_sum_sql()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::_get_count_sql
* @todo Implement test_get_count_sql().
*/
public function test_get_count_sql()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::_get_size_and_record_sql
* @todo Implement test_get_size_and_record_sql().
*/
public function test_get_size_and_record_sql()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_web_sum_all
* @todo Implement testGet_size_web_sum_all().
*/
public function testGet_size_web_sum_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_web_sum_user
* @todo Implement testGet_size_web_sum_user().
*/
public function testGet_size_web_sum_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mail_sum_all
* @todo Implement testGet_size_mail_sum_all().
*/
public function testGet_size_mail_sum_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mail_sum_domain
* @todo Implement testGet_size_mail_sum_domain().
*/
public function testGet_size_mail_sum_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mail_count_all
* @todo Implement testGet_size_mail_count_all().
*/
public function testGet_size_mail_count_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mail_count_domain
* @todo Implement testGet_size_mail_count_domain().
*/
public function testGet_size_mail_count_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mail_details_domain
* @todo Implement testGet_size_mail_details_domain().
*/
public function testGet_size_mail_details_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_sum_all
* @todo Implement testGet_size_mailman_sum_all().
*/
public function testGet_size_mailman_sum_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_sum_domain
* @todo Implement testGet_size_mailman_sum_domain().
*/
public function testGet_size_mailman_sum_domain()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_sum_user
* @todo Implement testGet_size_mailman_sum_user().
*/
public function testGet_size_mailman_sum_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_count_all
* @todo Implement testGet_size_mailman_count_all().
*/
public function testGet_size_mailman_count_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_count_user
* @todo Implement testGet_size_mailman_count_user().
*/
public function testGet_size_mailman_count_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_mailman_details_user
* @todo Implement testGet_size_mailman_details_user().
*/
public function testGet_size_mailman_details_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_db_sum_all
* @todo Implement testGet_size_db_sum_all().
*/
public function testGet_size_db_sum_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_db_sum_user
* @todo Implement testGet_size_db_sum_user().
*/
public function testGet_size_db_sum_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_db_count_all
* @todo Implement testGet_size_db_count_all().
*/
public function testGet_size_db_count_all()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_db_count_user
* @todo Implement testGet_size_db_count_user().
*/
public function testGet_size_db_count_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_db_details_user
* @todo Implement testGet_size_db_details_user().
*/
public function testGet_size_db_details_user()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::get_size_unit
* @todo Implement testGet_size_unit().
*/
public function testGet_size_unit()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::quota_displaybar
* @todo Implement testQuota_displaybar().
*/
public function testQuota_displaybar()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::hook_admin_del_member
* @todo Implement testHook_admin_del_member().
*/
public function testHook_admin_del_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::hook_admin_add_member
* @todo Implement testHook_admin_add_member().
*/
public function testHook_admin_add_member()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_quota::alternc_export_conf
* @todo Implement testAlternc_export_conf().
*/
public function testAlternc_export_conf()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,148 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:59.
*/
class m_variablesTest extends PHPUnit_Framework_TestCase
{
/**
* @var m_variables
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_variables;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_variables::variable_init
* @todo Implement testVariable_init().
*/
public function testVariable_init()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::get_impersonated
* @todo Implement testGet_impersonated().
*/
public function testGet_impersonated()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_init_maybe
* @todo Implement testVariable_init_maybe().
*/
public function testVariable_init_maybe()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_get
* @todo Implement testVariable_get().
*/
public function testVariable_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_update_or_create
* @todo Implement testVariable_update_or_create().
*/
public function testVariable_update_or_create()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::del
* @todo Implement testDel().
*/
public function testDel()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::display_valueraw_html
* @todo Implement testDisplay_valueraw_html().
*/
public function testDisplay_valueraw_html()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::display_value_html
* @todo Implement testDisplay_value_html().
*/
public function testDisplay_value_html()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variables_list_name
* @todo Implement testVariables_list_name().
*/
public function testVariables_list_name()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variables_list
* @todo Implement testVariables_list().
*/
public function testVariables_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}

View File

@ -0,0 +1,156 @@
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:43:12.
*/
class m_variablesTest extends AlterncTest
{
function getConnection(){
}
function getDataSet(){
}
/**
* @var m_variables
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new m_variables;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers m_variables::variable_init
* @todo Implement testVariable_init().
*/
public function testVariable_init()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::get_impersonated
* @todo Implement testGet_impersonated().
*/
public function testGet_impersonated()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_init_maybe
* @todo Implement testVariable_init_maybe().
*/
public function testVariable_init_maybe()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_get
* @todo Implement testVariable_get().
*/
public function testVariable_get()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variable_update_or_create
* @todo Implement testVariable_update_or_create().
*/
public function testVariable_update_or_create()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::del
* @todo Implement testDel().
*/
public function testDel()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::display_valueraw_html
* @todo Implement testDisplay_valueraw_html().
*/
public function testDisplay_valueraw_html()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::display_value_html
* @todo Implement testDisplay_value_html().
*/
public function testDisplay_value_html()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variables_list_name
* @todo Implement testVariables_list_name().
*/
public function testVariables_list_name()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers m_variables::variables_list
* @todo Implement testVariables_list().
*/
public function testVariables_list()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}