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

Method testAddOneRowUsingOneString

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

Source from the content-addressed store, hash-verified

32}
33
34void TestStringData::testAddOneRowUsingOneString() {
35 QString value("faklj;");
36
37 QtCSV::StringData strData;
38 strData.addRow(value);
39
40 QVERIFY2(!strData.isEmpty(), "StringData is empty");
41 QVERIFY2(1 == strData.rowCount(), "Wrong number of rows");
42
43 QList<QString> expectedRow;
44 expectedRow << value;
45 QVERIFY2(expectedRow == strData.rowValues(0), "Wrong data for empty row");
46}
47
48void TestStringData::testAddRows() {
49 QList<QString> valuesFirst;

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