# HG changeset patch # User Jonathan Knowles # Date 1265039943 0 # Node ID 10fc547a82d50bf41dd2172962e441da575bded4 # Parent 86c008b5d3aa275c7422fc5f5e32d8429fc681a7 [PCR0047] Refactors the "Quicktest_vm_memory_constraints" module to use the new Ocamltest "make_function_test_case" constructor. Signed-off-by: Jonathan Knowles diff -r 86c008b5d3aa -r 10fc547a82d5 ocaml/xapi/quicktest_vm_memory_constraints.ml --- a/ocaml/xapi/quicktest_vm_memory_constraints.ml Mon Feb 01 15:59:02 2010 +0000 +++ b/ocaml/xapi/quicktest_vm_memory_constraints.ml Mon Feb 01 15:59:03 2010 +0000 @@ -31,9 +31,8 @@ ; static_max = scale static_max } -let test_reset_to_safe_defaults = make_test_case +let test_reset_to_safe_defaults = make_function_test_case "reset_to_safe_defaults" - "Tests the reset_to_safe_defaults function." (fun () -> List.iter (fun (input, output) ->