blob: bd7d0270b707cf0013e02a4c1c395d9aa14b9d41 [file] [log] [blame]
package org.checkerframework.checker.test.junit;
import java.io.File;
import java.util.List;
import org.checkerframework.framework.test.CheckerFrameworkPerDirectoryTest;
import org.junit.runners.Parameterized.Parameters;
/** JUnit tests for the Nullness checker when array subtyping is invariant. */
public class NullnessInvariantArraysTest extends CheckerFrameworkPerDirectoryTest {
/**
* Create a NullnessInvariantArraysTest.
*
* @param testFiles the files containing test code, which will be type-checked
*/
public NullnessInvariantArraysTest(List<File> testFiles) {
super(
testFiles,
org.checkerframework.checker.nullness.NullnessChecker.class,
"nullness",
"-AinvariantArrays",
"-Anomsgtext");
}
@Parameters
public static String[] getTestDirs() {
return new String[] {"nullness-invariantarrays"};
}
}