| 52 | { |
| 53 | |
| 54 | TEST(OptionsTest, test_option_writing) |
| 55 | { |
| 56 | const Option option_i("my_int", (uint16_t)17); |
| 57 | EXPECT_TRUE(option_i.getName() == "my_int"); |
| 58 | EXPECT_TRUE(option_i.getValue() == "17"); |
| 59 | |
| 60 | const Option option_s("my_string", "Yow."); |
| 61 | EXPECT_TRUE(option_s.getName() == "my_string"); |
| 62 | EXPECT_TRUE(option_s.getValue() == "Yow."); |
| 63 | EXPECT_TRUE(option_s.getValue() == "Yow."); |
| 64 | } |
| 65 | |
| 66 | |
| 67 | TEST(OptionsTest, json) |
nothing calls this directly
no test coverage detected