Skip to content

Commit

Permalink
Update API to compatiable with CFI change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed Mar 31, 2024
1 parent 1dea021 commit 49c4276
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ontology/OntologyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import java.util.List;
import ontology.solvers.backend.OntologySolverEngine;
import org.checkerframework.framework.test.TestUtilities;
import org.checkerframework.javacutil.Pair;
import org.junit.runners.Parameterized.Parameters;
import org.plumelib.util.IPair;

public class OntologyTest extends CFInferenceTest {

Expand All @@ -27,11 +27,11 @@ public boolean useHacks() {
}

@Override
public Pair<String, List<String>> getSolverNameAndOptions() {
public IPair<String, List<String>> getSolverNameAndOptions() {
final String solverName = OntologySolverEngine.class.getCanonicalName();
List<String> solverOptions = new ArrayList<>();
solverOptions.add("solver=Z3");
return Pair.<String, List<String>>of(solverName, solverOptions);
return IPair.<String, List<String>>of(solverName, solverOptions);
}

@Parameters
Expand Down

0 comments on commit 49c4276

Please sign in to comment.