diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-07-16 12:28:22 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-07-16 13:03:24 +0200 |
commit | 00552fc8c611333fd0d0276d31e8d61c6c4f95ff (patch) | |
tree | 45bbcab461176d243193e22d829e8a530c02ed15 /server | |
parent | d8f606d1de1b13672f3aee769a7c25f37dc8aa48 (diff) | |
download | sonarqube-00552fc8c611333fd0d0276d31e8d61c6c4f95ff.tar.gz sonarqube-00552fc8c611333fd0d0276d31e8d61c6c4f95ff.zip |
SONAR-5338 Add stacktrace when test_data measure is used
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json b/server/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json index f8832a0f01f..97a9239999b 100644 --- a/server/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json +++ b/server/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json @@ -1,18 +1,16 @@ { -"tests": [ + "tests": [ { "name": "test1", "status": "OK", - "durationInMs": 10, - "coveredLines": 32 + "durationInMs": 10 }, { "name": "test2", "status": "ERROR", "durationInMs": 97, - "coveredLines": 21, "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" + "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" } ] } |