java.lang.Object
org.kohsuke.github.GHRepositoryRuleTest
Test class for GHRepositoryRule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests to cover AlertsThreshold enum.void
Tests to cover CodeScanningTool class.void
Tests to cover Operator enum.void
Tests that apply on null JsonNode returns null.void
Test to cover the constructor of the Parameters class.void
Tests to cover SecurityAlertsThreshold enum.void
Tests to cover StatusCheckConfiguration class.void
Tests to cover WorkflowFileReference class.
-
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
Tests that apply on null JsonNode returns null.- Throws:
Exception
- if something goes wrong.
-