Reorganize tests in security-containers 33/22133/3
authorLukasz Kostyra <l.kostyra@samsung.com>
Thu, 29 May 2014 08:42:20 +0000 (10:42 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Thu, 29 May 2014 12:39:55 +0000 (14:39 +0200)
commitff58c45a03bf2ed110821f8eba907a4a918dc06a
tree4a95c5a320505bca88b461d6e46152ed669e5a50
parent0d0cca04f590d8c3a30154d6a52a0aec4bb07871
Reorganize tests in security-containers

[Feature]       Reorganization of tests in security-containers
[Cause]         Integration tests will be added to security-containers. In order to keep repo clean
                all tests should be gathered in a "tests" directory and there divided into
                test categories.
[Solution]      Created "tests" directory and moved "unit_tests" to "tests" dir. Modified
                CMakeLists to make project buildable. Changed RPM name from ...-unit-tests to
                ...-tests
[Verification]  Build, install, run tests. All tests should work as they did before this commit.

Change-Id: I6d6e89f913fa5e7eece8a8502472ac499bc71117
Signed-off-by: Lukasz Kostyra <l.kostyra@samsung.com>
68 files changed:
CMakeLists.txt
packaging/security-containers-server-tests.manifest [moved from packaging/security-containers-server-unit-tests.manifest with 100% similarity]
packaging/security-containers.spec
tests/CMakeLists.txt [new file with mode: 0644]
tests/scripts/CMakeLists.txt [moved from unit_tests/scripts/CMakeLists.txt with 100% similarity]
tests/scripts/sc_all_tests.py [moved from unit_tests/scripts/sc_all_tests.py with 100% similarity]
tests/scripts/sc_launch_test.py [moved from unit_tests/scripts/sc_launch_test.py with 100% similarity]
tests/scripts/sc_test_parser.py [moved from unit_tests/scripts/sc_test_parser.py with 100% similarity]
tests/unit_tests/CMakeLists.txt [moved from unit_tests/CMakeLists.txt with 98% similarity]
tests/unit_tests/config/ut-configuration.cpp [moved from unit_tests/config/ut-configuration.cpp with 100% similarity]
tests/unit_tests/dbus/configs/CMakeLists.txt [moved from unit_tests/dbus/configs/CMakeLists.txt with 100% similarity]
tests/unit_tests/dbus/configs/ut-connection/ut-dbus.conf [moved from unit_tests/dbus/configs/ut-connection/ut-dbus.conf with 100% similarity]
tests/unit_tests/dbus/test-client.cpp [moved from unit_tests/dbus/test-client.cpp with 100% similarity]
tests/unit_tests/dbus/test-client.hpp [moved from unit_tests/dbus/test-client.hpp with 100% similarity]
tests/unit_tests/dbus/test-common.hpp [moved from unit_tests/dbus/test-common.hpp with 100% similarity]
tests/unit_tests/dbus/test-server.cpp [moved from unit_tests/dbus/test-server.cpp with 100% similarity]
tests/unit_tests/dbus/test-server.hpp [moved from unit_tests/dbus/test-server.hpp with 100% similarity]
tests/unit_tests/dbus/ut-connection.cpp [moved from unit_tests/dbus/ut-connection.cpp with 100% similarity]
tests/unit_tests/libvirt/connection.cpp [moved from unit_tests/libvirt/connection.cpp with 100% similarity]
tests/unit_tests/libvirt/domain.cpp [moved from unit_tests/libvirt/domain.cpp with 100% similarity]
tests/unit_tests/log/ut-logger.cpp [moved from unit_tests/log/ut-logger.cpp with 100% similarity]
tests/unit_tests/server/configs/CMakeLists.txt [moved from unit_tests/server/configs/CMakeLists.txt with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/containers/buggy.conf.in [moved from unit_tests/server/configs/ut-container-admin/containers/buggy.conf.in with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/containers/missing.conf [moved from unit_tests/server/configs/ut-container-admin/containers/missing.conf with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/containers/test-no-shutdown.conf.in [moved from unit_tests/server/configs/ut-container-admin/containers/test-no-shutdown.conf.in with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/containers/test.conf.in [moved from unit_tests/server/configs/ut-container-admin/containers/test.conf.in with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/libvirt-config/buggy.xml [moved from unit_tests/server/configs/ut-container-admin/libvirt-config/buggy.xml with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/libvirt-config/test-no-shutdown.xml [moved from unit_tests/server/configs/ut-container-admin/libvirt-config/test-no-shutdown.xml with 100% similarity]
tests/unit_tests/server/configs/ut-container-admin/libvirt-config/test.xml [moved from unit_tests/server/configs/ut-container-admin/libvirt-config/test.xml with 100% similarity]
tests/unit_tests/server/configs/ut-container-connection/ut-dbus.conf [moved from unit_tests/server/configs/ut-container-connection/ut-dbus.conf with 100% similarity]
tests/unit_tests/server/configs/ut-container/containers/buggy.conf [moved from unit_tests/server/configs/ut-container/containers/buggy.conf with 100% similarity]
tests/unit_tests/server/configs/ut-container/containers/test-dbus.conf [moved from unit_tests/server/configs/ut-container/containers/test-dbus.conf with 100% similarity]
tests/unit_tests/server/configs/ut-container/containers/test.conf [moved from unit_tests/server/configs/ut-container/containers/test.conf with 100% similarity]
tests/unit_tests/server/configs/ut-container/libvirt-config/test-dbus.xml.in [moved from unit_tests/server/configs/ut-container/libvirt-config/test-dbus.xml.in with 100% similarity]
tests/unit_tests/server/configs/ut-container/libvirt-config/test.xml [moved from unit_tests/server/configs/ut-container/libvirt-config/test.xml with 100% similarity]
tests/unit_tests/server/configs/ut-container/ut-dbus.conf [moved from unit_tests/server/configs/ut-container/ut-dbus.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/buggy-daemon.conf [moved from unit_tests/server/configs/ut-containers-manager/buggy-daemon.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/buggy-foreground-daemon.conf [moved from unit_tests/server/configs/ut-containers-manager/buggy-foreground-daemon.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/containers/console1.conf [moved from unit_tests/server/configs/ut-containers-manager/containers/console1.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/containers/console2.conf [moved from unit_tests/server/configs/ut-containers-manager/containers/console2.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/containers/console3.conf [moved from unit_tests/server/configs/ut-containers-manager/containers/console3.conf with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/libvirt-config/console1.xml [moved from unit_tests/server/configs/ut-containers-manager/libvirt-config/console1.xml with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/libvirt-config/console2.xml [moved from unit_tests/server/configs/ut-containers-manager/libvirt-config/console2.xml with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/libvirt-config/console3.xml [moved from unit_tests/server/configs/ut-containers-manager/libvirt-config/console3.xml with 100% similarity]
tests/unit_tests/server/configs/ut-containers-manager/test-daemon.conf [moved from unit_tests/server/configs/ut-containers-manager/test-daemon.conf with 100% similarity]
tests/unit_tests/server/configs/ut-server/buggy-daemon.conf [moved from unit_tests/server/configs/ut-server/buggy-daemon.conf with 100% similarity]
tests/unit_tests/server/configs/ut-server/containers/container1.conf [moved from unit_tests/server/configs/ut-server/containers/container1.conf with 100% similarity]
tests/unit_tests/server/configs/ut-server/containers/container2.conf [moved from unit_tests/server/configs/ut-server/containers/container2.conf with 100% similarity]
tests/unit_tests/server/configs/ut-server/containers/container3.conf [moved from unit_tests/server/configs/ut-server/containers/container3.conf with 100% similarity]
tests/unit_tests/server/configs/ut-server/libvirt-config/container1.xml [moved from unit_tests/server/configs/ut-server/libvirt-config/container1.xml with 100% similarity]
tests/unit_tests/server/configs/ut-server/libvirt-config/container2.xml [moved from unit_tests/server/configs/ut-server/libvirt-config/container2.xml with 100% similarity]
tests/unit_tests/server/configs/ut-server/libvirt-config/container3.xml [moved from unit_tests/server/configs/ut-server/libvirt-config/container3.xml with 100% similarity]
tests/unit_tests/server/configs/ut-server/test-daemon.conf [moved from unit_tests/server/configs/ut-server/test-daemon.conf with 100% similarity]
tests/unit_tests/server/ut-container-admin.cpp [moved from unit_tests/server/ut-container-admin.cpp with 100% similarity]
tests/unit_tests/server/ut-container-connection.cpp [moved from unit_tests/server/ut-container-connection.cpp with 100% similarity]
tests/unit_tests/server/ut-container.cpp [moved from unit_tests/server/ut-container.cpp with 100% similarity]
tests/unit_tests/server/ut-containers-manager.cpp [moved from unit_tests/server/ut-containers-manager.cpp with 100% similarity]
tests/unit_tests/server/ut-server.cpp [moved from unit_tests/server/ut-server.cpp with 100% similarity]
tests/unit_tests/ut.cpp [moved from unit_tests/ut.cpp with 100% similarity]
tests/unit_tests/ut.hpp [moved from unit_tests/ut.hpp with 100% similarity]
tests/unit_tests/utils/configs/CMakeLists.txt [moved from unit_tests/utils/configs/CMakeLists.txt with 100% similarity]
tests/unit_tests/utils/configs/ut-fs/file.txt [moved from unit_tests/utils/configs/ut-fs/file.txt with 100% similarity]
tests/unit_tests/utils/scoped-daemon.cpp [moved from unit_tests/utils/scoped-daemon.cpp with 100% similarity]
tests/unit_tests/utils/scoped-daemon.hpp [moved from unit_tests/utils/scoped-daemon.hpp with 100% similarity]
tests/unit_tests/utils/ut-callback-guard.cpp [moved from unit_tests/utils/ut-callback-guard.cpp with 100% similarity]
tests/unit_tests/utils/ut-fs.cpp [moved from unit_tests/utils/ut-fs.cpp with 100% similarity]
tests/unit_tests/utils/ut-glib-loop.cpp [moved from unit_tests/utils/ut-glib-loop.cpp with 100% similarity]
tests/unit_tests/utils/ut-paths.cpp [moved from unit_tests/utils/ut-paths.cpp with 100% similarity]