package tests; import java.io.File; import java.util.List; import org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTest; import org.junit.runners.Parameterized.Parameters; import testlib.wholeprograminference.WholeProgramInferenceTestChecker; /** * Tests whole-program inference with the aid of .jaif files. * * <p>IMPORTANT: The errors captured in the tests located in tests/whole-program-inference/ are not * relevant. The meaning of this test class is to test if the generated .jaif files are similar to * the expected ones. The errors on .java files must be ignored. * * @author pbsf */ public class WholeProgramInferenceTest extends CheckerFrameworkPerDirectoryTest { public WholeProgramInferenceTest(List<File> testFiles) { super(testFiles, WholeProgramInferenceTestChecker.class, "value", "-Anomsgtext", "-Ainfer"); } @Parameters public static String[] getTestDirs() { return new String[] {"whole-program-inference/non-annotated"}; } }