diff options
Diffstat (limited to 'sonar-testing-harness/src')
-rw-r--r-- | sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java b/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java index 4e1c774e74d..568f0b4cb7e 100644 --- a/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java +++ b/sonar-testing-harness/src/main/java/org/sonar/api/server/ws/WsTester.java @@ -26,7 +26,6 @@ import org.sonar.api.utils.text.JsonWriter; import org.sonar.api.utils.text.XmlWriter; import javax.annotation.CheckForNull; - import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; @@ -34,8 +33,6 @@ import java.net.URL; import java.util.HashMap; import java.util.Map; -import static org.fest.assertions.Assertions.assertThat; - /** * @since 4.2 */ @@ -104,6 +101,10 @@ public class WsTester { return mediaType; } + public int status() { + return status; + } + @Override public Response.Stream setMediaType(String s) { this.mediaType = s; |