Package org.sonar.api.server.ws.internal

Examples of org.sonar.api.server.ws.internal.SimpleGetRequest


    assertThat(options.hasField("repo")).isFalse();
  }

  @Test
  public void write_statistics_to_json_response() throws Exception {
    SimpleGetRequest request = new SimpleGetRequest();
    request.setParam("p", "3");
    request.setParam("ps", "10");
    request.setParam("f", "name,repo");
    request.setParam("severities", "BLOCKER");

    SearchOptions options = SearchOptions.create(request);
    StringWriter json = new StringWriter();
    JsonWriter jsonWriter = JsonWriter.of(json).beginObject();
    Result result = mock(Result.class);
View Full Code Here

TOP

Related Classes of org.sonar.api.server.ws.internal.SimpleGetRequest

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.