Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Unity
提交
a6b925a0
T
Third Party Unity
项目概览
OpenHarmony
/
Third Party Unity
1 年多 前同步成功
通知
36
Star
144
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Unity
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
a6b925a0
编写于
2月 10, 2018
作者:
M
Mark VanderVoord
提交者:
GitHub
2月 10, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #321 from jeremyhannon/misra19.10
MISRA - param names match; macro params in parens
上级
b4aca70f
91a23535
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
7 deletion
+7
-7
extras/fixture/src/unity_fixture.h
extras/fixture/src/unity_fixture.h
+1
-1
extras/fixture/src/unity_fixture_internals.h
extras/fixture/src/unity_fixture_internals.h
+2
-2
src/unity_internals.h
src/unity_internals.h
+4
-4
未找到文件。
extras/fixture/src/unity_fixture.h
浏览文件 @
a6b925a0
...
...
@@ -78,6 +78,6 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void));
#endif
/* You must compile with malloc replacement, as defined in unity_fixture_malloc_overrides.h */
void
UnityMalloc_MakeMallocFailAfterCount
(
int
count
);
void
UnityMalloc_MakeMallocFailAfterCount
(
int
count
down
);
#endif
/* UNITY_FIXTURE_H_ */
extras/fixture/src/unity_fixture_internals.h
浏览文件 @
a6b925a0
...
...
@@ -24,7 +24,7 @@ extern struct UNITY_FIXTURE_T UnityFixture;
typedef
void
unityfunction
(
void
);
void
UnityTestRunner
(
unityfunction
*
setup
,
unityfunction
*
b
ody
,
unityfunction
*
testB
ody
,
unityfunction
*
teardown
,
const
char
*
printableName
,
const
char
*
group
,
...
...
@@ -37,7 +37,7 @@ void UnityMalloc_EndTest(void);
int
UnityGetCommandLineOptions
(
int
argc
,
const
char
*
argv
[]);
void
UnityConcludeFixtureTest
(
void
);
void
UnityPointer_Set
(
void
**
p
t
r
,
void
*
newValue
,
UNITY_LINE_TYPE
line
);
void
UnityPointer_Set
(
void
**
p
ointe
r
,
void
*
newValue
,
UNITY_LINE_TYPE
line
);
void
UnityPointer_UndoAllSets
(
void
);
void
UnityPointer_Init
(
void
);
#ifndef UNITY_MAX_POINTERS
...
...
src/unity_internals.h
浏览文件 @
a6b925a0
...
...
@@ -442,9 +442,9 @@ void UnityPrint(const char* string);
void
UnityPrintLen
(
const
char
*
string
,
const
UNITY_UINT32
length
);
void
UnityPrintMask
(
const
UNITY_UINT
mask
,
const
UNITY_UINT
number
);
void
UnityPrintNumberByStyle
(
const
UNITY_INT
number
,
const
UNITY_DISPLAY_STYLE_T
style
);
void
UnityPrintNumber
(
const
UNITY_INT
number
);
void
UnityPrintNumber
(
const
UNITY_INT
number
_to_print
);
void
UnityPrintNumberUnsigned
(
const
UNITY_UINT
number
);
void
UnityPrintNumberHex
(
const
UNITY_UINT
number
,
const
char
nibbles
);
void
UnityPrintNumberHex
(
const
UNITY_UINT
number
,
const
char
nibbles
_to_print
);
#ifndef UNITY_EXCLUDE_FLOAT_PRINT
void
UnityPrintFloat
(
const
UNITY_DOUBLE
input_number
);
...
...
@@ -518,9 +518,9 @@ void UnityAssertNumbersWithin(const UNITY_UINT delta,
const
UNITY_LINE_TYPE
lineNumber
,
const
UNITY_DISPLAY_STYLE_T
style
);
void
UnityFail
(
const
char
*
m
essage
,
const
UNITY_LINE_TYPE
line
);
void
UnityFail
(
const
char
*
m
sg
,
const
UNITY_LINE_TYPE
line
);
void
UnityIgnore
(
const
char
*
m
essage
,
const
UNITY_LINE_TYPE
line
);
void
UnityIgnore
(
const
char
*
m
sg
,
const
UNITY_LINE_TYPE
line
);
#ifndef UNITY_EXCLUDE_FLOAT
void
UnityAssertFloatsWithin
(
const
UNITY_FLOAT
delta
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录