Rename virtTestDifferenceFull to virTestDifferenceFull.

This function doesn't follow our convention of naming functions.
This commit is contained in:
Tomáš Ryšavý 2016-05-26 17:01:54 +02:00 committed by John Ferlan
parent 239caffb1d
commit 753edcb3a4
6 changed files with 19 additions and 19 deletions

View File

@ -114,7 +114,7 @@ testCompareXMLToXMLFiles(const char *inxml,
}
if (STRNEQ(outXmlData, actual)) {
virtTestDifferenceFull(stderr, outXmlData, outxml, actual, inxml);
virTestDifferenceFull(stderr, outXmlData, outxml, actual, inxml);
goto cleanup;
}

View File

@ -34,7 +34,7 @@ testCompareXMLToXMLFiles(const char *xml)
goto fail;
if (STRNEQ(xmlData, actual)) {
virtTestDifferenceFull(stderr, xmlData, xml, actual, NULL);
virTestDifferenceFull(stderr, xmlData, xml, actual, NULL);
goto fail;
}

View File

@ -34,7 +34,7 @@ testCompareXMLToXMLFiles(const char *xml)
goto fail;
if (STRNEQ(xmlData, actual)) {
virtTestDifferenceFull(stderr, xmlData, xml, actual, NULL);
virTestDifferenceFull(stderr, xmlData, xml, actual, NULL);
goto fail;
}

View File

@ -192,9 +192,9 @@ testQemuHotplugCheckResult(virDomainObjPtr vm,
ret = 0;
} else {
if (!fail)
virtTestDifferenceFull(stderr,
expected, expectedFile,
actual, NULL);
virTestDifferenceFull(stderr,
expected, expectedFile,
actual, NULL);
ret = -1;
}

View File

@ -565,11 +565,11 @@ virtTestDifferenceFullInternal(FILE *stream,
* regenerate the expected file.
*/
int
virtTestDifferenceFull(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName)
virTestDifferenceFull(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName)
{
return virtTestDifferenceFullInternal(stream, expect, expectName,
actual, actualName, true);
@ -705,9 +705,9 @@ virTestCompareToFile(const char *strcontent,
if (STRNEQ_NULLABLE(fixedcontent ? fixedcontent : strcontent,
filecontent)) {
virtTestDifferenceFull(stderr,
filecontent, filename,
strcontent, NULL);
virTestDifferenceFull(stderr,
filecontent, filename,
strcontent, NULL);
goto failure;
}

View File

@ -59,11 +59,11 @@ void virtTestClearCommandPath(char *cmdset);
int virTestDifference(FILE *stream,
const char *expect,
const char *actual);
int virtTestDifferenceFull(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName);
int virTestDifferenceFull(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName);
int virtTestDifferenceFullNoRegenerate(FILE *stream,
const char *expect,
const char *expectName,