java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHTeamTest
The Class GHTeamTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the remove member.void
Gets the members.void
List members.void
List members admin.void
List members no match.void
Test fail to connect to external group from other organization.void
Test connect to external group by id.void
Test delete connection to external groupvoid
Test failure when connecting to external group by id.void
Test failure when connecting to external group by id.void
Test fetch child teams.void
Test fetch empty child teams.void
Test get external groups.void
Test get external groups from not enterprise managed organization.void
Test get external groups from team that cannot be externally managed.void
Test set description.void
Test set privacy.Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
Constructor Details
-
GHTeamTest
public GHTeamTest()Create default GHTeamTest instance
-
-
Method Details
-
testSetDescription
Test set description.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getMembers
Gets the members.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
listMembers
List members.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
listMembersAdmin
List members admin.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
listMembersNoMatch
List members no match.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testSetPrivacy
Test set privacy.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testFetchChildTeams
Test fetch child teams.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testFetchEmptyChildTeams
Test fetch empty child teams.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
addRemoveMember
Adds the remove member.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGetExternalGroups
Test get external groups.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGetExternalGroupsNotEnterpriseManagedOrganization
Test get external groups from not enterprise managed organization.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGetExternalGroupsTeamCannotBeExternallyManaged
Test get external groups from team that cannot be externally managed.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testConnectToExternalGroupById
Test connect to external group by id.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testConnectToExternalGroupByGroup
Test fail to connect to external group from other organization.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testFailConnectToExternalGroupWhenTeamHasMembers
Test failure when connecting to external group by id.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testFailConnectToExternalGroupTeamIsNotAvailableInOrg
Test failure when connecting to external group by id.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testDeleteExternalGroupConnection
Test delete connection to external group- Throws:
IOException
- Signals that an I/O exception has occurred.
-