File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
json-java21-schema/src/test/java/io/github/simbo1905/json/schema Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1616import java .util .stream .Stream ;
1717
1818import static org .assertj .core .api .Assertions .assertThat ;
19+ import static io .github .simbo1905 .json .schema .SchemaLogging .LOG ;
1920
2021/// Integration tests: validate OpenRPC documents using a minimal embedded meta-schema.
2122/// Resources:
2223/// - Schema: src/test/resources/openrpc/schema.json
2324/// - Examples: src/test/resources/openrpc/examples/*.json
2425/// Files containing "-bad-" are intentionally invalid and must fail validation.
25- public class OpenRPCSchemaValidationIT {
26+ class OpenRPCSchemaValidationIT extends JsonSchemaLoggingConfig {
2627
2728 private static String readResource (String name ) throws IOException {
2829 try {
@@ -35,6 +36,7 @@ private static String readResource(String name) throws IOException {
3536
3637 @ TestFactory
3738 Stream <DynamicTest > validateOpenRPCExamples () throws Exception {
39+ LOG .info (() -> "TEST: " + getClass ().getSimpleName () + "#validateOpenRPCExamples" );
3840 // Compile the minimal OpenRPC schema (self-contained, no remote $ref)
3941 String schemaJson = readResource ("openrpc/schema.json" );
4042 JsonSchema schema = JsonSchema .compile (Json .parse (schemaJson ));
You can’t perform that action at this time.
0 commit comments