| 12 | namespace { |
| 13 | |
| 14 | TEST(ToggleSwitchTest, TextDefaultsEmpty) { |
| 15 | PJ::ToggleSwitch sw; |
| 16 | EXPECT_TRUE(sw.text().isEmpty()); |
| 17 | EXPECT_EQ(sw.labelSide(), PJ::ToggleSwitch::LabelSide::Right); |
| 18 | } |
| 19 | |
| 20 | TEST(ToggleSwitchTest, TextAndLabelSideRoundTrip) { |
| 21 | PJ::ToggleSwitch sw; |
nothing calls this directly
no test coverage detected