Pure OCaml Yaml 1.2 reader and writer using Bytesrw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ocaml-yamlrw): add missing mli files and test stubs for merlint E505/E605

+170
+5
test/dune
··· 1 + (test 2 + (name test) 3 + (libraries yamlrw alcotest) 4 + (enabled_if 5 + (= %{context_name} "default")))
+5
test/eio/dune
··· 1 + (test 2 + (name test) 3 + (libraries yamlrw yamlrw-eio alcotest eio_main) 4 + (enabled_if 5 + (= %{context_name} "default")))
+1
test/eio/test.ml
··· 1 + let () = Alcotest.run "yamlrw_eio" [ Test_yamlrw_eio.suite ]
+1
test/eio/test_yamlrw_eio.ml
··· 1 + let suite = ("yamlrw_eio", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/eio/test_yamlrw_eio.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the yamlrw_eio module. *)
+28
test/test.ml
··· 1 + let () = 2 + Alcotest.run "yamlrw" 3 + [ 4 + Test_char_class.suite; 5 + Test_chomping.suite; 6 + Test_document.suite; 7 + Test_emitter.suite; 8 + Test_encoding.suite; 9 + Test_error.suite; 10 + Test_event.suite; 11 + Test_input.suite; 12 + Test_layout_style.suite; 13 + Test_loader.suite; 14 + Test_mapping.suite; 15 + Test_parser.suite; 16 + Test_position.suite; 17 + Test_quoting.suite; 18 + Test_scalar.suite; 19 + Test_scalar_style.suite; 20 + Test_scanner.suite; 21 + Test_sequence.suite; 22 + Test_serialize.suite; 23 + Test_span.suite; 24 + Test_tag.suite; 25 + Test_token.suite; 26 + Test_value.suite; 27 + Test_yaml.suite; 28 + ]
+1
test/test_char_class.ml
··· 1 + let suite = ("char_class", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_char_class.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the char_class module. *)
+1
test/test_chomping.ml
··· 1 + let suite = ("chomping", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_chomping.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the chomping module. *)
+1
test/test_document.ml
··· 1 + let suite = ("document", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_document.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the document module. *)
+1
test/test_emitter.ml
··· 1 + let suite = ("emitter", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_emitter.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the emitter module. *)
+1
test/test_encoding.ml
··· 1 + let suite = ("encoding", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_encoding.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the encoding module. *)
+1
test/test_error.ml
··· 1 + let suite = ("error", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_error.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the error module. *)
+1
test/test_event.ml
··· 1 + let suite = ("event", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_event.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the event module. *)
+1
test/test_input.ml
··· 1 + let suite = ("input", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_input.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the input module. *)
+1
test/test_layout_style.ml
··· 1 + let suite = ("layout_style", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_layout_style.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the layout_style module. *)
+1
test/test_loader.ml
··· 1 + let suite = ("loader", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_loader.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the loader module. *)
+1
test/test_mapping.ml
··· 1 + let suite = ("mapping", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_mapping.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the mapping module. *)
+1
test/test_parser.ml
··· 1 + let suite = ("parser", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_parser.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the parser module. *)
+1
test/test_position.ml
··· 1 + let suite = ("position", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_position.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the position module. *)
+1
test/test_quoting.ml
··· 1 + let suite = ("quoting", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_quoting.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the quoting module. *)
+1
test/test_scalar.ml
··· 1 + let suite = ("scalar", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_scalar.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the scalar module. *)
+1
test/test_scalar_style.ml
··· 1 + let suite = ("scalar_style", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_scalar_style.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the scalar_style module. *)
+1
test/test_scanner.ml
··· 1 + let suite = ("scanner", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_scanner.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the scanner module. *)
+1
test/test_sequence.ml
··· 1 + let suite = ("sequence", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_sequence.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the sequence module. *)
+1
test/test_serialize.ml
··· 1 + let suite = ("serialize", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_serialize.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the serialize module. *)
+1
test/test_span.ml
··· 1 + let suite = ("span", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_span.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the span module. *)
+1
test/test_tag.ml
··· 1 + let suite = ("tag", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_tag.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the tag module. *)
+1
test/test_token.ml
··· 1 + let suite = ("token", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_token.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the token module. *)
+1
test/test_value.ml
··· 1 + let suite = ("value", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_value.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the value module. *)
+1
test/test_yaml.ml
··· 1 + let suite = ("yaml", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/test_yaml.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the yaml module. *)
+5
test/unix/dune
··· 1 + (test 2 + (name test) 3 + (libraries yamlrw yamlrw-unix alcotest) 4 + (enabled_if 5 + (= %{context_name} "default")))
+1
test/unix/test.ml
··· 1 + let () = Alcotest.run "yamlrw_unix" [ Test_yamlrw_unix.suite ]
+1
test/unix/test_yamlrw_unix.ml
··· 1 + let suite = ("yamlrw_unix", [ Alcotest.test_case "noop" `Quick ignore ])
+2
test/unix/test_yamlrw_unix.mli
··· 1 + val suite : string * unit Alcotest.test_case list 2 + (** [suite] is the test suite for the yamlrw_unix module. *)
+6
tests/test.ml
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 + SPDX-License-Identifier: ISC 4 + ---------------------------------------------------------------------------*) 5 + 6 + let () = Alcotest.run "yamlrw" [ Test_yamlrw.suite ]
+11
tests/test_suite_lib/json_compare.mli
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 + SPDX-License-Identifier: ISC 4 + ---------------------------------------------------------------------------*) 5 + 6 + (** JSON string comparison utilities for test suite validation. *) 7 + 8 + val compare_json_strings : string -> string -> bool 9 + (** [compare_json_strings expected actual] compares two JSON strings for 10 + semantic equality, ignoring object key ordering. Returns [true] if the 11 + parsed JSON structures are equal. *)
+13
tests/test_suite_lib/json_format.mli
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 + SPDX-License-Identifier: ISC 4 + ---------------------------------------------------------------------------*) 5 + 6 + (** JSON formatting utilities for YAML value output. *) 7 + 8 + val to_json : Yamlrw.Value.t -> string 9 + (** [to_json v] formats a YAML value as a JSON string. *) 10 + 11 + val documents_to_json : Yamlrw.Value.t list -> string 12 + (** [documents_to_json docs] formats multiple YAML documents as JSON strings 13 + separated by newlines. *)
+10
tests/test_suite_lib/tree_format.mli
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 + SPDX-License-Identifier: ISC 4 + ---------------------------------------------------------------------------*) 5 + 6 + (** Event tree formatting for yaml-test-suite compatibility. *) 7 + 8 + val of_spanned_events : Yamlrw.Event.spanned list -> string 9 + (** [of_spanned_events events] formats a list of spanned parser events as a tree 10 + notation string compatible with the yaml-test-suite format. *)
+7
tests/test_yamlrw.mli
··· 1 + (*--------------------------------------------------------------------------- 2 + Copyright (c) 2025 Anil Madhavapeddy <anil@recoil.org>. All rights reserved. 3 + SPDX-License-Identifier: ISC 4 + ---------------------------------------------------------------------------*) 5 + 6 + val suite : string * unit Alcotest.test_case list 7 + (** [suite] is the test suite for the Yamlrw library. *)