MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / TEST

Function TEST

pj_app/tests/layout_xml_test.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40TEST(AppendJsonAsCdata, RoundTripsSimpleJson) {
41 const QString in = QStringLiteral(R"({"topics":["/imu/accel"],"time":"publish"})");
42 EXPECT_EQ(roundTripJson(in), in);
43}
44
45TEST(AppendJsonAsCdata, RoundTripsEmptyString) {
46 EXPECT_EQ(roundTripJson(QString()), QString());

Callers

nothing calls this directly

Calls 15

roundTripJsonFunction · 0.85
buildProcessorWithSourceFunction · 0.85
directCdataTextFunction · 0.85
appendJsonAsCdataFunction · 0.85
extractDataSourceFunction · 0.85
buildDataSourceDocFunction · 0.85
appendFileInfoFunction · 0.85
setTimelineStateFunction · 0.85
isSamePathFunction · 0.85
ensureLayoutExtensionFunction · 0.85
makePlotDocFunction · 0.85
addTsCurveFunction · 0.85

Tested by

no test coverage detected