]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7319 WS api/ce/task_types add IT
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Mon, 15 Feb 2016 13:21:53 +0000 (14:21 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Mon, 15 Feb 2016 13:24:41 +0000 (14:24 +0100)
it/it-tests/src/test/java/it/ce/CeWsTest.java

index 8fa6df6e544b173875334795b513a2af0806bc06..ef82dec5087e879b215651982b30a7b801043fce 100644 (file)
@@ -63,4 +63,12 @@ public class CeWsTest {
     WsCe.Task firstTask = response.getTasks(0);
     assertThat(firstTask.getId()).isNotEmpty();
   }
+
+  @Test
+  public void task_types() {
+    WsCe.TaskTypesWsResponse response = wsClient.ce().taskTypes();
+
+    assertThat(response).isNotNull();
+    assertThat(response.getTaskTypesCount()).isGreaterThan(0);
+  }
 }