| 8 | namespace JsonFormat |
| 9 | { |
| 10 | class JsonFormatTest : public ::testing::Test |
| 11 | { |
| 12 | protected: |
| 13 | JsonHandler m_jsonFormatter {{}}; |
| 14 | |
| 15 | protected: |
| 16 | void SetUp() override {} |
| 17 | void TearDown() override {} |
| 18 | |
| 19 | void setParseOptions(const ParseOptions& opt) |
| 20 | { |
| 21 | m_jsonFormatter = JsonHandler(opt); |
| 22 | } |
| 23 | }; |
| 24 | |
| 25 | // Test 1: Test valid JSON with default formatting options |
| 26 | TEST_F(JsonFormatTest, FormatJson_ValidJson_DefaultOptions) |
nothing calls this directly
no outgoing calls
no test coverage detected