@@ -66,6 +66,7 @@ class TestReport : public Report {
6666};
6767
6868// Mock GUI...
69+ ProjectFile::ProjectFile (QObject *parent) : QObject(parent) {}
6970ProjectFile *ProjectFile::mActiveProject ;
7071void ProjectFile::addSuppression (const SuppressionList::Suppression & /* unused*/ ) {}
7172QString ProjectFile::getWarningTags (std::size_t /* unused*/ ) const {
@@ -78,12 +79,22 @@ bool ProjectFile::write(const QString & /*unused*/) {
7879std::string severityToString (Severity severity) {
7980 return std::to_string ((int )severity);
8081}
82+ ApplicationList::ApplicationList (QObject *parent) : QObject(parent) {}
83+ ApplicationList::~ApplicationList () = default ;
8184int ApplicationList::getApplicationCount () const {
8285 return 0 ;
8386}
87+ ThreadHandler::ThreadHandler (QObject *parent) : QObject(parent) {}
88+ ThreadHandler::~ThreadHandler () = default ;
8489bool ThreadHandler::isChecking () const {
8590 return false ;
8691}
92+ void ThreadHandler::stop () {
93+ throw 1 ;
94+ }
95+ void ThreadHandler::threadDone () {
96+ throw 1 ;
97+ }
8798Application& ApplicationList::getApplication (const int /* unused*/ ) {
8899 throw 1 ;
89100}
@@ -101,6 +112,15 @@ QString XmlReport::unquoteMessage(const QString &message) {
101112 return message;
102113}
103114XmlReport::XmlReport (const QString& filename) : Report(filename) {}
115+ void ThreadResult::fileChecked (const QString & /* unused*/ ) {
116+ throw 1 ;
117+ }
118+ void ThreadResult::reportOut (const std::string & /* unused*/ , Color /* unused*/ ) {
119+ throw 1 ;
120+ }
121+ void ThreadResult::reportErr (const ErrorMessage & /* unused*/ ) {
122+ throw 1 ;
123+ }
104124
105125// Mock LIB...
106126bool Path::isHeader (std::string const & /* unused*/ ) {
0 commit comments