Package org.kohsuke.github
Class GHBranchProtectionTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHBranchProtectionTest
-
public class GHBranchProtectionTest extends AbstractGitHubWireMockTest
-
-
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
Constructors Constructor Description GHBranchProtectionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestDisableProtectionOnly()voidtestEnableBranchProtections()voidtestEnableProtectionOnly()voidtestEnableRequireReviewsOnly()voidtestGetProtection()voidtestSignedCommits()-
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
-
-
-
-
Method Detail
-
testEnableBranchProtections
public void testEnableBranchProtections() throws Exception- Throws:
Exception
-
testDisableProtectionOnly
public void testDisableProtectionOnly() throws Exception- Throws:
Exception
-
testEnableRequireReviewsOnly
public void testEnableRequireReviewsOnly() throws Exception- Throws:
Exception
-
-