blob: 1199ab37f11b04ceb1cb6c76eb6c407110c4c731 [file] [log] [blame]
package org.checkerframework.framework.test.junit;
import java.io.File;
import java.util.List;
import org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTest;
import org.junit.runners.Parameterized.Parameters;
/** Tests the ClassVal Checker. */
public class ClassValTest extends CheckerFrameworkPerDirectoryTest {
/** @param testFiles the files containing test code, which will be type-checked */
public ClassValTest(List<File> testFiles) {
super(
testFiles,
org.checkerframework.common.reflection.ClassValChecker.class,
"classval",
"-Anomsgtext");
}
@Parameters
public static String[] getTestDirs() {
return new String[] {"classval"};
}
}