java.lang.Object
org.kohsuke.github.GHRepositoryRuleTest
Test class for GHRepositoryRule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests to cover AlertsThreshold enum.voidTests to cover CodeScanningTool class.voidTests to cover Operator enum.voidTests that apply on null JsonNode returns null.voidTest to cover the constructor of the Parameters class.voidTests to cover SecurityAlertsThreshold enum.voidTests to cover StatusCheckConfiguration class.voidTests to cover WorkflowFileReference class.
-
Constructor Details
-
GHRepositoryRuleTest
public GHRepositoryRuleTest()Create default GHRepositoryRuleTest instance
-
-
Method Details
-
testAlertsThreshold
public void testAlertsThreshold()Tests to cover AlertsThreshold enum. -
testCodeScanningTool
public void testCodeScanningTool()Tests to cover CodeScanningTool class. -
testOperator
public void testOperator()Tests to cover Operator enum. -
testParameterReturnsNullOnNullArg
Tests that apply on null JsonNode returns null.- Throws:
Exception- if something goes wrong.
-
testParameters
public void testParameters()Test to cover the constructor of the Parameters class. -
testSecurityAlertsThreshold
public void testSecurityAlertsThreshold()Tests to cover SecurityAlertsThreshold enum. -
testStatusCheckConfiguration
public void testStatusCheckConfiguration()Tests to cover StatusCheckConfiguration class. -
testWorkflowFileReference
public void testWorkflowFileReference()Tests to cover WorkflowFileReference class.
-