Class GHBranchProtectionTest

java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHBranchProtectionTest

public class GHBranchProtectionTest extends AbstractGitHubWireMockTest
The Class GHBranchProtectionTest.
  • Constructor Details

    • GHBranchProtectionTest

      public GHBranchProtectionTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Sets the up.
      Throws:
      Exception - the exception
    • testEnableBranchProtections

      public void testEnableBranchProtections() throws Exception
      Test enable branch protections.
      Throws:
      Exception - the exception
    • testEnableProtectionOnly

      public void testEnableProtectionOnly() throws Exception
      Test enable protection only.
      Throws:
      Exception - the exception
    • testDisableProtectionOnly

      public void testDisableProtectionOnly() throws Exception
      Test disable protection only.
      Throws:
      Exception - the exception
    • testEnableRequireReviewsOnly

      public void testEnableRequireReviewsOnly() throws Exception
      Test enable require reviews only.
      Throws:
      Exception - the exception
    • testSignedCommits

      public void testSignedCommits() throws Exception
      Test signed commits.
      Throws:
      Exception - the exception
    • testGetProtection

      public void testGetProtection() throws Exception
      Test get protection.
      Throws:
      Exception - the exception