aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_any.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/resolver_TEST_any.cc')
-rw-r--r--paludis/resolver/resolver_TEST_any.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/paludis/resolver/resolver_TEST_any.cc b/paludis/resolver/resolver_TEST_any.cc
index fa94ed9..2f276de 100644
--- a/paludis/resolver/resolver_TEST_any.cc
+++ b/paludis/resolver/resolver_TEST_any.cc
@@ -344,3 +344,24 @@ TEST_F(ResolverAnyTestCase, UpgradeOverAny)
);
}
+TEST_F(ResolverAnyTestCase, NoActiveLabels)
+{
+ std::shared_ptr<const Resolved> resolved(data->get_resolved("no-active-labels/target"));
+
+ this->check_resolved(resolved,
+ n::taken_change_or_remove_decisions() = make_shared_copy(DecisionChecks()
+ .change(QualifiedPackageName("no-active-labels/target"))
+ .finished()),
+ n::taken_unable_to_make_decisions() = make_shared_copy(DecisionChecks()
+ .finished()),
+ n::taken_unconfirmed_decisions() = make_shared_copy(DecisionChecks()
+ .finished()),
+ n::taken_unorderable_decisions() = make_shared_copy(DecisionChecks()
+ .finished()),
+ n::untaken_change_or_remove_decisions() = make_shared_copy(DecisionChecks()
+ .finished()),
+ n::untaken_unable_to_make_decisions() = make_shared_copy(DecisionChecks()
+ .finished())
+ );
+}
+