Package org.kohsuke.github
Class GHOrganizationTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHOrganizationTest
-
public class GHOrganizationTest extends AbstractGitHubWireMockTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
-
Field Summary
Fields Modifier and Type Field Description static StringGITHUB_API_TEMPLATE_TESTstatic StringGITHUB_API_TESTstatic StringTEAM_NAME_CREATE-
Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
-
Constructor Summary
Constructors Constructor Description GHOrganizationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanUpTeam()voidtestAreOrganizationProjectsEnabled()voidtestCreateAllArgsTeam()voidtestCreateRepository()voidtestCreateRepositoryWithAutoInitialization()voidtestCreateRepositoryWithParameterIsTemplate()voidtestCreateRepositoryWithTemplate()voidtestCreateTeam()voidtestCreateTeamWithRepoAccess()voidtestCreateVisibleTeam()voidtestEnableOrganizationProjects()voidtestInviteUser()voidtestListMembersWithFilter()voidtestListMembersWithRole()-
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 Detail
-
GITHUB_API_TEST
public static final String GITHUB_API_TEST
- See Also:
- Constant Field Values
-
GITHUB_API_TEMPLATE_TEST
public static final String GITHUB_API_TEMPLATE_TEST
- See Also:
- Constant Field Values
-
TEAM_NAME_CREATE
public static final String TEAM_NAME_CREATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
cleanUpTeam
public void cleanUpTeam() throws IOException- Throws:
IOException
-
testCreateRepository
public void testCreateRepository() throws IOException- Throws:
IOException
-
testCreateRepositoryWithAutoInitialization
public void testCreateRepositoryWithAutoInitialization() throws IOException- Throws:
IOException
-
testCreateRepositoryWithParameterIsTemplate
public void testCreateRepositoryWithParameterIsTemplate() throws IOException- Throws:
IOException
-
testCreateRepositoryWithTemplate
public void testCreateRepositoryWithTemplate() throws IOException- Throws:
IOException
-
testInviteUser
public void testInviteUser() throws IOException- Throws:
IOException
-
testListMembersWithFilter
public void testListMembersWithFilter() throws IOException- Throws:
IOException
-
testListMembersWithRole
public void testListMembersWithRole() throws IOException- Throws:
IOException
-
testCreateTeamWithRepoAccess
public void testCreateTeamWithRepoAccess() throws IOException- Throws:
IOException
-
testCreateTeam
public void testCreateTeam() throws IOException- Throws:
IOException
-
testCreateVisibleTeam
public void testCreateVisibleTeam() throws IOException- Throws:
IOException
-
testCreateAllArgsTeam
public void testCreateAllArgsTeam() throws IOException- Throws:
IOException
-
testAreOrganizationProjectsEnabled
public void testAreOrganizationProjectsEnabled() throws IOException- Throws:
IOException
-
testEnableOrganizationProjects
public void testEnableOrganizationProjects() throws IOException- Throws:
IOException
-
-