Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
f5444742
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f5444742
编写于
5月 26, 2016
作者:
T
Tomáš Ryšavý
提交者:
John Ferlan
6月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: Rename virtTestCounterNext to virTestCounterNext.
This function doesn't follow our convention of naming functions.
上级
75f73094
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
tests/qemucommandutiltest.c
tests/qemucommandutiltest.c
+1
-1
tests/testutils.c
tests/testutils.c
+3
-3
tests/testutils.h
tests/testutils.h
+1
-1
tests/virbitmaptest.c
tests/virbitmaptest.c
+1
-1
tests/virfiletest.c
tests/virfiletest.c
+1
-1
tests/virstoragetest.c
tests/virstoragetest.c
+1
-1
未找到文件。
tests/qemucommandutiltest.c
浏览文件 @
f5444742
...
...
@@ -86,7 +86,7 @@ mymain(void)
do { \
data1.props = PROPS; \
data1.expectprops = EXPECT; \
if (virTestRun(vir
tTestCounterNext(),
\
if (virTestRun(vir
TestCounterNext(),
\
testQemuCommandBuildObjectFromJSON, \
&data1) < 0) \
ret = -1; \
...
...
tests/testutils.c
浏览文件 @
f5444742
...
...
@@ -1174,7 +1174,7 @@ static char *virtTestCounterPrefixEndOffset;
* @prefix: name of the test group
*
* Resets the counter and sets up the test group name to use with
* vir
t
TestCounterNext(). This function is not thread safe.
* virTestCounterNext(). This function is not thread safe.
*
* Note: The buffer for the assembled message is 128 bytes long. Longer test
* case names (including the number index) will be silently truncated.
...
...
@@ -1190,7 +1190,7 @@ virTestCounterReset(const char *prefix)
/**
* vir
t
TestCounterNext:
* virTestCounterNext:
*
* This function is designed to ease test creation and reordering by adding
* a way to do automagic test case numbering.
...
...
@@ -1203,7 +1203,7 @@ virTestCounterReset(const char *prefix)
* case names (including the number index) will be silently truncated.
*/
const
char
*
vir
t
TestCounterNext
(
void
)
*
virTestCounterNext
(
void
)
{
size_t
len
=
ARRAY_CARDINALITY
(
virtTestCounterStr
);
...
...
tests/testutils.h
浏览文件 @
f5444742
...
...
@@ -98,7 +98,7 @@ char *virTestLogContentAndReset(void);
void
virTestQuiesceLibvirtErrors
(
bool
always
);
void
virTestCounterReset
(
const
char
*
prefix
);
const
char
*
vir
t
TestCounterNext
(
void
);
const
char
*
virTestCounterNext
(
void
);
int
virtTestMain
(
int
argc
,
char
**
argv
,
...
...
tests/virbitmaptest.c
浏览文件 @
f5444742
...
...
@@ -645,7 +645,7 @@ test12(const void *opaque ATTRIBUTE_UNUSED)
testBinaryOpData.a = A; \
testBinaryOpData.b = B; \
testBinaryOpData.res = RES; \
if (virTestRun(vir
tTestCounterNext(), FUNC, &testBinaryOpData) < 0)
\
if (virTestRun(vir
TestCounterNext(), FUNC, &testBinaryOpData) < 0)
\
ret = -1;
static
int
...
...
tests/virfiletest.c
浏览文件 @
f5444742
...
...
@@ -160,7 +160,7 @@ mymain(void)
do { \
data1.path = PATH; \
data1.expect = EXPECT; \
if (virTestRun(vir
tTestCounterNext(), testFileSanitizePath,
\
if (virTestRun(vir
TestCounterNext(), testFileSanitizePath,
\
&data1) < 0) \
ret = -1; \
} while (0)
...
...
tests/virstoragetest.c
浏览文件 @
f5444742
...
...
@@ -693,7 +693,7 @@ mymain(void)
for (i = 0; i < ARRAY_CARDINALITY(data.files); i++) \
if (data.files[i]) \
data.nfiles++; \
if (virTestRun(vir
tTestCounterNext(),
\
if (virTestRun(vir
TestCounterNext(),
\
testStorageChain, &data) < 0) \
ret = -1; \
} while (0)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录