blob: ef1941ce5a6cf208e7bbfeb7ceac1254989dc665 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <config.h>
#include <apt-pkg/pkgcache.h>
#include <string>
#include <gtest/gtest.h>
using std::string;
// Tests for Bug#807523
TEST(PriorityTest, PriorityPrinting)
{
EXPECT_EQ("required", string(pkgCache::Priority(pkgCache::State::Required)));
EXPECT_EQ("important", string(pkgCache::Priority(pkgCache::State::Important)));
EXPECT_EQ("standard", string(pkgCache::Priority(pkgCache::State::Standard)));
EXPECT_EQ("optional", string(pkgCache::Priority(pkgCache::State::Optional)));
EXPECT_EQ("extra", string(pkgCache::Priority(pkgCache::State::Extra)));
}
|