summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/test/resources/org
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-16 12:54:32 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-16 13:13:23 +0200
commit181d406af1d62e16fa367371ebb0923ae499f373 (patch)
tree53195121e688f7a9824025c30c78c3fbd49e2135 /sonar-server/src/test/resources/org
parent00552fc8c611333fd0d0276d31e8d61c6c4f95ff (diff)
downloadsonarqube-181d406af1d62e16fa367371ebb0923ae499f373.tar.gz
sonarqube-181d406af1d62e16fa367371ebb0923ae499f373.zip
SONAR-5338 Fix UT
Diffstat (limited to 'sonar-server/src/test/resources/org')
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json b/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json
new file mode 100644
index 00000000000..97a9239999b
--- /dev/null
+++ b/sonar-server/src/test/resources/org/sonar/server/test/ws/TestsShowActionTest/show_from_test_data.json
@@ -0,0 +1,16 @@
+{
+ "tests": [
+ {
+ "name": "test1",
+ "status": "OK",
+ "durationInMs": 10
+ },
+ {
+ "name": "test2",
+ "status": "ERROR",
+ "durationInMs": 97,
+ "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"
+ }
+ ]
+}