Fix smoke-test functions for rollback cases 00/218100/5
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 19 Nov 2019 09:35:50 +0000 (18:35 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Fri, 6 Dec 2019 08:11:58 +0000 (17:11 +0900)
commit08d91e262044fd9ee82018db71b48373834317cb
tree6cb455987ab37cf82148df0b4e7c5780493b012f
parentb6d6b153631dff98fd8ca9392bfb83ac87096b11
Fix smoke-test functions for rollback cases

The custom step cannot be added outside of installer, because steps are
initialized when Run() invoked.
(If some step added outside of installer, that step will be executed at
 first, ignoring original steps)
This patch defines a new virtual function creating overridden installer
object which is fail at the end of steps or specific stage.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/218093

Change-Id: I99de606909e5a673d45545dd05095ee0f4111a51
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/unit_tests/smoke_utils.cc
src/unit_tests/smoke_utils.h