|
noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
|
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 | |
| display_test ($title, $gDossierLogInput, $aHtml_files) | |
| get_card_with_activity () | |
| Return the card this most activities. | |
| retrieve_files ($directory) | |
Variables | |
| global | $aAvaible_module |
| global | $cn =Dossier::connect() |
| $description =$http->get("description","string", "aucune description") | |
| $directory =NOALYSS_BASE."/scenario" | |
| $end_mem =memory_get_usage() | |
| $end_time =microtime(true) | |
| $folder =scandir($directory) | |
| global | $g_failed |
| $g_parameter =new Noalyss_Parameter_Folder($cn) | |
| global | $g_succeed |
| global | $g_user =new Noalyss_user($cn) |
| if(ini_get('zend.assertions') !=1) | $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") | |
| $min =$cn->get_value("select p_id from parm_periode order by p_start asc limit 1") | |
| $nb_folder =count($folder) | |
| $script =$http->request('script', "string",'') | |
| $start_time =microtime(true) | |
| const | ALLOWED (!file_exists('authorized_debug')) 1 |
| if( $script=="") else if($script=='all') | else |
| const | TEST_UNIT 1 |
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.
| display_test | ( | $title, | |
| $gDossierLogInput, | |||
| $aHtml_files ) |
Definition at line 141 of file test.php.
References $e, $gDossierLogInput, $title, and h1().
Here is the call graph for this function:| get_card_with_activity | ( | ) |
| retrieve_files | ( | $directory | ) |
Definition at line 111 of file test.php.
References $description, $directory, $w, and noalyss_str_replace().
Here is the call graph for this function:| $description =$http->get("description","string", "aucune description") |
| $directory =NOALYSS_BASE."/scenario" |
Definition at line 75 of file test.php.
Referenced by retrieve_files(), and Noalyss\Widget\Widget\scanfolder().
| $folder =scandir($directory) |
Definition at line 76 of file test.php.
Referenced by Noalyss_Appearance\print_css().
| $g_parameter =new Noalyss_Parameter_Folder($cn) |
| if (ini_get( 'zend.assertions') !=1) $gDossier =$http->request('gDossier',"number", -1) |
| $nb_folder =count($folder) |
Definition at line 77 of file test.php.
Referenced by Dossier\count().
| const ALLOWED(!file_exists( 'authorized_debug')) | ( | ! | file_exists 'authorized_debug' | ) | 1 |