diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-03-21 01:04:57 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-03-21 01:04:57 +0100 |
| commit | 9bec46cc1fb6a03d320955054a10154264a3d4ac (patch) | |
| tree | 3c9f8abca31394aa6c6ad533856aba72d3de2943 /tests/database.cpp | |
| parent | 226dfdbc021e9500e70f667bc3ec6131e3b9694e (diff) | |
| download | kazbek-9bec46cc1fb6a03d320955054a10154264a3d4ac.tar.gz | |
Split cmake files between directories
Diffstat (limited to 'tests/database.cpp')
| -rw-r--r-- | tests/database.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/database.cpp b/tests/database.cpp new file mode 100644 index 0000000..d895804 --- /dev/null +++ b/tests/database.cpp @@ -0,0 +1,14 @@ +#define BOOST_TEST_MODULE database tests + +#include <boost/test/unit_test.hpp> +#include "katja/database.hpp" + +BOOST_AUTO_TEST_CASE(generate_package_identifier) +{ + katja::database_package actual("libarchive-3.7.8-i586-1_slack15.0"); + + BOOST_TEST(actual.name == "libarchive"); + BOOST_TEST(actual.version == "3.7.8"); + BOOST_TEST(actual.architecture == "i586"); + BOOST_TEST(actual.build_tag == "1_slack15.0"); +} |
