Lines Matching refs:OccDBusSensors
7 TEST(OccDBusSensors, MaxValue) in TEST() argument
13 OccDBusSensors::getOccDBus().setMaxValue(tmpPath, maxValue); in TEST()
14 retMaxValue = OccDBusSensors::getOccDBus().getMaxValue(tmpPath); in TEST()
17 ASSERT_THROW(OccDBusSensors::getOccDBus().getMaxValue("/abcd/"), in TEST()
21 TEST(OccDBusSensors, MinValue) in TEST() argument
27 OccDBusSensors::getOccDBus().setMinValue(tmpPath, minValue); in TEST()
28 retMinValue = OccDBusSensors::getOccDBus().getMinValue(tmpPath); in TEST()
31 ASSERT_THROW(OccDBusSensors::getOccDBus().getMinValue("/abcd/"), in TEST()
35 TEST(OccDBusSensors, Value) in TEST() argument
41 OccDBusSensors::getOccDBus().setValue(tmpPath, value); in TEST()
42 retValue = OccDBusSensors::getOccDBus().getValue(tmpPath); in TEST()
45 ASSERT_THROW(OccDBusSensors::getOccDBus().getValue("/abcd/"), in TEST()
49 TEST(OccDBusSensors, Unit) in TEST() argument
55 OccDBusSensors::getOccDBus().setUnit(tmpPath, unit); in TEST()
56 retUnit = OccDBusSensors::getOccDBus().getUnit(tmpPath); in TEST()
59 ASSERT_THROW(OccDBusSensors::getOccDBus().getUnit("/abcd/"), in TEST()
63 TEST(OccDBusSensors, OperationalStatus) in TEST() argument
68 OccDBusSensors::getOccDBus().setOperationalStatus(tmpPath, true); in TEST()
69 retStatus = OccDBusSensors::getOccDBus().getOperationalStatus(tmpPath); in TEST()
72 ASSERT_THROW(OccDBusSensors::getOccDBus().getOperationalStatus("/abcd/"), in TEST()