Class AinferGeneratePerDirectoryTest
java.lang.Object
org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTest
org.checkerframework.framework.test.CheckerFrameworkWPIPerDirectoryTest
org.checkerframework.framework.test.AinferGeneratePerDirectoryTest
A specialized variant of 
CheckerFrameworkPerDirectoryTest for testing the Whole Program
 Inference feature of the Checker Framework, which is tested by running pairs of these tests: a
 "generation test" (of this class) to do inference using the -Ainfer option, and a
 "validation test" (of class AinferValidatePerDirectoryTest) to check that files typecheck
 after those inferences are taken into account.- 
Field SummaryFields inherited from class org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTestcheckerNames, checkerOptions, classpathExtra, testDir, testFiles
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAinferGeneratePerDirectoryTest(List<File> testFiles, Class<? extends AbstractProcessor> checker, String testDir, String... checkerOptions) Creates a new checker test.
- 
Method SummaryMethods inherited from class org.checkerframework.framework.test.CheckerFrameworkWPIPerDirectoryTestdoNotTypecheck, hasSkipCommentMethods inherited from class org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTestadjustTypecheckResult, customizeOptions, run
- 
Constructor Details- 
AinferGeneratePerDirectoryTestprotected AinferGeneratePerDirectoryTest(List<File> testFiles, Class<? extends AbstractProcessor> checker, String testDir, String... checkerOptions) Creates a new checker test. Use this constructor when creating a generation test.TestConfigurationBuilder.getDefaultConfigurationBuilder(String, File, String, Iterable, Iterable, List, boolean)adds additional checker options.- Parameters:
- testFiles- the files containing test code, which will be type-checked
- checker- the class for the checker to use
- testDir- the path to the directory of test inputs
- checkerOptions- options to pass to the compiler when running tests
 
 
-