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
c1299514
Commit
c1299514
authored
Dec 10, 2012
by
Michal 'vorner' Vaner
Browse files
[2377] Minor test code cleanups
parent
f4f1c1f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/master_loader_unittest.cc
View file @
c1299514
...
...
@@ -82,7 +82,7 @@ public:
options
));
}
string
prepareZone
(
const
string
&
line
,
bool
include_last
)
{
static
string
prepareZone
(
const
string
&
line
,
bool
include_last
)
{
string
result
;
result
+=
"example.org. 3600 IN SOA ns1.example.org. "
"admin.example.org. 1234 3600 1800 2419200 7200
\n
"
;
...
...
@@ -108,7 +108,7 @@ public:
rrsets_
.
pop_front
();
EXPECT_EQ
(
Name
(
name
),
current
->
getName
());
ASSER
T_EQ
(
type
,
current
->
getType
());
EXPEC
T_EQ
(
type
,
current
->
getType
());
EXPECT_EQ
(
RRClass
::
IN
(),
current
->
getClass
());
ASSERT_EQ
(
1
,
current
->
getRdataCount
());
EXPECT_EQ
(
0
,
isc
::
dns
::
rdata
::
createRdata
(
type
,
RRClass
::
IN
(),
data
)
->
...
...
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