feat: implementation of the major feature of dbus service

Log:
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-07-24 14:12:59 +08:00
committed by Comix
parent 839383ecae
commit fe284e78b6
30 changed files with 1446 additions and 156 deletions

View File

@ -57,10 +57,10 @@ TEST_F(TestDesktopEntry, prase)
ASSERT_EQ(err, ParseError::NoError);
auto group = entry.group("Desktop Entry");
ASSERT_FALSE(group.isEmpty());
ASSERT_TRUE(group);
auto name = group.constFind("Name");
ASSERT_NE(name, group.cend());
auto name = group->constFind("Name");
ASSERT_NE(name, group->cend());
bool ok;
name->toBoolean(ok);