Create interface defining strategy of initialization of pkgmgr_installer object 42/59442/2
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 15 Feb 2016 09:34:51 +0000 (10:34 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 16 Feb 2016 09:07:27 +0000 (10:07 +0100)
commita789adf6288c6b8665040fbab9714a1eaebb6bfd
tree5fa62b0f7135772a92d18759ad0599ff2e5d8e17
parent41f635e54e55cddb479748bec8e96d7d84c343d2
Create interface defining strategy of initialization of pkgmgr_installer object

Smoke tests are randomly crashing since some changes with dbus
connection closing in slp-pkgmgr. It seems to be some time hazard (?)
on closing connection.

Anyway, tests are setting up and closing connection repeatingly.
Introduced interface will allow to customize creation of pkgmgr_installer
object in smoke tests.

Following changes need to be submitted together:
     - https://review.tizen.org/gerrit/59442
     - https://review.tizen.org/gerrit/59443
     - https://review.tizen.org/gerrit/59444

Change-Id: I69f5972c09a593cfe9a282f2120845f85aa65b52
src/common/app_installer.cc
src/common/pkgmgr_interface.cc
src/common/pkgmgr_interface.h