aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/Registration.ml
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-08-23 03:52:36 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-08-23 03:52:36 +0000
commit4c45f50eb5950d9dfc21fe36839d90c77de13d54 (patch)
tree6e97f063e5c08716bd97bec5251b66fa09a63a29 /test/integration/Registration.ml
parent8f87d272038ddea11c366d9a14079666daf6628b (diff)
downloadRNT-4c45f50eb5950d9dfc21fe36839d90c77de13d54.tar.gz
RNT-4c45f50eb5950d9dfc21fe36839d90c77de13d54.zip
Registration tests stub
Diffstat (limited to 'test/integration/Registration.ml')
-rw-r--r--test/integration/Registration.ml21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/Registration.ml b/test/integration/Registration.ml
new file mode 100644
index 0000000..8e7ef56
--- /dev/null
+++ b/test/integration/Registration.ml
@@ -0,0 +1,21 @@
+open Rnt
+
+module Make (S : Abstract.Storage.STORAGE) (C : Helpers.Storage.CONFIGURATOR) = struct
+ open Alcotest
+
+ module H = Helpers.Storage.Make (S) (C)
+ module I = Kernel.Initialization.Make (S)
+
+ let run conn =
+ (* let open Utilities.Result in *)
+ let _root = I.initialize conn |> Helpers.condition_as_failure in
+ ()
+
+ let suite prefix =
+ ( "registration/" ^ prefix,
+ [test_case "registration tests" `Quick (H.with_connection run "registration-test")])
+end
+
+module LMDB = Make (Rnt.Backend.Storage.LMDB) (Helpers.Storage.LMDB_Configurator)
+
+let suites () = [LMDB.suite "lmdb"]