# HG changeset patch
# User Jonathan Knowles <[email protected]>
# 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 <[email protected]>

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) ->
1 file changed, 1 insertion(+), 2 deletions(-)
ocaml/xapi/quicktest_vm_memory_constraints.ml |    3 +--


# HG changeset patch
# User Jonathan Knowles <[email protected]>
# 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 <[email protected]>

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) ->
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to