Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
be23568a
Commit
be23568a
authored
May 27, 2013
by
Mukund Sivaraman
Browse files
[master] Make name absolute so that Rdata can be constructed for it
parent
42073d9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/memory/rdata_serialization_unittest.cc
View file @
be23568a
...
...
@@ -825,7 +825,7 @@ TEST_F(RdataSerializationTest, badAddRdata) {
EXPECT_THROW
(
encoder_
.
addRdata
(
*
aaaa_rdata_
),
std
::
bad_cast
);
const
ConstRdataPtr
rp_rdata
=
createRdata
(
RRType
::
RP
(),
RRClass
::
IN
(),
"a.example. b.example"
);
createRdata
(
RRType
::
RP
(),
RRClass
::
IN
(),
"a.example. b.example
.
"
);
encoder_
.
start
(
RRClass
::
IN
(),
RRType
::
NS
());
EXPECT_THROW
(
encoder_
.
addRdata
(
*
rp_rdata
),
std
::
bad_cast
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment