Junghyun Yeon [Thu, 27 Aug 2020 00:26:15 +0000 (09:26 +0900)]
Fix coding rule
Change-Id: I76a57a09f58c4f84cef4327fc2dde6676168d372
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Wed, 29 Jul 2020 04:59:02 +0000 (13:59 +0900)]
Change to use gmock package instead of gtest
Change-Id: Ic5326d91b98ba9c1a17686f118e9740a229aa77b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 06:51:35 +0000 (15:51 +0900)]
Release version 1.10.10
Changes:
- Adjust a changed smoke utils header
Change-Id: I57679451db5ccead662f10317d2a87378ac99d20
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 03:43:20 +0000 (12:43 +0900)]
Adjust a changed smoke utils header
Change-Id: I3d32a1d79ce98337125f242ad3d3c4264745844c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 07:24:12 +0000 (16:24 +0900)]
Release version 1.10.9
Changes:
- Combine try-catch statement in recovery test
- Add try-catch statement
- Move test codes
Change-Id: I26fea3350deea05ab30111ecfb2123a8b63ba2a7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 21 Aug 2020 02:15:59 +0000 (11:15 +0900)]
Move test codes
Move test codes into ${src root}/test and rename it to smoke_tests.
Change-Id: If1b83fcd255f5d36e20a66e13df3974906525cba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 01:29:07 +0000 (10:29 +0900)]
Add try-catch statement
Change-Id: I3708d06c0ddd27f421c0adfe8350f514c09468a5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 18 Aug 2020 08:25:51 +0000 (17:25 +0900)]
Combine try-catch statement in recovery test
Change-Id: I8f26d8c9b714eada2537ddd2f60547aecc7c97fd
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 10 Aug 2020 08:14:38 +0000 (17:14 +0900)]
Release version 1.10.8
Changes:
- Fix static analysis issue
- Refactor recovery test
- Allow the other options in smoke test
- Add user request mode test for recovery test
- Change archive info behavior
Change-Id: I5b96247bea725db8c9082ad6f07804658c52c82f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 7 Aug 2020 07:35:13 +0000 (16:35 +0900)]
Change archive info behavior
Change archive info to not fail if there are icon file exists but empty
Change-Id: I78c61371e1fca569ed7a1e9e33ad26670986cee6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 28 Jul 2020 02:22:19 +0000 (11:22 +0900)]
Add user request mode test for recovery test
Recovery test can run user request mode With additional option '--user-request'
Change-Id: I0759d9cfc76dc2231e194a7c892c4814d114cf0a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 27 Jul 2020 10:38:45 +0000 (19:38 +0900)]
Allow the other options in smoke test
ex) --user-request for user mode test
Change-Id: I0c65b210db7d0c6628dff5da9c8cc182945355a9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 27 Jul 2020 11:21:39 +0000 (20:21 +0900)]
Refactor recovery test
Change to use GTEST_FLAG to provide the gtest option
Change-Id: I75957a53a04445e9515580bbfc69aa0592656587
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 3 Aug 2020 07:32:26 +0000 (16:32 +0900)]
Fix static analysis issue
Fix uncaught exepction.
Change-Id: Iaecd4303cbdc18e848b614e3df8520ee05a85b9b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 3 Aug 2020 05:52:01 +0000 (14:52 +0900)]
Release version 1.10.7
Changes:
- Add try-catch statements
Change-Id: I765933616b1514a57ea8f80d9ec94128f8184d30
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 30 Jul 2020 07:19:13 +0000 (16:19 +0900)]
Add try-catch statements
Change-Id: I7b9570a89e70ace32d20ccd93326f368591f4560
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 24 Jul 2020 05:44:21 +0000 (14:44 +0900)]
Release version 1.10.6
Changes:
- Supress build warnings
Change-Id: Ic4a86afe435ba350987e916029a2aa8b8ed72b1c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 28 May 2020 11:24:47 +0000 (20:24 +0900)]
Supress build warnings
ASSERT_EQ defined at gtest uses if-else without braces
so if we use it with braceless if statement, it will cause
ambiguous else warning. This patch remove warnings by
adding braces at if statements.
Change-Id: Ifdeabf66bf4fc42cc69a9ef43b6557ea794ef87e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 6 Jul 2020 08:09:05 +0000 (17:09 +0900)]
Release version 1.10.5
Changes:
- Implement recovery test for uninstallation
- Change filepath
Change-Id: Iada529f518c047cbdd4f25926b50264e249c0f3d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 2 Jul 2020 00:45:22 +0000 (09:45 +0900)]
Change filepath
Its path has changed.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/237608
Change-Id: Ib4420a7190ea5378a25cf2fc15d41bf2b9faa6eb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 16 Jun 2020 09:50:32 +0000 (18:50 +0900)]
Implement recovery test for uninstallation
Recovery for uninstallation should be operated as normal uninstall.
Change-Id: I6435b7a50a936948083a7248883158c24a8b0d49
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 12 Jun 2020 06:58:40 +0000 (15:58 +0900)]
Release version 1.10.4
Changes:
- Validate version when running recovery/rollback update tests
- Validate file contents which are located at extracted dir
- Fix StepTpkPreparePackageDirectory
- Validate unpacked_dir not exists when recovery done
Change-Id: I9184d6679644e0f01e76b1efbf67590b2ffe501f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 4 Jun 2020 10:37:55 +0000 (19:37 +0900)]
Validate unpacked_dir not exists when recovery done
Change-Id: I6ff9f1e84b57f431df67f9e9dd5e6abed78b0f4c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 4 Jun 2020 09:02:03 +0000 (18:02 +0900)]
Fix StepTpkPreparePackageDirectory
The unpacked dir path should not be changed. The extracted files will be
recovered without changing unpacked dir path.
Change-Id: Iab1444c1ed26718ae0651263258906a482caac4d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 4 Jun 2020 08:58:38 +0000 (17:58 +0900)]
Validate file contents which are located at extracted dir
When the package mount installed, some contents of package will be
extracted at package directory, because someone needs those files
without mounting zip file.
The test needs to validate those files recovered or rollbacked well or not.
Change-Id: Id72749b4cf5852f22bec30eaf3b52c157e13bc5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 4 Jun 2020 02:44:35 +0000 (11:44 +0900)]
Validate version when running recovery/rollback update tests
Change-Id: I56a1a49a8e19e6d259168602f50280eb61d3a241
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Mon, 1 Jun 2020 02:30:13 +0000 (11:30 +0900)]
Release version 1.10.3
Changes:
- Add GetArchiveInfo
- Make smoke utils as a library
- Move CrashTpkInstaller class to tpk-smoke-utils
- Fix ReadonlyUpdateInstallSteps base step name
- Fix minor coding rule
- Fix build error
- Add description at help message for recovery test for clarification
- Add TpkInstallerFactory
- Fix coding rule
Change-Id: Ia212f83f14fdc02e15936f9f76257305022b84fa
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Wed, 27 May 2020 10:02:28 +0000 (19:02 +0900)]
Fix coding rule
Change-Id: I9937e5b40582756a27fe48ef6078b8411a111595
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 17 Apr 2020 07:40:26 +0000 (16:40 +0900)]
Add TpkInstallerFactory
Now tpk-backend uses installer-runner to run the installer
Change-Id: I8cbc1b19f4f6fb9887ffab001453e4badef08f96
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 18 May 2020 10:38:34 +0000 (19:38 +0900)]
Add description at help message for recovery test for clarification
Change-Id: I08f5c765b6586b42c8c67743c71af3cba9fad8a6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 24 Apr 2020 05:14:07 +0000 (14:14 +0900)]
Fix build error
Change-Id: I38e9b2ab62dee51ca495b808adacb69aa6604ae3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 10:05:14 +0000 (19:05 +0900)]
Fix minor coding rule
- Apply early-return policy.
- Print error while some boost API calling has failed.
Change-Id: I659e486fe6e7ed540497613470fa3c3a19d774e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 14 Apr 2020 04:38:34 +0000 (13:38 +0900)]
Fix ReadonlyUpdateInstallSteps base step name
Relates :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/230753/
Change-Id: Iccec6f1d54c48349197871064fc05c5bbf8f94a1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 11:11:44 +0000 (20:11 +0900)]
Move CrashTpkInstaller class to tpk-smoke-utils
This class can be used at other test, such as smoke test of unified-installer.
Change-Id: Idf72e0c8533b5d70530d36684d7ec7c534627416
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 06:18:09 +0000 (15:18 +0900)]
Make smoke utils as a library
This tpk-smoke-utils library is used at smoke test of unified-installer.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/228720
Change-Id: I342c1827141c3331459a2d752c133aa86ee408dd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Wed, 11 Mar 2020 06:02:26 +0000 (15:02 +0900)]
Add GetArchiveInfo
Requires :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/228145/
Change-Id: I0fa47880207b598e7ae9ad6d4f87dadfdf529e96
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 3 Apr 2020 06:44:45 +0000 (15:44 +0900)]
Release version 1.10.2
Changes:
- Fix TpkArchiveInfo
Change-Id: Idfeaa8a620758ec0ce1fea7c0d0643c15219da12
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 27 Feb 2020 03:30:33 +0000 (12:30 +0900)]
Fix TpkArchiveInfo
There is a new base class for TpkArchiveInfo.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/226596
Change-Id: Icba15e406426f6e53f5be17e11e12269c54f8bc8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 6 Mar 2020 07:43:40 +0000 (16:43 +0900)]
Release version 1.10.1
Changes:
- Add StepCrash's clean operation
Change-Id: I3f5b48bb158126856d4ef173f421ae121b4de425
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 27 Feb 2020 01:17:20 +0000 (10:17 +0900)]
Add StepCrash's clean operation
This patch can be used to test the installation termination in a clean operation
Change-Id: Iea285d4f6e66dc7104c00665c46a3295a91c8b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 27 Feb 2020 03:32:19 +0000 (12:32 +0900)]
Release version 1.10.0
Changes:
- Split rpm packaging into library part and backend part
- Fix smoke test
Change-Id: Ie355e126c4ff2411ab42e2493d19586367f87f92
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 18 Feb 2020 00:10:40 +0000 (09:10 +0900)]
Fix smoke test
Recovery check routine changed after the recovery file is created
Change-Id: Ie3641e07104ba1f4bc6e3ee7d7a6dc1396a3ed5d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 08:44:39 +0000 (17:44 +0900)]
Split rpm packaging into library part and backend part
Change-Id: Icab87d25d042bfdd678395699eeb0df4bf766efa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 14 Feb 2020 07:54:36 +0000 (16:54 +0900)]
Release version 1.9.3
Changes:
- Change clean operations not to return failure
Change-Id: I3e00c713fc5096e145e5ea07923be986f37bfd14
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 23 Jan 2020 01:41:29 +0000 (10:41 +0900)]
Change clean operations not to return failure
Change-Id: I586f5785661eaf8dd06c841656323066ba038113
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 31 Jan 2020 04:33:19 +0000 (13:33 +0900)]
Release version 1.9.2
Changes:
- Change the way to invoke installer as a subprocess
- Add backup_type option for smoke test
Change-Id: I877ead97220c401331aac3743b5f63376653c11f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 22 Nov 2019 02:26:03 +0000 (11:26 +0900)]
Add backup_type option for smoke test
Run smoke tests with argumant "--backup-type <move|copy>"
select backup's type 'move' or 'copy and remove'
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/217537/
Change-Id: Iebe9c6ef1f7e6c1d03753a78bf049ecc628197ee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 12 Dec 2019 04:28:32 +0000 (13:28 +0900)]
Change the way to invoke installer as a subprocess
Requires :
[app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/220004/
Change-Id: I18b51a7bdf85daeb1dad60178fa045bf40f85cad
Ilho Kim [Fri, 17 Jan 2020 08:42:53 +0000 (17:42 +0900)]
Release version 1.9.1
Changes:
- Resolve static analysis issue
Change-Id: Iecfadd443a627be00d0b2bf27bf408965ffa1407
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 17 Jan 2020 01:27:58 +0000 (10:27 +0900)]
Resolve static analysis issue
Change-Id: I0c532cc7ca55da09fcfc1bb661aa2b81387d2496
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 7 Jan 2020 08:59:39 +0000 (17:59 +0900)]
Release version 1.9.0
Changes:
- Refactor recovery test tool
- Fix adding steps using default steps
Change-Id: I182734cc16877d239f5979564cb0c18e43b053a2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 29 May 2019 10:06:01 +0000 (19:06 +0900)]
Fix adding steps using default steps
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/207215
Change-Id: Ibba0273f806b5c636b23a5bc7b9924b5a91758f7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 29 Nov 2019 06:59:33 +0000 (15:59 +0900)]
Refactor recovery test tool
- Use enum class, not typedef
- Use boost program options for parsing argument
Change-Id: I1d129ab935e65b3eda701135e732e45eba55180f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 13 Dec 2019 07:02:59 +0000 (16:02 +0900)]
Release version 1.8.14
Changes:
- Add no backup option for smoke tests
- Fix smoke-test functions for rollback cases
- Change duplicated step name
- Add test cases for updating shared data dir
- Fix recovery test when recovery file doesn't exist
Change-Id: I399c3dc57ed93a34a84caf4b64247b24aba893cf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 3 Dec 2019 05:21:09 +0000 (14:21 +0900)]
Fix recovery test when recovery file doesn't exist
If installer is terminated before creating the recovery file
The test should be skipped, not failed
Change-Id: I9df1d77f2848c5e975596b7d4085700f41a0d6d3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 19 Nov 2019 09:16:29 +0000 (18:16 +0900)]
Add test cases for updating shared data dir
Added:
- RollbackTest.UpdateMode_SharedData: update case of shareddata -> non-shareddata
- RollbackTest.UpdateMode_NonSharedData: update case of non-shareddata -> shareddata
- SmokeTest.RecoveryMode_SharedData: recovery case of shareddata -> non-shareddata
- SmokeTest.RecoveryMode_NonSharedData: recovery case of non-shareddata -> shareddata
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/218218
Change-Id: I078c5b1f907382b3ff88b42508678b772da48e13
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 11:10:18 +0000 (20:10 +0900)]
Change duplicated step name
Same step name exists on wgt-backend.
Change-Id: Iea12e8def08dd21e91302a602c82c1eb91881c97
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 19 Nov 2019 09:17:04 +0000 (18:17 +0900)]
Fix smoke-test functions for rollback cases
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/218093
Change-Id: I456bfa94a24169384629b7c661dbdfff1a35f7de
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 19 Nov 2019 06:18:33 +0000 (15:18 +0900)]
Add no backup option for smoke tests
Run smoke tests with argument "--no-backup", backup is skipped
Change-Id: I83d58214b63f5528a0cc3c110cfa8554c5a0e544
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 25 Nov 2019 08:21:47 +0000 (17:21 +0900)]
Release version 1.8.13
Changes:
- Revert "Fix recovery test's failure"
Change-Id: I2b38f1ff3b7506464f2e2f0a631f8ff2e2ac7489
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 19 Nov 2019 04:54:34 +0000 (13:54 +0900)]
Revert "Fix recovery test's failure"
This reverts commit
c6435c86d25654408945b09f1ad48723b38aaa67.
PkgQuery should not be used directly.
Change-Id: Ie90b8087d092bdf6917e0ef7a48e674ab7f72c1f
Ilho Kim [Tue, 12 Nov 2019 04:28:40 +0000 (13:28 +0900)]
Release version 1.8.12
Changes:
- Move implementation of virtual functions which does nothing
- Add capability and exec_label for recovery_test
- Fix build warning
- Change packages used in recovery test
- Adjust order of steps
- Fix coding rule
- Modify recovery test to handle cleanup type
Change-Id: I057e2abcf8c6d8ab2963dd0c66f7b34ee42948d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 8 Nov 2019 00:45:19 +0000 (09:45 +0900)]
Modify recovery test to handle cleanup type
When recovery file set cleanup, recovery package is updated
So in this case, it is necessary to compare updated content
-Reference
[app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/216457/
Change-Id: Id005fcb3ec495822c90e00f7fd4a396b31f9ff56
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 5 Nov 2019 11:40:05 +0000 (20:40 +0900)]
Fix coding rule
Change-Id: Ia7c301b2ada2c3528d270cc064c8e06e52d390db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 21 Oct 2019 08:35:06 +0000 (17:35 +0900)]
Adjust order of steps
Revert from '
ca625dadda76259cec5543a2c4096e1d39fbc15f'
Change-Id: Iad1907e2eb583a769db2abbb16472c1558144b33
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 08:45:59 +0000 (17:45 +0900)]
Change packages used in recovery test
Increase the package size
Change-Id: Ie3723b4e431a9e0abce29669a0d4a60c9d1df0b4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 04:52:56 +0000 (13:52 +0900)]
Fix build warning
Warning that "deprecated conversion from string constant to 'char*'"
Change-Id: I358e41d668af069b79e40ff353f3ce62339a9654
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 04:08:21 +0000 (13:08 +0900)]
Add capability and exec_label for recovery_test
Install request requires some capability and smack label
Change-Id: I593a895d7f42009287497d76591b3582e6a6837e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 31 Oct 2019 07:49:52 +0000 (16:49 +0900)]
Move implementation of virtual functions which does nothing
Change-Id: I693a5cebff4b31ca013b765185f810837e36382b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 20 Sep 2019 01:38:22 +0000 (10:38 +0900)]
Release version 1.8.11
Changes:
- Fix StepTpkPatchIcons
Change-Id: Ic52a056a2e3b79e66a0b205cd62ab8b2f7a9b854
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 26 Jul 2019 07:25:20 +0000 (16:25 +0900)]
Fix StepTpkPatchIcons
- Fix coding rules.
- Fix possible static issue.
- Add error checking routines.
Change-Id: Ic7d8e7a3977a196c872cb55f8ec68116aeeb82ba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:10:26 +0000 (16:10 +0900)]
Release version 1.8.10
Changes:
- Change order of StepRemoveTemporaryDirectory
- Add recover test for crash after unzip
Change-Id: Ic646ecf3d9ac41725c0af63a54db364e6172e91b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Aug 2019 11:57:30 +0000 (20:57 +0900)]
Add recover test for crash after unzip
requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212535/
Change-Id: I842ef743a815a4ff040c554e1795d3bc5d443b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 26 Aug 2019 05:32:10 +0000 (14:32 +0900)]
Change order of StepRemoveTemporaryDirectory
In case installation terminated after StepUnzip,
recovery file doesn't have pkgid,
and then StepParseManifest will return RECOVERY_DONE,
and temporary file doesn't be removed
Change-Id: I671090285767b7d2ecbe10e5f28e0772b14f18b1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 01:36:36 +0000 (10:36 +0900)]
Release version 1.8.9
Changes:
- Fix static analysis issue
- Fix recovery test's failure
- Add GetDependencyInfo at TPK archive info
Change-Id: Id5fa83dbc4f59f86d38588e3cb2d1ec72c34552f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 30 Jul 2019 07:50:09 +0000 (16:50 +0900)]
Add GetDependencyInfo at TPK archive info
Related changes:
[slp-pkgmgr] : https://review.tizen.org/gerrit/211114
[pkgmgr-info] : https://review.tizen.org/gerrit/211111
Change-Id: I7c8fd6dcf8be0387c7fcd98f8018f0174044b873
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 29 Jul 2019 11:04:55 +0000 (20:04 +0900)]
Fix recovery test's failure
In testcase with repeat, PkgQuery has handle that made from singleton,
so there is a need to reset the singleton
Change-Id: If95e80525a7ed1763dc0bc58f3ca9086ce4652de
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 04:17:46 +0000 (13:17 +0900)]
Fix static analysis issue
Fix NULL Pointer dereference when memory allocation fails
Change-Id: Id988582b90da46dffb799ac17414b3e9b2a7cdd9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 08:15:54 +0000 (17:15 +0900)]
Release version 1.8.8
Changes:
- Implement recovery test for forced termination
- Fix coding style
Change-Id: I6f0a0072f85b9824f38118f7725d883d8b4b6389
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 31 Jul 2019 03:28:12 +0000 (12:28 +0900)]
Fix coding style
Change-Id: I9353b9beb35f888cb9d06c60d9475c6028b84b14
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 5 Jun 2019 07:45:54 +0000 (16:45 +0900)]
Implement recovery test for forced termination
Using time interval, kill install process and perform a recovery test
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/209477/
Change-Id: Ifa90cab0b5b0da70f620bfcfcb8f39a81d2ee180
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 22 Jul 2019 08:44:11 +0000 (17:44 +0900)]
Release version 1.8.7
Changes:
- Fix smoke test
- Revert "Fix smoke test"
Change-Id: I991fae939df464b24b711a2177f8b19b34990639
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ilho kim [Mon, 22 Jul 2019 05:34:29 +0000 (05:34 +0000)]
Revert "Fix smoke test"
This reverts commit
554cc188a5a66e0642123905dfa690a20dc46dce.
Change-Id: I451e68ffcd413c3023a57d0fa53d9d2bdc29c290
Ilho Kim [Wed, 17 Jul 2019 08:11:15 +0000 (17:11 +0900)]
Fix smoke test
Add process to initialize DB for test
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/210253/
Change-Id: I86de0dc31a08a26604eee7095469000d78a4f0b1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 12 Jul 2019 06:47:13 +0000 (15:47 +0900)]
Release version 1.8.6
Changes:
- Combine StorageDirectories Steps
- Unit tests for duplicated splash screen detection
Change-Id: I18c8a2d01b408e9251e6aae1f74c9eea3d5acee1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Michal Marszal [Mon, 29 Apr 2019 14:37:29 +0000 (16:37 +0200)]
Unit tests for duplicated splash screen detection
Patch requires: https://review.tizen.org/gerrit/#/c/205150/
Change-Id: I0c65e0e3e933f3dc1760417192c45ce3c7146acb
Signed-off-by: Michal Marszal <m.marszal@samsung.com>
Ilho Kim [Tue, 14 May 2019 01:47:19 +0000 (10:47 +0900)]
Combine StorageDirectories Steps
Combined step :
- StepCreateStorageDirectories and StepCreatePerUserStorageDirectories
- StepUpdateStorageDirectories and StepUpdatePerUserStorageDirectories
- StepRecoverStorageDirectories and StepRecoverPerUserStorageDirectories
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/206075/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/206194/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/206193/
Change-Id: I0de7d1c33cfd06619b130c988bc77c7a9dccbd9e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 26 Jun 2019 01:50:54 +0000 (10:50 +0900)]
Release version 1.8.5
Changes:
- Fix namespace of StepCreateRecoveryFile
- Fix smoke test helper
- Fix name of some steps
Change-Id: Iac924691ecaee45babed138825d27aae2abbfe32
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 11 Jun 2019 08:45:17 +0000 (17:45 +0900)]
Fix name of some steps
The name of class StepExampleClass should be "ExampleClass"
Change-Id: Ic6c72e66ea2868e998849d212a55fffe4edf1ef7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 Apr 2019 07:39:37 +0000 (16:39 +0900)]
Fix smoke test helper
To use custom step, we need to derive a new class.
(refer: https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203760)
Change-Id: I8eadd437e8a1a2b20a34fa0a3d7f0cd8b75d0f96
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 May 2019 10:07:15 +0000 (19:07 +0900)]
Fix namespace of StepCreateRecoveryFile
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/206959
Change-Id: Ia36967a54acbc12a56883a1894a19abc1c1e5967
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Jun 2019 04:42:15 +0000 (13:42 +0900)]
Release version 1.8.4
Changes:
- Fix libtpk
Change-Id: I934aaae337e184904319e936201e08b2f9d14b67
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Jun 2019 02:31:33 +0000 (11:31 +0900)]
Fix libtpk
Add extern "C" to using at C module.
Change-Id: I1f8479346b22649368d58c2974cdb9113ed7002f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 31 May 2019 06:23:39 +0000 (15:23 +0900)]
Release version 1.8.3
Changes:
- Combine Signature Steps
- Remove visibility flag to export all classes
- Standardize use of STEP_NAME()
- Combine Plugin Steps
- Add comparing package attributes for ReadonlyUpdateUninstall test
Change-Id: I65eb04084b7fe4199d8e886a523044c7ff78ad49
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 16 Apr 2019 07:56:31 +0000 (16:56 +0900)]
Add comparing package attributes for ReadonlyUpdateUninstall test
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203612
Change-Id: I8f1def6d86993b411c856bc1dd168d134cb7d149
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 26 Apr 2019 05:57:26 +0000 (14:57 +0900)]
Combine Plugin Steps
StepRunParserPlugin combines below steps
- StepRegisterPluginInfo
- StepUpdatePluginInfo
- StepUnregisterPluginInfo
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/204652/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/204757/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/205385/
Change-Id: I4a4730f20ab09c98e6040eda901258f94e050e21
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 May 2019 03:00:05 +0000 (12:00 +0900)]
Standardize use of STEP_NAME()
In case class name is StepExampleClass, Pass "ExampleClass" to STEP_NAME()
Change-Id: Id2bcb7c21b704a949613896527731c68ef8743ac
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 15 May 2019 11:14:57 +0000 (20:14 +0900)]
Remove visibility flag to export all classes
This flag was added to reduce binary size, but it doesn't meaningful at
this time. And we need to export all classes for custom backends.
- Binary size comparison
Before this patch: 1599404 Bytes
After this patch: 1616560 Bytes
Change-Id: I12b6680671c220488494df130f5245c97c3d57c3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho [Wed, 10 Apr 2019 06:22:45 +0000 (15:22 +0900)]
Combine Signature Steps
StepCheckSignature and StepSaveSignature are combined
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/203140/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/203141/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/203513/
Change-Id: Ie2e20c033f2663f08aab09e0f4810a19a6d4b174
Signed-off-by: ilho <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 02:16:41 +0000 (11:16 +0900)]
Release version 1.8.2
Changes:
- Do not call Init() for initialize steps
Change-Id: I68a52673c76a252b2342e00d13d16e54c1dc58d3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>