org.sonar.api.server.ws
Class WsTester

java.lang.Object
  extended by org.sonar.api.server.ws.WsTester

public class WsTester
extends Object

Since:
4.2

Nested Class Summary
static class WsTester.Result
           
static class WsTester.TestRequest
           
static class WsTester.TestResponse
           
 
Constructor Summary
WsTester(WebService... webServices)
           
 
Method Summary
 WebService.Context context()
           
 WebService.Controller controller(String path)
           
 WsTester.TestRequest newRequest(String actionKey)
           
 WsTester.TestRequest newRequest(String controllerPath, String actionKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsTester

public WsTester(WebService... webServices)
Method Detail

context

public WebService.Context context()

controller

@CheckForNull
public WebService.Controller controller(String path)

newRequest

public WsTester.TestRequest newRequest(String actionKey)

newRequest

public WsTester.TestRequest newRequest(String controllerPath,
                                       String actionKey)


Copyright © 2009-2014 SonarSource. All Rights Reserved.