Commit Graph

4 Commits

Author SHA1 Message Date
guoyao c6629ebb55 chore: adapt REUSE license header
开源合规

Log: 开源合规
2022-08-11 14:02:36 +08:00
wangfei 3c671e35be fix: 修改警告处代码,去除warning警告
1.增加一条返回控制流,去除返回类型不匹配警告;
2.删掉废弃函数接口的测试,去除废弃函数接口使用警告;
3.测试QTest::qWaitFor返回值,去除变量未使用警告;
4.指针换成普通变量,去除delete调用带来的析构函数是非虚函数的警告;

Log: 去除warning相关警告
Change-Id: I5351052277b64af1b65016233ea620dcba6bd42a
(cherry picked from commit d11b32f9ced4d57fa9b2ecef5d1e5e41db2b941d)
2021-09-01 17:18:20 +08:00
wangfei aedb4d3ed7 chore: 添加filewatcher,util,gsettings单元测试。
新增filewatcher,gsettingsbackend,,qsettingsbackend相关单元测试;
补充util,logger,disksizeformatter和timeunitformatter的单元测试

Log:
Change-Id: I4ce91047c28b99af8c70363d74a85e54a8f805ba
(cherry picked from commit f6357575c1)
2021-09-01 15:59:19 +08:00
ut003691 f51eda6a17 chore: 添加单元测试
新增src/filesystem和src/util里面接口的单元测试,以增加覆盖率

Log:
Change-Id: I8c718f53e33636e147d5add121e4521beb748ab1
(cherry picked from commit 6a638f9e50)
2021-08-26 17:50:43 +08:00