Move db perf tests to a separate exec 27/238627/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 15 Jul 2020 19:25:26 +0000 (21:25 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 16 Jul 2020 11:09:22 +0000 (13:09 +0200)
commit88a82d64a66c2205cac8f79bd767798618aa1057
treeec62b9a0e965248f8713fab906ee86265da11b66
parent641b0b4d0315b3a1fae67e4ad75805741ece4b5d
Move db perf tests to a separate exec

Performance tests are not unit tests and do not improve code coverage. Also
they are all "positive". This commit moves them to a separate binary.

Also fixed performance calculation and few other minor issues.

Code slightly refactored.

Change-Id: Ifcf2463be28001a0e88e5127dd95ee081771382a
common/DBFixture.cpp [moved from unit-tests/DBFixture.cpp with 85% similarity]
common/DBFixture.h [moved from unit-tests/DBFixture.h with 85% similarity]
common/test_common.cpp [moved from unit-tests/test_common.cpp with 100% similarity]
common/test_common.h [moved from unit-tests/test_common.h with 100% similarity]
misc/CMakeLists.txt
misc/db_perf/CMakeLists.txt [new file with mode: 0644]
misc/db_perf/test_db_perf.cpp [new file with mode: 0644]
packaging/key-manager.spec
unit-tests/CMakeLists.txt
unit-tests/test_db_crypto.cpp