Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-hwmon
/
e32ce16bb6cc527b2e46b6e90ef7ac47404da173
/
.
/
test
/
hwmon_unittest.cpp
blob: 1c538c7d5054014024d1db5ed372fc45b56c966f [
file
] [
log
] [
blame
]
#include
"hwmon.hpp"
#include
<gmock/gmock.h>
#include
<gtest/gtest.h>
TEST
(
HwmonTest
,
InvalidType
)
{
hwmon
::
Attributes
attrs
;
EXPECT_FALSE
(
hwmon
::
getAttributes
(
"invalid"
,
attrs
));
}