You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2025/11/07 19:46:58 UTC
(jena) 05/05: Restore API for running SHACL tests
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
commit 9f620178a9a50e03522b87f948ac4edfc32fc710
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Nov 7 14:47:36 2025 +0000
Restore API for running SHACL tests
---
.../src/test/java/org/apache/jena/shacl/testing/ShaclTests.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/jena-shacl/src/test/java/org/apache/jena/shacl/testing/ShaclTests.java b/jena-shacl/src/test/java/org/apache/jena/shacl/testing/ShaclTests.java
index 3461389809..f092073647 100644
--- a/jena-shacl/src/test/java/org/apache/jena/shacl/testing/ShaclTests.java
+++ b/jena-shacl/src/test/java/org/apache/jena/shacl/testing/ShaclTests.java
@@ -59,10 +59,10 @@ public class ShaclTests {
return testCases;
}
-// public static List<Object[]> junit4Parameters(String manifestFile, List<String> omitManifests) {
-// List<ShaclTestItem> testCases = manifest(manifestFile, omitManifests);
-// return testCases.stream().map(stc->new Object[] {decideName(stc), stc}).collect(toList());
-// }
+ public static List<Object[]> junit4Parameters(String manifestFile, List<String> omitManifests) {
+ List<ShaclTestItem> testCases = manifest(manifestFile, omitManifests);
+ return testCases.stream().map(stc->new Object[] {decideName(stc), stc}).toList();
+ }
private static String decideName(ShaclTestItem stc) {
String fn = FileOps.basename(stc.origin());