]>
git.saurik.com Git - apt.git/blob - test/libapt/priority_test.cc
2 #include <apt-pkg/pkgcache.h>
4 #include <gtest/gtest.h>
8 // Tests for Bug#807523
9 TEST(PriorityTest
, PriorityPrinting
)
11 EXPECT_EQ("required", string(pkgCache::Priority(pkgCache::State::Required
)));
12 EXPECT_EQ("important", string(pkgCache::Priority(pkgCache::State::Important
)));
13 EXPECT_EQ("standard", string(pkgCache::Priority(pkgCache::State::Standard
)));
14 EXPECT_EQ("optional", string(pkgCache::Priority(pkgCache::State::Optional
)));
15 EXPECT_EQ("extra", string(pkgCache::Priority(pkgCache::State::Extra
)));