MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / testClearNotEmptyData

Method testClearNotEmptyData

3rdparty/qtcsv-qt5/tests/teststringdata.cpp:89–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void TestStringData::testClearNotEmptyData()
90{
91 QStringList rowValues;
92 rowValues << "one" << "two" << "three";
93
94 QtCSV::StringData strData;
95 strData.addRow(rowValues);
96
97 QVERIFY2(false == strData.isEmpty(), "StringData is empty");
98
99 strData.clear();
100
101 QVERIFY2(true == strData.isEmpty(), "StringData is not empty");
102}
103
104void TestStringData::testInsertRows()
105{

Callers

nothing calls this directly

Calls 3

addRowMethod · 0.45
isEmptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected