Merge "Integration Tests for assignee"

This commit is contained in:
David Pursehouse
2016-09-23 09:00:41 +00:00
committed by Gerrit Code Review
3 changed files with 229 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
package com.google.gerrit.extensions.api.changes;
import com.google.gerrit.extensions.client.ListChangesOption;
import com.google.gerrit.extensions.common.AccountInfo;
import com.google.gerrit.extensions.common.ChangeInfo;
import com.google.gerrit.extensions.common.CommentInfo;
import com.google.gerrit.extensions.common.EditInfo;
@@ -141,6 +142,26 @@ public interface ChangeApi {
*/
Set<String> getHashtags() throws RestApiException;
/**
* Set the assignee of a change.
*/
AccountInfo setAssignee(AssigneeInput input) throws RestApiException;
/**
* Get the assignee of a change.
*/
AccountInfo getAssignee() throws RestApiException;
/**
* Get all past assignees.
*/
Set<AccountInfo> getPastAssignees() throws RestApiException;
/**
* Delete the assignee of a change.
*/
AccountInfo deleteAssignee() throws RestApiException;
/**
* Get all published comments on a change.
*
@@ -328,6 +349,27 @@ public interface ChangeApi {
throw new NotImplementedException();
}
@Override
public AccountInfo setAssignee(AssigneeInput input)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountInfo getAssignee() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Set<AccountInfo> getPastAssignees() throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountInfo deleteAssignee() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<CommentInfo>> comments() throws RestApiException {
throw new NotImplementedException();