/usr/lib/ocaml/pa_test/runtime.mli is in libpa-test-camlp4-dev 112.24.00-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | open Sexplib
(** Functions called by the generated code *)
val test_pred :
pos:Lexing.position ->
sexpifier:('a -> Sexp.t) ->
here:Lexing.position list ->
?message:string ->
('a -> bool) ->
'a ->
unit
val test_eq :
pos:Lexing.position ->
sexpifier:('a -> Sexp.t) ->
comparator:('a -> 'a -> int) ->
here:Lexing.position list ->
?message:string ->
?equal:('a -> 'a -> bool) ->
'a ->
'a ->
unit
val test_result :
pos:Lexing.position ->
sexpifier:('a -> Sexp.t) ->
comparator:('a -> 'a -> int) ->
here:Lexing.position list ->
?message:string ->
?equal:('a -> 'a -> bool) ->
expect:'a ->
got:'a ->
unit
(** Called to set/unset the [diff] function, used by [test_result] *)
val set_diff_function : (from_:string -> to_:string -> unit) option -> unit
(** [string_of_loc] and [sexp_of_loc] are exposed to be rebound in core_kernel. *)
val string_of_loc : Lexing.position -> string
val sexp_of_loc : Lexing.position -> Sexp.t
|