Class GHRepositoryRuleTest

java.lang.Object
org.kohsuke.github.GHRepositoryRuleTest

public class GHRepositoryRuleTest extends Object
Test class for GHRepositoryRule.
  • Constructor Details

    • GHRepositoryRuleTest

      public GHRepositoryRuleTest()
      Create default GHRepositoryRuleTest instance
  • Method Details

    • testParameters

      public void testParameters()
      Test to cover the constructor of the Parameters class.
    • testStatusCheckConfiguration

      public void testStatusCheckConfiguration()
      Tests to cover StatusCheckConfiguration class.
    • testWorkflowFileReference

      public void testWorkflowFileReference()
      Tests to cover WorkflowFileReference class.
    • testCodeScanningTool

      public void testCodeScanningTool()
      Tests to cover CodeScanningTool class.
    • testAlertsThreshold

      public void testAlertsThreshold()
      Tests to cover AlertsThreshold enum.
    • testSecurityAlertsThreshold

      public void testSecurityAlertsThreshold()
      Tests to cover SecurityAlertsThreshold enum.
    • testOperator

      public void testOperator()
      Tests to cover Operator enum.
    • testParameterReturnsNullOnNullArg

      public void testParameterReturnsNullOnNullArg() throws Exception
      Tests that apply on null JsonNode returns null.
      Throws:
      Exception - if something goes wrong.