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
a61bc91e
Commit
a61bc91e
authored
Jun 01, 2011
by
Stephen Morris
Browse files
[trac555] Remove redundant test class from OutputOption
... and convert from using TEST_F to TEST.
parent
c58ee77e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/log/tests/output_option_unittest.cc
View file @
a61bc91e
...
...
@@ -21,20 +21,10 @@
using
namespace
isc
::
log
;
using
namespace
std
;
/// \brief OutputOption Test
class
OutputOptionTest
:
public
::
testing
::
Test
{
public:
OutputOptionTest
()
{}
~
OutputOptionTest
()
{}
};
// As OutputOption is a struct, the only meaningful test is to check that it
// initializes correctly.
TEST
_F
(
OutputOptionTest
,
Initialization
)
{
TEST
(
OutputOptionTest
,
Initialization
)
{
OutputOption
option
;
EXPECT_EQ
(
OutputOption
::
DEST_CONSOLE
,
option
.
destination
);
...
...
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