package ounit2

  1. Overview
  2. Docs

Module OUnitBracketSource

Sourcetype t = (unit -> unit) list
Sourceval create : (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> unit) -> OUnitTest.ctxt -> 'a
Sourceval logf : ('a OUnitLogger.test_event -> 'b) -> OUnitLogger.log_severity -> ('c, unit, string, 'b) format4 -> 'c
Sourceval bracket_tmpfile : ?prefix:string -> ?suffix:string -> ?mode:open_flag list -> OUnitTest.ctxt -> string * out_channel
Sourceval bracket_tmpdir : ?prefix:string -> ?suffix:string -> OUnitTest.ctxt -> string
Sourceval chdir_mutex : int * OUnitShared.scope
Sourceval bracket_chdir : string -> OUnitTest.ctxt -> string
Sourceval with_bracket : OUnitTest.ctxt -> (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> 'b) -> 'b
OCaml

Innovation. Community. Security.