MCPcopy Create free account
hub / github.com/NPP-JSONViewer/JSON-Viewer / JsonFormatTest

Class JsonFormatTest

tests/UnitTest/JsonFormatTest.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected