Skip to content
GitLab
Menu
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
9f89f07a
Commit
9f89f07a
authored
Nov 16, 2011
by
JINMEI Tatuya
Browse files
[1332] added more checks in the journalReader test.
parent
fdefb47d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/database_unittest.cc
View file @
9f89f07a
...
...
@@ -3136,8 +3136,11 @@ TYPED_TEST(DatabaseClientTest, journalReader) {
// Check the simple case made by makeSimpleDiff.
ConstRRsetPtr
soa_end
=
makeSimpleDiff
(
*
this
->
client_
,
this
->
zname_
,
this
->
qclass_
,
this
->
soa_
);
ZoneJournalReaderPtr
jnl_reader
(
this
->
client_
->
getJournalReader
(
this
->
zname_
,
1234
,
1235
).
second
);
pair
<
ZoneJournalReader
::
Result
,
ZoneJournalReaderPtr
>
result
=
this
->
client_
->
getJournalReader
(
this
->
zname_
,
1234
,
1235
);
EXPECT_EQ
(
ZoneJournalReader
::
SUCCESS
,
result
.
first
);
ZoneJournalReaderPtr
jnl_reader
=
result
.
second
;
ASSERT_TRUE
(
jnl_reader
);
ConstRRsetPtr
rrset
=
jnl_reader
->
getNextDiff
();
ASSERT_TRUE
(
rrset
);
isc
::
testutils
::
rrsetCheck
(
this
->
soa_
,
rrset
);
...
...
Write
Preview
Supports
Markdown
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