WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 05 of 12] [PCR0047] Refactors the "Quicktest_vm_memory_

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 05 of 12] [PCR0047] Refactors the "Quicktest_vm_memory_constraints" module to use the new Ocamltest "make_function_test_case" constructor
From: Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
Date: Mon, 1 Feb 2010 16:32:07 +0000
Delivery-date: Mon, 01 Feb 2010 08:36:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1265041922@radon>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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
<Prev in Thread] Current Thread [Next in Thread>