return this;
}
- /**
- * Only valid with one component, do not use in the general case
- * @since 5.0
- */
- public IssueQuery ignorePaging(boolean ignorePaging) {
- params.put("ignorePaging", ignorePaging);
- return this;
- }
-
private IssueQuery addParam(String key, String[] values) {
if (values != null) {
params.put(key, EncodingUtils.toQueryParam(values));
.sort("ASSIGNEE")
.asc(false)
.pageSize(5)
- .pageIndex(4)
- .ignorePaging(true);
+ .pageIndex(4);
- assertThat(query.urlParams()).hasSize(23);
+ assertThat(query.urlParams()).hasSize(22);
assertThat(query.urlParams()).includes(entry("issues", "ABCDE,FGHIJ"));
assertThat(query.urlParams()).includes(entry("assignees", "arthur,perceval"));
assertThat(query.urlParams()).includes(entry("assigned", true));
assertThat(query.urlParams()).includes(entry("asc", false));
assertThat(query.urlParams()).includes(entry("pageSize", 5));
assertThat(query.urlParams()).includes(entry("pageIndex", 4));
- assertThat(query.urlParams()).includes(entry("ignorePaging", true));
}
@Test