aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/test
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-05-27 13:48:54 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-05-27 13:48:54 +0200
commit59193935832caf91e534a46b523593cc9dcc4ba8 (patch)
tree7d312cf70a0db60342aed953ae09a16f9a870d41 /sonar-ws-client/src/test
parent611d41623a6f32a9d0e9371cc4e61114ea682162 (diff)
downloadsonarqube-59193935832caf91e534a46b523593cc9dcc4ba8.tar.gz
sonarqube-59193935832caf91e534a46b523593cc9dcc4ba8.zip
SONAR-4301 Remove securityExclusions parameter
Diffstat (limited to 'sonar-ws-client/src/test')
-rw-r--r--sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueParserTest.java2
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/empty.json2
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-comments.json1
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-components.json1
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-projects.json1
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-users.json1
-rw-r--r--sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/search.json1
7 files changed, 2 insertions, 7 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueParserTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueParserTest.java
index 82dd222875d..7f0a76ecb4d 100644
--- a/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueParserTest.java
+++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueParserTest.java
@@ -78,7 +78,6 @@ public class IssueParserTest {
assertThat(paging.pages()).isEqualTo(1);
assertThat(paging.total()).isEqualTo(2);
- assertThat(issues.securityExclusions()).isTrue();
assertThat(issues.maxResultsReached()).isTrue();
}
@@ -89,6 +88,7 @@ public class IssueParserTest {
assertThat(issues).isNotNull();
assertThat(issues.list()).isEmpty();
assertThat(issues.rules()).isEmpty();
+ assertThat(issues.maxResultsReached()).isFalse();
}
@Test
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/empty.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/empty.json
index 8f05e1953b7..b3712e0d503 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/empty.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/empty.json
@@ -5,5 +5,5 @@
"total": 0,
"pages": 0
},
- "securityExclusions": true
+ "maxResultsReached": false
} \ No newline at end of file
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-comments.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-comments.json
index 4378189dbba..5118aaee009 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-comments.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-comments.json
@@ -38,6 +38,5 @@
"total": 2,
"pages": 1
},
- "securityExclusions": true,
"maxResultsReached": false
} \ No newline at end of file
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-components.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-components.json
index 37711422340..2f331712d3c 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-components.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-components.json
@@ -46,6 +46,5 @@
"total": 2,
"pages": 1
},
- "securityExclusions": true,
"maxResultsReached": false
} \ No newline at end of file
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-projects.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-projects.json
index c999362047b..a5e4ea7cd9d 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-projects.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-projects.json
@@ -54,6 +54,5 @@
"total": 2,
"pages": 1
},
- "securityExclusions": true,
"maxResultsReached": false
} \ No newline at end of file
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-users.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-users.json
index 32d3a8e323f..7d8bc6586a4 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-users.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/issue-with-users.json
@@ -52,6 +52,5 @@
"total": 2,
"pages": 1
},
- "securityExclusions": true,
"maxResultsReached": false
} \ No newline at end of file
diff --git a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/search.json b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/search.json
index 6931c7de92b..55ff5e79e53 100644
--- a/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/search.json
+++ b/sonar-ws-client/src/test/resources/org/sonar/wsclient/issue/IssueParserTest/search.json
@@ -51,6 +51,5 @@
"total": 2,
"pages": 1
},
- "securityExclusions": true,
"maxResultsReached": true
} \ No newline at end of file