aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-15 14:21:53 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-15 14:24:41 +0100
commit64e8703cfc220853e128113b07bd13e7ae27331c (patch)
tree6e0c6d8c8c09b7026aef26f6b3db4b8fe3e23102 /it
parente1700f3dc7d4b52d62d0ac707eeeaace0f5ad772 (diff)
downloadsonarqube-64e8703cfc220853e128113b07bd13e7ae27331c.tar.gz
sonarqube-64e8703cfc220853e128113b07bd13e7ae27331c.zip
SONAR-7319 WS api/ce/task_types add IT
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/ce/CeWsTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/it/it-tests/src/test/java/it/ce/CeWsTest.java b/it/it-tests/src/test/java/it/ce/CeWsTest.java
index 8fa6df6e544..ef82dec5087 100644
--- a/it/it-tests/src/test/java/it/ce/CeWsTest.java
+++ b/it/it-tests/src/test/java/it/ce/CeWsTest.java
@@ -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);
+ }
}