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
ISC Open Source Projects
Kea
Commits
a6b558c0
Commit
a6b558c0
authored
Dec 09, 2012
by
Mukund Sivaraman
Browse files
[2504] Check result of find()
parent
06eeaf02
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/memory/zone_finder_unittest.cc
View file @
a6b558c0
...
...
@@ -1446,6 +1446,9 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest) {
ZoneFinderContextPtr
find_result
(
result
.
zone_finder
->
find
(
search_name
,
RRType
::
A
(),
ZoneFinder
::
FIND_DNSSEC
));
// We don't find the domain, but find() must complete (not throw or
// assert).
EXPECT_EQ
(
ZoneFinder
::
NXDOMAIN
,
find_result
->
code
);
}
/// \brief NSEC3 specific tests fixture for the InMemoryZoneFinder class
...
...
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