Commit c377ca4392bfd7bfbd8a639e9984044c03ca7cf0

Authored by Benjamin Renard
1 parent 150096dc
Exists in master

Update tests suite

.gitignore
... ... @@ -6,6 +6,12 @@ COTS/cppunit-1.12.1/
6 6 COTS/file-5.15/
7 7 COTS/gsoap-2.8.17/
8 8 COTS/netcdf-4.3.0/
  9 +COTS/cppcheck-1.63/
  10 +COTS/cpputest-3.5/
  11 +COTS/cslim/
  12 +COTS/sonar-runner-2.3/
  13 +COTS/sonarqube-4.0/
  14 +COTS/valgrind-3.9.0/
9 15 server/kernel/CDPP3DViewSOAPClient/
10 16 server/kernel/CMakeCache.txt
11 17 server/kernel/CMakeFiles/
... ... @@ -22,3 +28,10 @@ server/kernel/test/Fitnesse/requests/request_newop_*.xml
22 28 server/kernel/test/Fitnesse/scripts/fitnesse_*.sh
23 29 server/kernel/test/Sonar/conf/sonar*.properties
24 30 server/kernel/test/Sonar/scripts/sonar_*.sh
  31 +server/kernel/test/Fitnesse/CSlimServer/CMakeCache.txt
  32 +server/kernel/test/Fitnesse/CSlimServer/CMakeFiles/
  33 +server/kernel/test/Fitnesse/CSlimServer/Makefile
  34 +server/kernel/test/Fitnesse/CSlimServer/bin/
  35 +server/kernel/test/Fitnesse/CSlimServer/cmake_install.cmake
  36 +server/kernel/test/Fitnesse/CSlimServer/install_manifest.txt
  37 +server/kernel/test/Sonar/reports/
... ...
server/kernel/test/Fitnesse/CSlimServer/src/TestManager.cpp
... ... @@ -2,6 +2,7 @@
2 2  
3 3 #include <iostream>
4 4 #include <fstream>
  5 +#include <unistd.h>
5 6  
6 7 #include "Toolbox.h"
7 8  
... ...
server/kernel/test/Fitnesse/FitNesseRoot/SuiteTests/LocalAscii/content.txt
... ... @@ -22,13 +22,13 @@ Exportation des résultats de ces opérations.
22 22 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields|Xpath|total|Attribute|8|
23 23 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="0"]|Xpath|type|Attribute|time|
24 24 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="0"]|Xpath|timeformat|Attribute|iso|
25   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="1"]|Xpath|type|Attribute|float|
26   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="2"]|Xpath|type|Attribute|float|
27   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="3"]|Xpath|type|Attribute|float|
28   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="4"]|Xpath|type|Attribute|float|
29   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="5"]|Xpath|type|Attribute|float|
30   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="6"]|Xpath|type|Attribute|float|
31   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="7"]|Xpath|type|Attribute|float|
  25 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="1"]|Xpath|type|Attribute|double|
  26 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="2"]|Xpath|type|Attribute|double|
  27 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="3"]|Xpath|type|Attribute|double|
  28 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="4"]|Xpath|type|Attribute|double|
  29 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="5"]|Xpath|type|Attribute|double|
  30 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="6"]|Xpath|type|Attribute|double|
  31 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="7"]|Xpath|type|Attribute|double|
32 32 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/frames/frame[@id="GSE"]|Xpath|id|Attribute|GSE|
33 33 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/vectors|Xpath|total|Attribute|0|
34 34 |note|!-Recupération de la totalité des données du fichier source-!|
... ... @@ -48,7 +48,7 @@ Exportation des résultats de ces opérations.
48 48 |check|executeRequest|${DATA_DIR}/request_resultinfo.xml|Request|${USE_VALGRIND}|Valgrind|OK|
49 49 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields|Xpath|total|Attribute|2|
50 50 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="TREPS_TIME"]|Xpath|type|Attribute||
51   -|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|float|
  51 +|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|double|
52 52 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]/dimensions/dimension[@id="dim_3"]|Xpath|size|Attribute|3|
53 53 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/frames/frame[@id="GSM"]|Xpath|id|Attribute|GSM|
54 54 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/vectors|Xpath|total|Attribute|1|
... ... @@ -85,9 +85,9 @@ Exportation des résultats de ces opérations.
85 85 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields|Xpath|total|Attribute|4|
86 86 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="0"]|Xpath|type|Attribute|time|
87 87 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="0"]|Xpath|timeformat|Attribute|iso|
88   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="1"]|Xpath|type|Attribute|float|
89   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="2"]|Xpath|type|Attribute|float|
90   -|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="3"]|Xpath|type|Attribute|float|
  88 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="1"]|Xpath|type|Attribute|double|
  89 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="2"]|Xpath|type|Attribute|double|
  90 +|check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/fields/field[@id="3"]|Xpath|type|Attribute|double|
91 91 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/frames/frame[@id="GSE"]|Xpath|id|Attribute|GSE|
92 92 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/vectors|Xpath|total|Attribute|1|
93 93 |check|getResultAttribute|${WORKING_DIR}/result_source_info.xml|File|//info/vectors/vector[@id="v_0"]|Xpath|comp_1|Attribute|1|
... ... @@ -105,7 +105,7 @@ Exportation des résultats de ces opérations.
105 105 |check|executeRequest|${DATA_DIR}/request_resultinfo.xml|Request|${USE_VALGRIND}|Valgrind|OK|
106 106 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields|Xpath|total|Attribute|2|
107 107 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="TREPS_TIME"]|Xpath|type|Attribute||
108   -|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|float|
  108 +|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|double|
109 109 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]/dimensions/dimension[@id="dim_3"]|Xpath|size|Attribute|3|
110 110 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/frames/frame[@id="GSM"]|Xpath|id|Attribute|GSM|
111 111 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/vectors|Xpath|total|Attribute|1|
... ...
server/kernel/test/Fitnesse/FitNesseRoot/SuiteTests/LocalCdf/content.txt
... ... @@ -104,7 +104,7 @@ Exportation des résultats de ces opérations.
104 104 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields|Xpath|total|Attribute|2|
105 105 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="TREPS_TIME"]|Xpath|type|Attribute||
106 106 |check|getResultContent|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="TREPS_TIME"]/name|Xpath|TREPS_TIME|
107   -|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|float|
  107 +|check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]|Xpath|type|Attribute|double|
108 108 |check|getResultAttribute|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]/dimensions/dimension[@id="dim_3"]|Xpath|size|Attribute|3|
109 109 |check|getResultContent|${WORKING_DIR}/result_result_info.xml|File|//info/fields/field[@id="v_0"]/name|Xpath|v_0|
110 110 |note|!-Reset de l'opération-!|
... ...