refact: change dbus api and service impl
1. change IconName and DisplayName to method 2. refactor impl of GetManagedObject and move it to global.h 3. refactor impl of JobService::status 4. add ut_job.cpp Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -10,7 +10,7 @@ class TestJobManager : public testing::Test
|
||||
public:
|
||||
static void SetUpTestCase() { m_jobManager = new JobManager1Service(nullptr); }
|
||||
|
||||
static void TearDownTestCase() { delete m_jobManager; }
|
||||
static void TearDownTestCase() { m_jobManager->deleteLater(); }
|
||||
JobManager1Service &service() { return *m_jobManager; }
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user