MCPcopy Create free account
hub / github.com/KDE/labplot / createBLFFile

Function createBLFFile

tests/spreadsheet/SpreadsheetTest.cpp:3315–3325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3313}
3314
3315void createBLFFile(const QString& filename, QVector<Vector::BLF::CanMessage2*> messages) {
3316 Vector::BLF::File blfFile;
3317 blfFile.open(filename.toStdString().c_str(), std::ios_base::out);
3318 QVERIFY(blfFile.is_open());
3319
3320 for (auto msg : messages) {
3321 blfFile.write(msg);
3322 }
3323 // Finish creating files
3324 blfFile.close();
3325}
3326}
3327
3328void SpreadsheetTest::testLinkSpreadSheetImportBLF() {

Calls 5

toStdStringMethod · 0.80
openMethod · 0.45
is_openMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected