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( )
public
# message_class( string $class , string $confirmation = 'Hello!' )
ER wrapper
public
# sleep( int $time = 10 )
Sleep backend for duration
public
# now( )
Get locale-specific time
public
public
# metrics( string $attr = NULL )
public
# sigchld_exit( int $code , bool $backend = true )
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
public $exportedFunctions
# array ( '*' => 15, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id