blob: a7037d4b215d05678ec16948ad128888e2363449 [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;
/** Test suite for the Subtyping Checker, using a simple {@link Encrypted} annotation. */
public class SubtypingEncryptedTest extends CheckerFrameworkPerDirectoryTest {
/** @param testFiles the files containing test code, which will be type-checked */
public SubtypingEncryptedTest(List<File> testFiles) {
super(
testFiles,
org.checkerframework.common.subtyping.SubtypingChecker.class,
"subtyping",
"-Anomsgtext",
"-Aquals=org.checkerframework.framework.testchecker.util.Encrypted,org.checkerframework.framework.testchecker.util.PolyEncrypted,org.checkerframework.common.subtyping.qual.Unqualified");
}
@Parameters
public static String[] getTestDirs() {
return new String[] {"subtyping", "all-systems"};
}
}