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
ISC Open Source Projects
Kea
Commits
25e34715
Commit
25e34715
authored
Jul 23, 2012
by
Mukund Sivaraman
Browse files
[2124] Add more tests (check >255)
parent
63c345f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/rdata_sshfp_unittest.cc
View file @
25e34715
...
...
@@ -76,6 +76,12 @@ TEST_F(Rdata_SSHFP_Test, algorithmTypes) {
InvalidRdataText
);
EXPECT_THROW
(
const
generic
::
SSHFP
rdata_sshfp
(
"1 0 12ab"
),
InvalidRdataText
);
// > 255 would be broken
EXPECT_THROW
(
const
generic
::
SSHFP
rdata_sshfp
(
"256 1 12ab"
),
InvalidRdataText
);
EXPECT_THROW
(
const
generic
::
SSHFP
rdata_sshfp
(
"2 256 12ab"
),
InvalidRdataText
);
}
TEST_F
(
Rdata_SSHFP_Test
,
badText
)
{
...
...
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