diff options
author | Roger Leigh <rleigh@debian.org> | 2009-09-09 21:50:26 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-09-09 21:50:26 +0100 |
commit | 57c2ce78e6f4eaa31e05f354445676a0e562cc82 (patch) | |
tree | d59b10cd210bd45aec39f954324e5bf47873aee8 /test | |
parent | 6826d5cdff99be9469aada0a7d7a6413e2a4156d (diff) | |
download | schroot-57c2ce78e6f4eaa31e05f354445676a0e562cc82.tar.gz |
sbuild::chroot_facet_source_clonable: Remove source_clonable member
Diffstat (limited to 'test')
-rw-r--r-- | test/test-sbuild-chroot.h | 11 |
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); |