kdevplatform/util
#include <projecttestjob.h>

Public Member Functions | |
ProjectTestJob (IProject *project, QObject *parent=nullptr) | |
~ProjectTestJob () override | |
void | start () override |
ProjectTestResult | testResult () |
Protected Member Functions | |
bool | doKill () override |
Detailed Description
A job that tests an entire project and reports the total result.
Launches all test suites in the specified project without raising the output window. Instead of providing individual test results, it combines and simplifies them.
Definition at line 69 of file projecttestjob.h.
Constructor & Destructor Documentation
◆ ProjectTestJob()
|
explicit |
Create a project test job.
- Parameters
-
project The project to be tested parent This job's parent object, or 0 for no parent.
Definition at line 89 of file projecttestjob.cpp.
◆ ~ProjectTestJob()
|
override |
Destructor.
Definition at line 106 of file projecttestjob.cpp.
Member Function Documentation
◆ doKill()
|
overrideprotected |
Definition at line 117 of file projecttestjob.cpp.
◆ start()
|
override |
Start this job.
Definition at line 111 of file projecttestjob.cpp.
◆ testResult()
ProjectTestResult ProjectTestJob::testResult | ( | ) |
The result of this job.
This function only returns a correct result after all the tests are completed. It is therefore best to call this after the KJob::result() signal is emitted.
- See also
- ProjectTestResult
Definition at line 128 of file projecttestjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:37:29 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.