Package org.kohsuke.github
Class GHOrganizationTest
java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHOrganizationTest
The Class GHOrganizationTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant GITHUB_API_TEMPLATE_TEST.static final String
The Constant GITHUB_API_TEST.static final String
The Constant TEAM_NAME_CREATE.Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clean up team.void
Test are organization projects enabled.void
Test create all args team.void
Test create repository.void
Test create repository with template repository null.void
Test create repository when repository template is not a template.void
Test create repository with auto initialization.void
Test create repository with parameter is template.void
Test create repository with template.void
Test create repository with template.void
Test create team.void
Test create team with null perm.void
Test create team with repo access.void
Test create team with repo perm.void
Test create team with repo role.void
Test create visible team.void
Test enable organization projects.void
Test invite user.void
Test list members with filter.void
Test list members with role.void
Test list outside collaborators.void
Test list outside collaborators with filter.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
-
Field Details
-
GITHUB_API_TEST
The Constant GITHUB_API_TEST.- See Also:
-
GITHUB_API_TEMPLATE_TEST
The Constant GITHUB_API_TEMPLATE_TEST.- See Also:
-
TEAM_NAME_CREATE
The Constant TEAM_NAME_CREATE.- See Also:
-
-
Constructor Details
-
GHOrganizationTest
public GHOrganizationTest()
-
-
Method Details
-
cleanUpTeam
Clean up team.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepository
Test create repository.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryWithAutoInitialization
Test create repository with auto initialization.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryWithParameterIsTemplate
Test create repository with parameter is template.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryWithTemplate
Test create repository with template.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryWithTemplateAndGHRepository
Test create repository with template.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryFromTemplateRepositoryNull
Test create repository with template repository null.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateRepositoryWhenRepositoryTemplateIsNotATemplate
Test create repository when repository template is not a template.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testInviteUser
Test invite user.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListMembersWithFilter
Test list members with filter.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListMembersWithRole
Test list members with role.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListOutsideCollaborators
Test list outside collaborators.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListOutsideCollaboratorsWithFilter
Test list outside collaborators with filter.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateTeamWithRepoAccess
Test create team with repo access.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateTeamWithNullPerm
Test create team with null perm.- Throws:
Exception
- the exception
-
testCreateTeamWithRepoPerm
Test create team with repo perm.- Throws:
Exception
- the exception
-
testCreateTeamWithRepoRole
Test create team with repo role.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateTeam
Test create team.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateVisibleTeam
Test create visible team.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testCreateAllArgsTeam
Test create all args team.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testAreOrganizationProjectsEnabled
Test are organization projects enabled.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testEnableOrganizationProjects
Test enable organization projects.- Throws:
IOException
- Signals that an I/O exception has occurred.
-