MCPcopy Create free account
hub / github.com/aria2/aria2 / testPopArrayFrame_noValue

Method testPopArrayFrame_noValue

test/XmlRpcRequestParserControllerTest.cc:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void XmlRpcRequestParserControllerTest::testPopArrayFrame_noValue()
85{
86 XmlRpcRequestParserController controller;
87 controller.setCurrentFrameValue(List::g());
88 controller.pushFrame();
89 controller.popArrayFrame();
90 const List* array = downcast<List>(controller.getCurrentFrameValue());
91 CPPUNIT_ASSERT(array->empty());
92}
93
94void XmlRpcRequestParserControllerTest::testPopArrayFrame_compound()
95{

Callers

nothing calls this directly

Calls 4

setCurrentFrameValueMethod · 0.45
pushFrameMethod · 0.45
popArrayFrameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected