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

Method testAddEmptyRow

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

Source from the content-addressed store, hash-verified

11}
12
13void TestStringData::testAddEmptyRow() {
14 QtCSV::StringData strData;
15 strData.addEmptyRow();
16
17 QVERIFY2(!strData.isEmpty(), "StringData is empty with empty line");
18 QVERIFY2(1 == strData.rowCount(), "Wrong number of rows");
19 QVERIFY2(QList<QString>() == strData.rowValues(0), "Wrong data for empty row");
20}
21
22void TestStringData::testAddOneRow() {
23 QList<QString> rowValues;

Callers

nothing calls this directly

Calls 4

addEmptyRowMethod · 0.45
isEmptyMethod · 0.45
rowCountMethod · 0.45
rowValuesMethod · 0.45

Tested by

no test coverage detected