aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-22 19:36:09 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-23 16:18:33 +0200
commitee35d07b1a86819991b5d44a1cc93b1334ba0215 (patch)
treebd651c111eb187b2a3b1948a1d549afecfa113d7 /sonar-server/src/main/resources
parent08ac15573ac5fdbcf071f598dd24c3cd0b2e238b (diff)
downloadsonarqube-ee35d07b1a86819991b5d44a1cc93b1334ba0215.tar.gz
sonarqube-ee35d07b1a86819991b5d44a1cc93b1334ba0215.zip
SONAR-5338 Create a WS /api/tests/show returning the list of test cases from test plan
Diffstat (limited to 'sonar-server/src/main/resources')
-rw-r--r--sonar-server/src/main/resources/org/sonar/server/test/ws/tests-example-show.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-server/src/main/resources/org/sonar/server/test/ws/tests-example-show.json b/sonar-server/src/main/resources/org/sonar/server/test/ws/tests-example-show.json
new file mode 100644
index 00000000000..fd6076387e6
--- /dev/null
+++ b/sonar-server/src/main/resources/org/sonar/server/test/ws/tests-example-show.json
@@ -0,0 +1,16 @@
+{
+ "tests": [
+ {
+ "name": "find_by_params",
+ "status": "OK",
+ "durationInMs": 10,
+ "coveredLines" : 89
+ },
+ {
+ "name": "find_rules_by_characteristics",
+ "status": "ERROR",
+ "durationInMs": 97,
+ "coveredLines" : 0
+ }
+ ]
+}