Project

General

Profile

Tâche #13926

Scénario #12602: Haute-dispo : la variable "service_resource_script" a une valeur par défaut d'une longueur fixe

Faire un test CreoleLint qui détect les problèmes de longueur de slave

Added by Emmanuel GARETTE almost 8 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Start date:
11/05/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Une slave ne devrait pas avoir une liste comme valeur par défaut. CreoleLint devrait remonter une erreur.

99_test.xml View (630 Bytes) Daniel Dehennin, 02/12/2016 09:50 AM

99_test_calc_multi_val.xml View (728 Bytes) Daniel Dehennin, 02/12/2016 09:57 AM

Associated revisions

Revision 8167a95e (diff)
Added by Joël Cuissinat over 7 years ago

Test CreoleLint qui détecte les problèmes de longueur de slave

  • creole/lint/creolelint.py : ajout du test "valid_slave_value"
  • bin/CreoleLint : déclaration du test

Ref: #13926 @2h

History

#1 Updated by Emmanuel GARETTE almost 8 years ago

  • Estimated time set to 2.00 h
  • Remaining (hours) set to 2.0

#2 Updated by Scrum Master over 7 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master over 7 years ago

  • Assigned To set to Fabrice Barconnière

#4 Updated by Joël Cuissinat over 7 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

#5 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#6 Updated by Daniel Dehennin over 7 years ago

  • File 99_test.xml View added
  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Avec le dictionnaire local 99_test.xml en pièce jointe:

CreoleLint -d

DTD Non valide (valid_dtd:ERROR:error)

Lint wrong_dicos_name désactivé (niveau info)

Variable esclave avec une liste en valeur défaut (valid_slave_value:NAME:warning)
 \-- test_slave
[...]

#7 Updated by Daniel Dehennin over 7 years ago

Par contre le <fill name='calc_multi_val' /> n’est pas pris en compte.

Also available in: Atom PDF