<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="OUnitThreads.html"> <link rel="next" href="OUnitPropList.html"> <link rel="Up" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="OUnit" rel="Chapter" href="OUnit.html"> <link title="OUnit2" rel="Chapter" href="OUnit2.html"> <link title="OUnitThreads" rel="Chapter" href="OUnitThreads.html"> <link title="OUnitUtils" rel="Chapter" href="OUnitUtils.html"> <link title="OUnitPropList" rel="Chapter" href="OUnitPropList.html"> <link title="OUnitPlugin" rel="Chapter" href="OUnitPlugin.html"> <link title="OUnitChooser" rel="Chapter" href="OUnitChooser.html"> <link title="OUnitResultSummary" rel="Chapter" href="OUnitResultSummary.html"> <link title="OUnitLoggerStd" rel="Chapter" href="OUnitLoggerStd.html"> <link title="OUnitLoggerHTML" rel="Chapter" href="OUnitLoggerHTML.html"> <link title="OUnitLoggerHTMLData" rel="Chapter" href="OUnitLoggerHTMLData.html"> <link title="OUnitLoggerJUnit" rel="Chapter" href="OUnitLoggerJUnit.html"> <link title="OUnitAssert" rel="Chapter" href="OUnitAssert.html"> <link title="OUnitBracket" rel="Chapter" href="OUnitBracket.html"> <link title="OUnitTest" rel="Chapter" href="OUnitTest.html"> <link title="OUnitState" rel="Chapter" href="OUnitState.html"> <link title="OUnitRunner" rel="Chapter" href="OUnitRunner.html"> <link title="OUnitRunnerProcesses" rel="Chapter" href="OUnitRunnerProcesses.html"> <link title="OUnitCore" rel="Chapter" href="OUnitCore.html"> <link title="OUnitLogger" rel="Chapter" href="OUnitLogger.html"> <link title="OUnitConf" rel="Chapter" href="OUnitConf.html"> <link title="OUnitShared" rel="Chapter" href="OUnitShared.html"> <link title="OUnitCache" rel="Chapter" href="OUnitCache.html"> <link title="OUnitTestData" rel="Chapter" href="OUnitTestData.html"> <link title="OUnitCheckEnv" rel="Chapter" href="OUnitCheckEnv.html"> <link title="OUnitDiff" rel="Chapter" href="OUnitDiff.html"><title>OUnit user guide : OUnitUtils</title> </head> <body> <div class="navbar"><a class="pre" href="OUnitThreads.html" title="OUnitThreads">Previous</a> <a class="up" href="index.html" title="Index">Up</a> <a class="post" href="OUnitPropList.html" title="OUnitPropList">Next</a> </div> <h1>Module <a href="type_OUnitUtils.html">OUnitUtils</a></h1> <pre><span class="keyword">module</span> OUnitUtils: <code class="code"><span class="keyword">sig</span></code> <a href="OUnitUtils.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info module top"> * Utilities for OUnit * *<br> <b>Author(s):</b> Sylvain Le Gall<br> </div> <hr width="100%"> <pre><span id="VALis_blank"><span class="keyword">val</span> is_blank</span> : <code class="type">char -> bool</code></pre> <pre><span id="VALtrim"><span class="keyword">val</span> trim</span> : <code class="type">string -> string</code></pre> <pre><span id="VALtrim_comment"><span class="keyword">val</span> trim_comment</span> : <code class="type">string -> string</code></pre> <pre><span id="VALsplit_lines"><span class="keyword">val</span> split_lines</span> : <code class="type">string -> string list</code></pre> <pre><span id="VALstarts_with"><span class="keyword">val</span> starts_with</span> : <code class="type">prefix:string -> string -> bool</code></pre> <pre><span id="VALstart_substr"><span class="keyword">val</span> start_substr</span> : <code class="type">prefix:string -> string -> bool * string</code></pre> <pre><span id="VALextract_backtrace_position"><span class="keyword">val</span> extract_backtrace_position</span> : <code class="type">string -> (string * int) option list</code></pre> <pre><span id="VALcmp_float"><span class="keyword">val</span> cmp_float</span> : <code class="type">?epsilon:float -> float -> float -> bool</code></pre> <pre><span id="VALbuff_format_printf"><span class="keyword">val</span> buff_format_printf</span> : <code class="type">(Format.formatter -> 'a) -> string</code></pre> <pre><span id="VALmapi"><span class="keyword">val</span> mapi</span> : <code class="type">('a -> int -> 'b) -> 'a list -> 'b list</code></pre> <pre><span id="VALfold_lefti"><span class="keyword">val</span> fold_lefti</span> : <code class="type">('a -> 'b -> int -> 'a) -> 'a -> 'b list -> 'a</code></pre> <pre><span id="VALnow"><span class="keyword">val</span> now</span> : <code class="type">unit -> float</code></pre> <pre><span id="VALtime_fun"><span class="keyword">val</span> time_fun</span> : <code class="type">('a -> 'b) -> 'a -> float * 'b</code></pre> <pre><span id="VALdate_iso8601"><span class="keyword">val</span> date_iso8601</span> : <code class="type">?tz:bool -> float -> string</code></pre> <pre><span id="VALbuildir"><span class="keyword">val</span> buildir</span> : <code class="type">string</code></pre> <pre><span id="VALfailwithf"><span class="keyword">val</span> failwithf</span> : <code class="type">('a, unit, string, 'b) Pervasives.format4 -> 'a</code></pre> <pre><span id="VALopt"><span class="keyword">val</span> opt</span> : <code class="type">('a -> unit) -> 'a option -> unit</code></pre> <pre><span id="VALfqdn"><span class="keyword">val</span> fqdn</span> : <code class="type">unit -> string</code></pre> <pre><span id="VALshardf"><span class="keyword">val</span> shardf</span> : <code class="type">int -> string</code></pre> <pre><span id="VALstring_of_process_status"><span class="keyword">val</span> string_of_process_status</span> : <code class="type">Unix.process_status -> string</code></pre> <pre><span id="VALmake_counter"><span class="keyword">val</span> make_counter</span> : <code class="type">unit -> (unit -> ('a * int) list) * ('a -> unit)</code></pre></body></html>