Search in sources :

Example 6 with InternalGroupCreation

use of com.google.gerrit.server.group.db.InternalGroupCreation in project gerrit by GerritCodeReview.

the class GroupsUpdateIT method createGroup.

private void createGroup(String groupName, String groupUuid) throws Exception {
    InternalGroupCreation groupCreation = getGroupCreation(groupName, groupUuid);
    GroupDelta groupDelta = GroupDelta.builder().build();
    createGroup(groupCreation, groupDelta);
}
Also used : GroupDelta(com.google.gerrit.server.group.db.GroupDelta) InternalGroupCreation(com.google.gerrit.server.group.db.InternalGroupCreation)

Aggregations

GroupDelta (com.google.gerrit.server.group.db.GroupDelta)6 InternalGroupCreation (com.google.gerrit.server.group.db.InternalGroupCreation)6 InternalGroup (com.google.gerrit.entities.InternalGroup)2 AccountGroup (com.google.gerrit.entities.AccountGroup)1 DuplicateKeyException (com.google.gerrit.exceptions.DuplicateKeyException)1 IdString (com.google.gerrit.extensions.restapi.IdString)1 ResourceConflictException (com.google.gerrit.extensions.restapi.ResourceConflictException)1 Test (org.junit.Test)1