MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / testAddEmptyRow

Method testAddEmptyRow

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

Source from the content-addressed store, hash-verified

15}
16
17void TestStringData::testAddEmptyRow()
18{
19 QtCSV::StringData strData;
20 strData.addEmptyRow();
21
22 QVERIFY2(false == strData.isEmpty(), "StringData is empty with empty line");
23 QVERIFY2(1 == strData.rowCount(), "Wrong number of rows");
24 QVERIFY2(QStringList() == strData.rowValues(0),
25 "Wrong data for empty row");
26}
27
28void TestStringData::testAddOneRow()
29{

Callers

nothing calls this directly

Calls 5

QStringListClass · 0.50
addEmptyRowMethod · 0.45
isEmptyMethod · 0.45
rowCountMethod · 0.45
rowValuesMethod · 0.45

Tested by

no test coverage detected