Test_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
public
# benchmark_all( int $iterations = 1000, string $testclass = NULL )
Benchmark all callable class methods
public
# exec_named_args( )
Test execution using named arguments
public
# exec_no_args( )
Test execution without named arguments
public
public
# exec_additional_args( )
----------------------------------- crap tested that I forgot to remove -----------------------------------
public
public
# backend_performance( $n = 10000 )
Profile backend performance
public
# benchmark( \Closure|string $func , int $iterations = 1000 )
Benchmark apnscp function
public
# backend_emitter( null $args = '' )
Frontend emitter to evaluate backend performance
public
# backend_collector( null $args = '' )
Backend collector to evaluate performance
public
public
# compare( string $func1 , string $func2 , int $iterations = 1000 )
Comparatively benchmark functions
public
# config( $conf = NULL )
public
# config2( $conf = NULL )
public
# sudo( )
public
# fn_decompose( $cmd )
public
# mail( )
Methods inherited from Module\Skeleton\Standard
__construct(), __wakeup(), autoloadModule(), setUserParameters(), cleanUserParameters(), setSessionId(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), getServices(), getNewServices(), getActiveServices(), getConfig(), getServiceValue(), setConfigJournal(), setConfig(), query(), _resetModule()
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
public $exportedFunctions
# array ( '*' => 10, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql