Commit Graph

5 Commits

Author SHA1 Message Date
ck 05d45d0eda fix: ut_dfilewater failed on Qt6
QFile::rename changed on Qt6
rename does not emit fileMoved
2023-06-07 17:14:49 +08:00
guoyao c6629ebb55 chore: adapt REUSE license header
开源合规

Log: 开源合规
2022-08-11 14:02:36 +08:00
Ye ShanShan 847c721c87 fix: unit error
inotify_init1 failed in DFileSystemWatcher, it reports Too many
open files, and now we avoid to CHECK temporarily in ut.

Log: 
Influence: none
Change-Id: I42d508b1ad63dfb4dda8328a41bcbfc530082e97
2022-03-01 16:55:52 +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