aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/test/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-22 16:41:02 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-22 16:41:02 +0200
commit8c41e822e3a24b4f2504a15330188ce609d3b573 (patch)
tree0ead9f70d0e88b43715a68020fe26331c4ab917f /sonar-server/src/test/resources
parentd002e2a3a694c7477ca337d45e0025f9402ecfa3 (diff)
downloadsonarqube-8c41e822e3a24b4f2504a15330188ce609d3b573.tar.gz
sonarqube-8c41e822e3a24b4f2504a15330188ce609d3b573.zip
SONAR-5338 When data is coming from the 'test_data' metric, time field can return a float
Diffstat (limited to 'sonar-server/src/test/resources')
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data_with_a_time_in_float.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data_with_a_time_in_float.json b/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data_with_a_time_in_float.json
new file mode 100644
index 00000000000..3f45bdbbe10
--- /dev/null
+++ b/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data_with_a_time_in_float.json
@@ -0,0 +1,9 @@
+{
+ "tests": [
+ {
+ "name": "test1",
+ "status": "OK",
+ "durationInMs": 12
+ }
+ ]
+}