Package org.sonar.api.server.ws

Examples of org.sonar.api.server.ws.Response


    sut = new UploadReportAction(queue, computationService, analysisTaskLauncher);
  }

  @Test
  public void verify_that_computation_service_is_called() throws Exception {
    Response response = mock(Response.class);
    Request request = mock(Request.class);
    when(request.mandatoryParam(UploadReportAction.PARAM_PROJECT_KEY)).thenReturn(DEFAULT_PROJECT_KEY);
    when(request.mandatoryParam(UploadReportAction.PARAM_SNAPSHOT)).thenReturn("123");

    sut.handle(request, response);
View Full Code Here

TOP

Related Classes of org.sonar.api.server.ws.Response

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.