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

[libvirt] [PATCH v2 12/19] tests: Rename virtTestDifferenceFullNoRegenerate.



This function doesn't follow our convention of naming functions.
---
 tests/qemuxml2xmltest.c |  6 +++---
 tests/testutils.c       | 16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 7b01587..ebf5a99 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -159,9 +159,9 @@ testCompareStatusXMLToXMLFiles(const void *opaque)
     if (STRNEQ(actual, expect)) {
         /* For status test we don't want to regenerate output to not
          * add the status data.*/
-        virtTestDifferenceFullNoRegenerate(stderr,
-                                           expect, data->outActiveName,
-                                           actual, data->inName);
+        virTestDifferenceFullNoRegenerate(stderr,
+                                          expect, data->outActiveName,
+                                          actual, data->inName);
         goto cleanup;
     }
 
diff --git a/tests/testutils.c b/tests/testutils.c
index 8a867a1..79981fe 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -588,11 +588,11 @@ virTestDifferenceFull(FILE *stream,
  * regenerate the expected file.
  */
 int
-virtTestDifferenceFullNoRegenerate(FILE *stream,
-                                   const char *expect,
-                                   const char *expectName,
-                                   const char *actual,
-                                   const char *actualName)
+virTestDifferenceFullNoRegenerate(FILE *stream,
+                                  const char *expect,
+                                  const char *expectName,
+                                  const char *actual,
+                                  const char *actualName)
 {
     return virtTestDifferenceFullInternal(stream, expect, expectName,
                                           actual, actualName, false);
@@ -611,9 +611,9 @@ virTestDifference(FILE *stream,
                   const char *expect,
                   const char *actual)
 {
-    return virtTestDifferenceFullNoRegenerate(stream,
-                                              expect, NULL,
-                                              actual, NULL);
+    return virTestDifferenceFullNoRegenerate(stream,
+                                             expect, NULL,
+                                             actual, NULL);
 }
 
 
-- 
2.5.5


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