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

Method testAddOneRow

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

Source from the content-addressed store, hash-verified

20}
21
22void TestStringData::testAddOneRow() {
23 QList<QString> rowValues;
24 rowValues << "one" << "two" << "three";
25
26 QtCSV::StringData strData;
27 strData.addRow(rowValues);
28
29 QVERIFY2(!strData.isEmpty(), "StringData is empty");
30 QVERIFY2(1 == strData.rowCount(), "Wrong number of rows");
31 QVERIFY2(rowValues == strData.rowValues(0), "Wrong data for empty row");
32}
33
34void TestStringData::testAddOneRowUsingOneString() {
35 QString value("faklj;");

Callers

nothing calls this directly

Calls 4

addRowMethod · 0.45
isEmptyMethod · 0.45
rowCountMethod · 0.45
rowValuesMethod · 0.45

Tested by

no test coverage detected