summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2009-09-09 21:50:26 +0100
committerRoger Leigh <rleigh@debian.org>2009-09-09 21:50:26 +0100
commit57c2ce78e6f4eaa31e05f354445676a0e562cc82 (patch)
treed59b10cd210bd45aec39f954324e5bf47873aee8 /test
parent6826d5cdff99be9469aada0a7d7a6413e2a4156d (diff)
downloadschroot-57c2ce78e6f4eaa31e05f354445676a0e562cc82.tar.gz
sbuild::chroot_facet_source_clonable: Remove source_clonable member
Diffstat (limited to 'test')
-rw-r--r--test/test-sbuild-chroot.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/test-sbuild-chroot.h b/test/test-sbuild-chroot.h
index 6257d271..14e16c46 100644
--- a/test/test-sbuild-chroot.h
+++ b/test/test-sbuild-chroot.h
@@ -94,13 +94,14 @@ public:
this->source = this->chroot->clone_source();
if (this->source)
{
- sbuild::chroot_facet_source_clonable::const_ptr ssrc
+ sbuild::chroot_facet_source_clonable::const_ptr pfsrcc
(this->source->
template get_facet<sbuild::chroot_facet_source_clonable>());
- if (ssrc)
- {
- CPPUNIT_ASSERT(ssrc->get_source_clonable() == true);
- }
+ CPPUNIT_ASSERT(!pfsrcc);
+ sbuild::chroot_facet_source::const_ptr pfsrc
+ (this->source->
+ template get_facet<sbuild::chroot_facet_source>());
+ CPPUNIT_ASSERT(pfsrc);
}
this->chroot_union = sbuild::chroot::ptr(new T);