[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 05 of 12] [PCR0047] Refactors the "Quicktest_vm_memory_constraints" module to use the new Ocamltest "make_function_test_case" constructor



# HG changeset patch
# User Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
# 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 <jonathan.knowles@xxxxxxxxxxxxx>

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 +--


Attachment: xen-api.hg-12.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.