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
edad8ee1
Commit
edad8ee1
authored
May 14, 2012
by
Tomek Mrugalski
🛰
Browse files
[1967] ADD_FAILURE() improvements in Dhcpv6SrvTest::DUID
parent
7df26862
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
View file @
edad8ee1
...
...
@@ -143,12 +143,18 @@ TEST_F(Dhcpv6SrvTest, DUID) {
}
case
DUID_LL
:
{
// not supported yet
cout
<<
"Test not implemented for DUID-LL yet."
<<
endl
;
cout
<<
"Test not implemented for DUID-LL."
<<
endl
;
// No failure here. There's really no way for test LL DUID. It doesn't
// even make sense to check if that Link Layer is actually present on
// a physical interface. RFC3315 says a server should write its DUID
// and keep it despite hardware changes.
break
;
}
case
DUID_UUID
:
// not supported yet
default:
cout
<<
"Not supported duid type="
<<
duid_type
<<
endl
;
ADD_FAILURE
()
;
ADD_FAILURE
()
<<
"Not supported duid type="
<<
duid_type
<<
endl
;
break
;
}
delete
srv
;
// destructor will close sockets, causing next test to succeed
}
...
...
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