aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-03 10:10:35 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-06-03 10:19:05 +0200
commit466a1f9f2bb146dc2bea23e96cb1c43e3f914fec (patch)
tree65942372b40f357110d9ca94beb8fcf13704e709 /sonar-server/src/main/resources
parentc8989cbb4309270bf8835bc5c9281e3f8331d16a (diff)
downloadsonarqube-466a1f9f2bb146dc2bea23e96cb1c43e3f914fec.tar.gz
sonarqube-466a1f9f2bb146dc2bea23e96cb1c43e3f914fec.zip
SONAR-5338 Return message and stackTrace when tests are in error
Diffstat (limited to 'sonar-server/src/main/resources')
-rw-r--r--sonar-server/src/main/resources/org/sonar/server/test/ws/tests-example-show.json4
1 files changed, 3 insertions, 1 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
index fd6076387e6..d4a27166e1b 100644
--- 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
@@ -10,7 +10,9 @@
"name": "find_rules_by_characteristics",
"status": "ERROR",
"durationInMs": 97,
- "coveredLines" : 0
+ "coveredLines" : 0,
+ "message": "expected:<true> but was:<false>",
+ "stackTrace" : "java.lang.AssertionError: expected:<true> but was:<false>\n\tat org.junit.Assert.fail(Assert.java:91)\n\tat org.junit.Assert.failNotEquals(Assert.java:645)\n\tat org.junit.Assert.assertEquals(Assert.java:126)\n\tat org.junit.Assert.assertEquals(Assert.java:145)\n\tat sonar.samples.testFailures.moduleA.FailTest.testAWithFailure(FailTest.java:12)\n"
}
]
}