Skip to content

Commit

Permalink
test(function): add Python test case context
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleycaselli committed Jan 19, 2024
1 parent 68909e6 commit 130929a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
import org.topbraid.jenax.util.ARQFactory;
import org.topbraid.jenax.util.JenaDatatypes;
import org.topbraid.jenax.util.JenaUtil;
import org.topbraid.shacl.testcases.context.JSPreferredTestCaseContext;
import org.topbraid.shacl.testcases.context.SPARQLPreferredTestCaseContext;
import org.topbraid.shacl.testcases.context.TestCaseContext;
import org.topbraid.shacl.testcases.context.TestCaseContextFactory;
import org.topbraid.shacl.testcases.context.*;
import org.topbraid.shacl.vocabulary.DASH;

public class FunctionTestCaseType extends TestCaseType {
Expand All @@ -48,6 +45,7 @@ public class FunctionTestCaseType extends TestCaseType {
static {
registerContextFactory(SPARQLPreferredTestCaseContext.getTestCaseContextFactory());
registerContextFactory(JSPreferredTestCaseContext.getTestCaseContextFactory());
registerContextFactory(PyPreferredTestCaseContext.getTestCaseContextFactory());
}

public static void registerContextFactory(TestCaseContextFactory factory) {
Expand Down

0 comments on commit 130929a

Please sign in to comment.