Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
7cc9b08f
Commit
7cc9b08f
authored
Sep 07, 2011
by
JINMEI Tatuya
Browse files
[master] fixed a build error on MacOS-X g++
briefly discussed on jabber, didn't see any objection.
parent
25e56e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/database_unittest.cc
View file @
7cc9b08f
...
...
@@ -1553,8 +1553,9 @@ TYPED_TEST(DatabaseClientTest, updaterFinder) {
// If this update isn't replacing the zone, the finder should work
// just like the normal find() case.
if
(
this
->
is_mock_
)
{
EXPECT_EQ
(
WRITABLE_ZONE_ID
,
dynamic_cast
<
DatabaseClient
::
Finder
&>
(
this
->
updater_
->
getFinder
()).
zone_id
());
DatabaseClient
::
Finder
&
finder
=
dynamic_cast
<
DatabaseClient
::
Finder
&>
(
this
->
updater_
->
getFinder
());
EXPECT_EQ
(
WRITABLE_ZONE_ID
,
finder
.
zone_id
());
}
this
->
expected_rdatas_
.
clear
();
this
->
expected_rdatas_
.
push_back
(
"192.0.2.1"
);
...
...
@@ -1568,8 +1569,9 @@ TYPED_TEST(DatabaseClientTest, updaterFinder) {
this
->
updater_
=
this
->
client_
->
getUpdater
(
this
->
zname_
,
true
);
ASSERT_TRUE
(
this
->
updater_
);
if
(
this
->
is_mock_
)
{
EXPECT_EQ
(
WRITABLE_ZONE_ID
,
dynamic_cast
<
DatabaseClient
::
Finder
&>
(
this
->
updater_
->
getFinder
()).
zone_id
());
DatabaseClient
::
Finder
&
finder
=
dynamic_cast
<
DatabaseClient
::
Finder
&>
(
this
->
updater_
->
getFinder
());
EXPECT_EQ
(
WRITABLE_ZONE_ID
,
finder
.
zone_id
());
}
doFindTest
(
this
->
updater_
->
getFinder
(),
this
->
qname_
,
this
->
qtype_
,
this
->
qtype_
,
this
->
rrttl_
,
ZoneFinder
::
NXDOMAIN
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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