]> git.saurik.com Git - apt.git/blame - test/libapt/priority_test.cc
use the same redirection handling for http and https
[apt.git] / test / libapt / priority_test.cc
CommitLineData
2fcd25a9
JAK
1#include <config.h>
2#include <apt-pkg/pkgcache.h>
3#include <string>
4#include <gtest/gtest.h>
5
6using std::string;
7
8// Tests for Bug#807523
9TEST(PriorityTest, PriorityPrinting)
10{
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)));
16}