blob: ed764c8d22c448b5b670c68dfdda6cf16cdfb69d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* 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 database tests
#include <boost/test/unit_test.hpp>
import katja.database;
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");
}
|