BIND 10 trac3145, updated. 9d3952fc9739348ccc34694c36036d7d46a5e273 [3145] EXPECT_NO_THROW => ASSERT_NO_THROW in IAPrefix option tests
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Sep 10 10:03:04 UTC 2013
The branch, trac3145 has been updated
via 9d3952fc9739348ccc34694c36036d7d46a5e273 (commit)
from 537e404c74470a717a4044260d7076b4b1a805ce (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d3952fc9739348ccc34694c36036d7d46a5e273
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Tue Sep 10 12:02:52 2013 +0200
[3145] EXPECT_NO_THROW => ASSERT_NO_THROW in IAPrefix option tests
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/tests/option6_iaprefix_unittest.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/tests/option6_iaprefix_unittest.cc b/src/lib/dhcp/tests/option6_iaprefix_unittest.cc
index 45701b2..98014bb 100644
--- a/src/lib/dhcp/tests/option6_iaprefix_unittest.cc
+++ b/src/lib/dhcp/tests/option6_iaprefix_unittest.cc
@@ -128,8 +128,9 @@ TEST_F(Option6IAPrefixTest, basic) {
// Create an option (unpack content)
boost::scoped_ptr<Option6IAPrefix> opt;
- EXPECT_NO_THROW(opt.reset(new Option6IAPrefix(D6O_IAPREFIX, buf_.begin(),
+ ASSERT_NO_THROW(opt.reset(new Option6IAPrefix(D6O_IAPREFIX, buf_.begin(),
buf_.begin() + 25)));
+ ASSERT_TRUE(opt);
// Pack this option
opt->pack(outBuf_);
@@ -149,7 +150,7 @@ TEST_F(Option6IAPrefixTest, build) {
boost::scoped_ptr<Option6IAPrefix> opt;
setExampleBuffer();
- EXPECT_NO_THROW(opt.reset(new Option6IAPrefix(12345,
+ ASSERT_NO_THROW(opt.reset(new Option6IAPrefix(12345,
IOAddress("2001:db8:1::dead:beef"), 77, 1000, 3000000000)));
ASSERT_TRUE(opt);
More information about the bind10-changes
mailing list