提交 9b8ff67f 编写于 作者: T Tomáš Ryšavý 提交者: John Ferlan

tests: Rename virtTestDifferenceFullNoRegenerate.

This function doesn't follow our convention of naming functions.
上级 1ff86b40
......@@ -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;
}
......
......@@ -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);
}
......
......@@ -64,11 +64,11 @@ int virTestDifferenceFull(FILE *stream,
const char *expectName,
const char *actual,
const char *actualName);
int virtTestDifferenceFullNoRegenerate(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName);
int virTestDifferenceFullNoRegenerate(FILE *stream,
const char *expect,
const char *expectName,
const char *actual,
const char *actualName);
int virtTestDifferenceBin(FILE *stream,
const char *expect,
const char *actual,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册