Module OUnitState
type time = float
type 'worker test_running = {
test_length : OUnitTest.test_length;
deadline : time;
next_health_check : time;
worker : 'worker;
}
type 'worker t = {
idle_workers : 'worker list;
chooser : OUnitChooser.chooser;
cache : OUnitCache.cache;
health_check_interval : time;
}
val create : OUnitConf.conf -> OUnitChooser.chooser -> (OUnitTest.path * OUnitTest.test_length * OUnitTest.test_fun) list -> 'a t
val filter_out : 'a -> ('a * 'b) list -> ('a * 'b) list
val add_test_results : OUnitConf.conf -> (OUnitTest.result_full * OUnitTest.result_list) -> 'a t -> 'a t
val test_finished : OUnitConf.conf -> (OUnitTest.result_full * OUnitTest.result_list) -> 'a -> 'a t -> 'a t
val add_worker : 'a -> 'a t -> 'a t
val remove_idle_worker : 'a -> 'a t -> 'a t
val count_worker : 'a t -> int
val count_tests_running : 'a t -> int
val get_workers : 'a t -> 'a list
val get_idle_workers : 'a t -> 'a list
val is_idle_worker : 'a -> 'a t -> bool
val timeout : 'a t -> float