aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorarie <arie@alleycat.cc>2021-06-09 13:12:47 +0200
committerarie <arie@alleycat.cc>2021-06-28 21:03:33 +0200
commit862a3d9eb439452f8903384da421d543064168cc (patch)
treea6faf40b30293d7b40a73143137f7aa5be06a8db /test
parentbbb98e4944c3c0a2438aff3c6feae93f749880c9 (diff)
Rdf turtle:
Reorganise modules into different files.
Diffstat (limited to 'test')
-rw-r--r--test/alcotest/rdf_alcotest.ml32
-rw-r--r--test/alcotest/rdf_alcotest.mli32
-rw-r--r--test/turtle/main.ml2
3 files changed, 33 insertions, 33 deletions
diff --git a/test/alcotest/rdf_alcotest.ml b/test/alcotest/rdf_alcotest.ml
index 973072b..b281027 100644
--- a/test/alcotest/rdf_alcotest.ml
+++ b/test/alcotest/rdf_alcotest.ml
@@ -26,49 +26,49 @@ let graph =
Alcotest.testable Rdf.Graph.pp Rdf.Graph.equal
let ast_iriref =
- Alcotest.testable Rdf_turtle.AST.Iriref.pp Rdf_turtle.AST.Iriref.equal
+ Alcotest.testable Rdf_turtle.Ast.Iriref.pp Rdf_turtle.Ast.Iriref.equal
let ast_language =
- Alcotest.testable Rdf_turtle.AST.Language.pp Rdf_turtle.AST.Language.equal
+ Alcotest.testable Rdf_turtle.Ast.Language.pp Rdf_turtle.Ast.Language.equal
let ast_prefixed_name =
- Alcotest.testable Rdf_turtle.AST.Prefixed_name.pp Rdf_turtle.AST.Prefixed_name.equal
+ Alcotest.testable Rdf_turtle.Ast.Prefixed_name.pp Rdf_turtle.Ast.Prefixed_name.equal
let ast_blank_node =
- Alcotest.testable Rdf_turtle.AST.Blank_node.pp Rdf_turtle.AST.Blank_node.equal
+ Alcotest.testable Rdf_turtle.Ast.Blank_node.pp Rdf_turtle.Ast.Blank_node.equal
let ast_iri =
- Alcotest.testable Rdf_turtle.AST.Iri.pp Rdf_turtle.AST.Iri.equal
+ Alcotest.testable Rdf_turtle.Ast.Iri.pp Rdf_turtle.Ast.Iri.equal
let ast_literal =
- Alcotest.testable Rdf_turtle.AST.Literal.pp Rdf_turtle.AST.Literal.equal
+ Alcotest.testable Rdf_turtle.Ast.Literal.pp Rdf_turtle.Ast.Literal.equal
let ast_predicate =
- Alcotest.testable Rdf_turtle.AST.Predicate.pp Rdf_turtle.AST.Predicate.equal
+ Alcotest.testable Rdf_turtle.Ast.Predicate.pp Rdf_turtle.Ast.Predicate.equal
let ast_object =
- Alcotest.testable Rdf_turtle.AST.object_pp Rdf_turtle.AST.object_equal
+ Alcotest.testable Rdf_turtle.Ast.object_pp Rdf_turtle.Ast.object_equal
let ast_collection =
- Alcotest.testable Rdf_turtle.AST.collection_pp Rdf_turtle.AST.collection_equal
+ Alcotest.testable Rdf_turtle.Ast.collection_pp Rdf_turtle.Ast.collection_equal
let ast_subject =
- Alcotest.testable Rdf_turtle.AST.subject_pp Rdf_turtle.AST.subject_equal
+ Alcotest.testable Rdf_turtle.Ast.subject_pp Rdf_turtle.Ast.subject_equal
let ast_bnodps =
- Alcotest.testable Rdf_turtle.AST.bnodps_pp Rdf_turtle.AST.bnodps_equal
+ Alcotest.testable Rdf_turtle.Ast.bnodps_pp Rdf_turtle.Ast.bnodps_equal
let ast_predobjs =
- Alcotest.testable Rdf_turtle.AST.predobjs_pp Rdf_turtle.AST.predobjs_equal
+ Alcotest.testable Rdf_turtle.Ast.predobjs_pp Rdf_turtle.Ast.predobjs_equal
let ast_triples =
- Alcotest.testable Rdf_turtle.AST.Triples.pp Rdf_turtle.AST.Triples.equal
+ Alcotest.testable Rdf_turtle.Ast.Triples.pp Rdf_turtle.Ast.Triples.equal
let ast_directive =
- Alcotest.testable Rdf_turtle.AST.Directive.pp Rdf_turtle.AST.Directive.equal
+ Alcotest.testable Rdf_turtle.Ast.Directive.pp Rdf_turtle.Ast.Directive.equal
let ast_statement =
- Alcotest.testable Rdf_turtle.AST.Statement.pp Rdf_turtle.AST.Statement.equal
+ Alcotest.testable Rdf_turtle.Ast.Statement.pp Rdf_turtle.Ast.Statement.equal
let ast_turtle =
- Alcotest.testable Rdf_turtle.AST.Turtle.pp Rdf_turtle.AST.Turtle.equal
+ Alcotest.testable Rdf_turtle.Ast.Turtle.pp Rdf_turtle.Ast.Turtle.equal
diff --git a/test/alcotest/rdf_alcotest.mli b/test/alcotest/rdf_alcotest.mli
index d0d6395..0e6bb33 100644
--- a/test/alcotest/rdf_alcotest.mli
+++ b/test/alcotest/rdf_alcotest.mli
@@ -18,35 +18,35 @@ val triple : Rdf.Triple.t Alcotest.testable
val graph : Rdf.Graph.t Alcotest.testable
-val ast_iriref : Rdf_turtle.AST.Iriref.t Alcotest.testable
+val ast_iriref : Rdf_turtle.Ast.Iriref.t Alcotest.testable
-val ast_language : Rdf_turtle.AST.Language.t Alcotest.testable
+val ast_language : Rdf_turtle.Ast.Language.t Alcotest.testable
-val ast_prefixed_name : Rdf_turtle.AST.Prefixed_name.t Alcotest.testable
+val ast_prefixed_name : Rdf_turtle.Ast.Prefixed_name.t Alcotest.testable
-val ast_blank_node : Rdf_turtle.AST.Blank_node.t Alcotest.testable
+val ast_blank_node : Rdf_turtle.Ast.Blank_node.t Alcotest.testable
-val ast_iri: Rdf_turtle.AST.Iri.t Alcotest.testable
+val ast_iri: Rdf_turtle.Ast.Iri.t Alcotest.testable
-val ast_literal : Rdf_turtle.AST.Literal.t Alcotest.testable
+val ast_literal : Rdf_turtle.Ast.Literal.t Alcotest.testable
-val ast_predicate : Rdf_turtle.AST.Predicate.t Alcotest.testable
+val ast_predicate : Rdf_turtle.Ast.Predicate.t Alcotest.testable
-val ast_object : Rdf_turtle.AST.object' Alcotest.testable
+val ast_object : Rdf_turtle.Ast.object' Alcotest.testable
-val ast_collection : Rdf_turtle.AST.collection Alcotest.testable
+val ast_collection : Rdf_turtle.Ast.collection Alcotest.testable
-val ast_subject : Rdf_turtle.AST.subject Alcotest.testable
+val ast_subject : Rdf_turtle.Ast.subject Alcotest.testable
-val ast_bnodps : Rdf_turtle.AST.bnodps Alcotest.testable
+val ast_bnodps : Rdf_turtle.Ast.bnodps Alcotest.testable
-val ast_predobjs : Rdf_turtle.AST.predobjs Alcotest.testable
+val ast_predobjs : Rdf_turtle.Ast.predobjs Alcotest.testable
-val ast_triples : Rdf_turtle.AST.Triples.t Alcotest.testable
+val ast_triples : Rdf_turtle.Ast.Triples.t Alcotest.testable
-val ast_directive : Rdf_turtle.AST.Directive.t Alcotest.testable
+val ast_directive : Rdf_turtle.Ast.Directive.t Alcotest.testable
-val ast_statement : Rdf_turtle.AST.Statement.t Alcotest.testable
+val ast_statement : Rdf_turtle.Ast.Statement.t Alcotest.testable
-val ast_turtle : Rdf_turtle.AST.Turtle.t Alcotest.testable
+val ast_turtle : Rdf_turtle.Ast.Turtle.t Alcotest.testable
diff --git a/test/turtle/main.ml b/test/turtle/main.ml
index 3c70f28..0973a17 100644
--- a/test/turtle/main.ml
+++ b/test/turtle/main.ml
@@ -1,5 +1,5 @@
module Parser = Rdf_turtle.Parser
-module Turtle = Rdf_turtle.AST
+module Turtle = Rdf_turtle.Ast
open Turtle
open Alcotest