Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| etudiants:2014:bertrand:bugreport4 [2013/12/12 09:46] – [4- Vues] romain | etudiants:2014:bertrand:bugreport4 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | < | ||
| ====== BugReport : plateforme de remontée d' | ====== BugReport : plateforme de remontée d' | ||
| + | |||
| + | <WRAP center round box 60%> | ||
| + | **__Documentations techniques - Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - Soumettre un report | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | |||
| + | **__Documentations de supports- Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | |||
| + | **__Documentations de tests - Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | </ | ||
| ===== Soumettre un rapport ===== | ===== Soumettre un rapport ===== | ||
| Ligne 88: | Ligne 107: | ||
| </ | </ | ||
| - | <WRAP center round box 60%> | + | === 5.2 cReport/ |
| - | **__Documentation technique - Sommaire :__** | + | |
| - | - [[etudiants:2014:bertrand:bugreport|Gestion | + | |< 100% 30% 70% >| |
| - | - [[etudiants:2014:bertrand:bugreport2|Gestion des applications]] | + | ^Fonctionnalité ^Descriptif ^ |
| - | - [[etudiants:2014:bertrand:bugreport3|Gestion | + | | Liste des applications | **Utilisé pour l' |
| - | - Soumettre | + | |::: | < |
| - | - [[etudiants:2014:bertrand:bugreport5|Gestion des Droits]] | + | < |
| - | </WRAP> | + | </ |
| + | |::: | < | ||
| + | |||
| + | <sxh php; | ||
| + | public function refresh(){ | ||
| + | |||
| + | $appli="< | ||
| + | $applications=DAO:: | ||
| + | foreach($applications AS $apps){ | ||
| + | $appli.="< | ||
| + | } | ||
| + | |||
| + | $js=JsUtils::postAndBindTo("# | ||
| + | $js.=JsUtils:: | ||
| + | |||
| + | echo JsUtils:: | ||
| + | echo JsUtils:: | ||
| + | echo JsUtils:: | ||
| + | |||
| + | $this-> | ||
| + | } | ||
| + | |||
| + | public function useCase($params){ | ||
| + | $use=''; | ||
| + | |||
| + | foreach ($params AS $idApplication) | ||
| + | { | ||
| + | $condition=" | ||
| + | $useCase=DAO:: | ||
| + | foreach ($useCase AS $usecase){ | ||
| + | $use.="< | ||
| + | } | ||
| + | } | ||
| + | echo $use; | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 5.3 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Liste des cas d' | ||
| + | |::: | < | ||
| + | < | ||
| + | <div class=" | ||
| + | </ | ||
| + | |::: | < | ||
| + | |||
| + | <sxh php; | ||
| + | public function useCase($params){ | ||
| + | $use=''; | ||
| + | |||
| + | foreach ($params AS $idApplication) | ||
| + | { | ||
| + | $condition=" | ||
| + | $useCase=DAO:: | ||
| + | foreach ($useCase AS $usecase){ | ||
| + | $use.="< | ||
| + | } | ||
| + | } | ||
| + | echo $use; | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 5.4 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Enregistre | ||
| + | |::: | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | </ | ||
| + | |||
| + | <sxh php; | ||
| + | public function submitReport(){ | ||
| + | |||
| + | if($_SERVER[' | ||
| + | |||
| + | $searchEngine=new SearchEngine(); | ||
| + | |||
| + | $idApplication=$_POST[' | ||
| + | $idUseCase=$_POST[' | ||
| + | $systemMessage=$_POST[' | ||
| + | $userAction=$_POST[' | ||
| + | $description=$_POST[' | ||
| + | |||
| + | if(isset($_POST[' | ||
| + | $autreUseCase=$_POST[' | ||
| + | } | ||
| + | |||
| + | $systemMessage=$searchEngine-> | ||
| + | $userAction=$searchEngine-> | ||
| + | $description=$searchEngine-> | ||
| + | |||
| + | $user=$_SESSION[' | ||
| + | foreach ($user AS $info){ | ||
| + | $idUtilisateur=$info-> | ||
| + | } | ||
| + | |||
| + | $report=new Report(); | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | |||
| + | $reportTest=DAO:: | ||
| + | |||
| + | $retour=FALSE; | ||
| + | foreach ($reportTest AS $value){ | ||
| + | if($searchEngine-> | ||
| + | $retour=TRUE; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | if(!$retour){ | ||
| + | if(DAO:: | ||
| + | echo "< | ||
| + | }else{ | ||
| + | echo "< | ||
| + | } | ||
| + | }else{ | ||
| + | echo "< | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </sxh> | ||