Class AjavaChecksOptionTest
java.lang.Object
org.checkerframework.framework.test.test.junit.AjavaChecksOptionTest
Tests the ajavaChecks option configuration and behavior in
CheckerFrameworkPerDirectoryTest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests that -AajavaChecks is included when the ajavaChecks system property is set to true.voidTests that -AajavaChecks is omitted when the ajavaChecks system property is set to false.voidTests that -AajavaChecks is omitted when the ajavaChecks system property is unset.voidTests that CheckerFrameworkPerDirectoryTest option configuration matches the active environment.
-
Constructor Details
-
AjavaChecksOptionTest
public AjavaChecksOptionTest()
-
-
Method Details
-
testAjavaChecksOptionWhenEnabled
public void testAjavaChecksOptionWhenEnabled()Tests that -AajavaChecks is included when the ajavaChecks system property is set to true. -
testAjavaChecksOptionWhenUnset
public void testAjavaChecksOptionWhenUnset()Tests that -AajavaChecks is omitted when the ajavaChecks system property is unset. -
testAjavaChecksOptionWhenExplicitlyFalse
public void testAjavaChecksOptionWhenExplicitlyFalse()Tests that -AajavaChecks is omitted when the ajavaChecks system property is set to false. -
testCurrentEnvironmentConfiguration
public void testCurrentEnvironmentConfiguration()Tests that CheckerFrameworkPerDirectoryTest option configuration matches the active environment.
-