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

Method testAddOneRow

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

Source from the content-addressed store, hash-verified

26}
27
28void TestStringData::testAddOneRow()
29{
30 QStringList rowValues;
31 rowValues << "one" << "two" << "three";
32
33 QtCSV::StringData strData;
34 strData.addRow(rowValues);
35
36 QVERIFY2(false == strData.isEmpty(), "StringData is empty");
37 QVERIFY2(1 == strData.rowCount(), "Wrong number of rows");
38 QVERIFY2(rowValues == strData.rowValues(0), "Wrong data for empty row");
39}
40
41void TestStringData::testAddOneRowUsingOneString()
42{

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