diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-05-20 17:53:57 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-05-20 17:53:57 +0200 |
| commit | 76985de795f33f71684635ad5f14dc84aefea26e (patch) | |
| tree | e8aed126b84b4ba3a76cf26fb9720c0f83eac594 /backend/tests/slackpkg-test.cc | |
| parent | c04278ff84c2c4d9c54bbd43c1542e4eace40419 (diff) | |
| download | katja-76985de795f33f71684635ad5f14dc84aefea26e.tar.gz | |
Fix the backend test
Diffstat (limited to 'backend/tests/slackpkg-test.cc')
| -rw-r--r-- | backend/tests/slackpkg-test.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/backend/tests/slackpkg-test.cc b/backend/tests/slackpkg-test.cc deleted file mode 100644 index 89406af..0000000 --- a/backend/tests/slackpkg-test.cc +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ -#define BOOST_TEST_MODULE slackpkg tests - -#include <boost/test/unit_test.hpp> -import katja.slackpkg; - -BOOST_AUTO_TEST_CASE(slack_test_slackpkg_construct) -{ - auto slackpkg = new Slackpkg("some", "mirror", 1, nullptr, nullptr); - - BOOST_TEST(strcmp(slackpkg->get_name(), "some") == 0); - BOOST_TEST(strcmp(slackpkg->get_mirror(), "mirror") == 0); - BOOST_TEST(slackpkg->get_order() == 1); - BOOST_TEST(!slackpkg->is_blacklisted("pattern")); - - delete slackpkg; -} |
