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
5f5dd8f7
Commit
5f5dd8f7
authored
Aug 29, 2012
by
JINMEI Tatuya
Browse files
[master] add cppcheck suppression rule for an intentional self-equivalence test
okayed on jabber.
parent
8fd8ed2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/labelsequence_unittest.cc
View file @
5f5dd8f7
...
...
@@ -180,6 +180,7 @@ TEST_F(LabelSequenceTest, equals_insensitive) {
// operator==(). This is mostly trivial wrapper, so it should suffice to
// check some basic cases.
TEST_F
(
LabelSequenceTest
,
operatorEqual
)
{
// cppcheck-suppress duplicateExpression
EXPECT_TRUE
(
ls1
==
ls1
);
// self equivalence
EXPECT_TRUE
(
ls1
==
LabelSequence
(
n1
));
// equivalent two different objects
EXPECT_FALSE
(
ls1
==
ls2
);
// non equivalent objects
...
...
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