noalyss Version-9
|
this file let you debug and test the different functionnalities, there are 2 important things to do It is only a quick and dirty testing. You should use a tool as PHPUNIT for the unit testing More...
Go to the source code of this file.
Functions | |
get_card_with_activity () | |
Return the card this most activities. More... | |
my_assert_handler ($file, $line, $code) | |
Variables | |
global | $cn =Dossier::connect() |
$cnt_scenario =0 | |
$description =$http->get("description","string", "aucune description") | |
$end_mem =memory_get_usage() | |
$end_time =microtime(true) | |
global | $g_failed |
$g_parameter =new Noalyss_Parameter_Folder($cn) | |
global | $g_succeed |
global | $g_user =new Noalyss_user($cn) |
$gDossier =$http->request('gDossier',"number", -1) | |
if($gDossier==-1) | $gDossierLogInput =$gDossier |
global | $http =new HttpInput() |
$max =$cn->get_value("select p_id from parm_periode order by p_start desc limit 1") | |
$maxscan =count($scan) | |
$min =$cn->get_value("select p_id from parm_periode order by p_start asc limit 1") | |
$scan =scandir('../scenario/') | |
$scenario =array() | |
for($e_scan=0; $e_scan< $maxscan; $e_scan++) | $script =$http->request('script', "string",'') |
$start_time =microtime(true) | |
const | ALLOWED (!file_exists('authorized_debug')) 1 |
if( $script=="") else if($script=='all') | else |
this file let you debug and test the different functionnalities, there are 2 important things to do It is only a quick and dirty testing. You should use a tool as PHPUNIT for the unit testing
Definition in file test.php.
get_card_with_activity | ( | ) |
Return the card this most activities.
Definition at line 89 of file test.php.
References $cn.
my_assert_handler | ( | $file, | |
$line, | |||
$code | |||
) |
$cn =Dossier::connect() |
Definition at line 54 of file test.php.
Referenced by get_card_with_activity().
$description =$http->get("description","string", "aucune description") |
$g_parameter =new Noalyss_Parameter_Folder($cn) |
const ALLOWED(!file_exists( 'authorized_debug')) | ( | ! | file_exists 'authorized_debug' | ) | 1 |