MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / addFile_notexist

Method addFile_notexist

gui/test/filelist/testfilelist.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void TestFileList::addFile_notexist() const
65{
66 FileList list;
67 list.addFile(QString(SRCDIR) + "/../data/files/bar1.cpp");
68 QStringList files = list.getFileList();
69 QCOMPARE(files.size(), 0);
70}
71
72void TestFileList::addFile_unknown() const
73{

Callers

nothing calls this directly

Calls 4

getFileListMethod · 0.80
QStringClass · 0.50
addFileMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected