Searched refs:g_light (Results 1 – 1 of 1) sorted by relevance
28 BatteryLight g_light; variable34 g_light.InitLight(); in SetUpTestCase()35 g_light.TurnOff(); in SetUpTestCase()36 GTEST_LOG_(INFO) << "The current device supports Light: " << g_light.isAvailable(); in SetUpTestCase()41 g_light.TurnOff(); in TearDown()52 RETURN_IF(!g_light.isAvailable());53 g_light.TurnOff();54 EXPECT_TRUE(g_light.GetLightColor() == 0U);65 RETURN_IF(!g_light.isAvailable());67 g_light.TurnOn(color);[all …]