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

Method testClearNotEmptyData

3rdparty/qtcsv/tests/teststringdata.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void TestStringData::testClearNotEmptyData() {
78 QList<QString> rowValues;
79 rowValues << "one" << "two" << "three";
80
81 QtCSV::StringData strData;
82 strData.addRow(rowValues);
83 QVERIFY2(!strData.isEmpty(), "StringData is empty");
84
85 strData.clear();
86 QVERIFY2(strData.isEmpty(), "StringData is not empty");
87}
88
89void TestStringData::testInsertRows() {
90 QList<QString> valuesFirst, valuesSecond;

Callers

nothing calls this directly

Calls 3

addRowMethod · 0.45
isEmptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected