Class AjavaChecksOptionTest

java.lang.Object
org.checkerframework.framework.test.test.junit.AjavaChecksOptionTest

public class AjavaChecksOptionTest extends Object
Tests the ajavaChecks option configuration and behavior in CheckerFrameworkPerDirectoryTest.
  • 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.