Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
327b8443
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看板
提交
327b8443
编写于
5月 26, 2016
作者:
T
Tomáš Ryšavý
提交者:
John Ferlan
6月 08, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tests: Rename virtTestCounterReset to virTestCounterReset.
This function doesn't follow our convention of naming functions.
上级
8a48cf6e
变更
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
浏览文件 @
327b8443
...
...
@@ -80,7 +80,7 @@ mymain(void)
return
EXIT_AM_SKIP
;
#endif
vir
t
TestCounterReset
(
"testQemuCommandBuildObjectFromJSON"
);
virTestCounterReset
(
"testQemuCommandBuildObjectFromJSON"
);
#define DO_TEST_COMMAND_OBJECT_FROM_JSON(PROPS, EXPECT) \
do { \
...
...
tests/testutils.c
浏览文件 @
327b8443
...
...
@@ -1170,7 +1170,7 @@ static char *virtTestCounterPrefixEndOffset;
/**
* vir
t
TestCounterReset:
* virTestCounterReset:
* @prefix: name of the test group
*
* Resets the counter and sets up the test group name to use with
...
...
@@ -1180,7 +1180,7 @@ static char *virtTestCounterPrefixEndOffset;
* case names (including the number index) will be silently truncated.
*/
void
vir
t
TestCounterReset
(
const
char
*
prefix
)
virTestCounterReset
(
const
char
*
prefix
)
{
virtTestCounter
=
0
;
...
...
@@ -1196,7 +1196,7 @@ virtTestCounterReset(const char *prefix)
* a way to do automagic test case numbering.
*
* Returns string consisting of test name prefix configured via
* vir
t
TestCounterReset() and a number that increments in every call of this
* virTestCounterReset() and a number that increments in every call of this
* function. This function is not thread safe.
*
* Note: The buffer for the assembled message is 128 bytes long. Longer test
...
...
tests/testutils.h
浏览文件 @
327b8443
...
...
@@ -97,7 +97,7 @@ char *virtTestLogContentAndReset(void);
void
virtTestQuiesceLibvirtErrors
(
bool
always
);
void
vir
t
TestCounterReset
(
const
char
*
prefix
);
void
virTestCounterReset
(
const
char
*
prefix
);
const
char
*
virtTestCounterNext
(
void
);
int
virtTestMain
(
int
argc
,
...
...
tests/virbitmaptest.c
浏览文件 @
327b8443
...
...
@@ -675,7 +675,7 @@ mymain(void)
if
(
virTestRun
(
"test10"
,
test10
,
NULL
)
<
0
)
ret
=
-
1
;
vir
t
TestCounterReset
(
"test11-"
);
virTestCounterReset
(
"test11-"
);
TESTBINARYOP
(
"0"
,
"0"
,
"0,^0"
,
test11
);
TESTBINARYOP
(
"0-3"
,
"0"
,
"1-3"
,
test11
);
TESTBINARYOP
(
"0-3"
,
"0,3"
,
"1-2"
,
test11
);
...
...
tests/virfiletest.c
浏览文件 @
327b8443
...
...
@@ -167,7 +167,7 @@ mymain(void)
#define DO_TEST_SANITIZE_PATH_SAME(PATH) DO_TEST_SANITIZE_PATH(PATH, PATH)
vir
t
TestCounterReset
(
"testFileSanitizePath "
);
virTestCounterReset
(
"testFileSanitizePath "
);
DO_TEST_SANITIZE_PATH
(
""
,
""
);
DO_TEST_SANITIZE_PATH
(
"/"
,
"/"
);
DO_TEST_SANITIZE_PATH
(
"/path"
,
"/path"
);
...
...
tests/virstoragetest.c
浏览文件 @
327b8443
...
...
@@ -708,7 +708,7 @@ mymain(void)
} while (0)
/* The actual tests, in several groups. */
vir
t
TestCounterReset
(
"Storage backing chain "
);
virTestCounterReset
(
"Storage backing chain "
);
/* Missing file */
TEST_ONE_CHAIN
(
"bogus"
,
VIR_STORAGE_FILE_RAW
,
EXP_FAIL
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录