• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/util

  • KDevelop
  • ProjectTestJob
Public Member Functions | Protected Member Functions | List of all members
KDevelop::ProjectTestJob Class Reference

#include <projecttestjob.h>

Inheritance diagram for KDevelop::ProjectTestJob:
Inheritance graph
[legend]

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()

ProjectTestJob::ProjectTestJob ( IProject *  project,
QObject *  parent = nullptr 
)
explicit

Create a project test job.

Parameters
projectThe project to be tested
parentThis job's parent object, or 0 for no parent.

Definition at line 89 of file projecttestjob.cpp.

◆ ~ProjectTestJob()

ProjectTestJob::~ProjectTestJob ( )
override

Destructor.

Definition at line 106 of file projecttestjob.cpp.

Member Function Documentation

◆ doKill()

bool ProjectTestJob::doKill ( )
overrideprotected

Definition at line 117 of file projecttestjob.cpp.

◆ start()

void ProjectTestJob::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:
  • projecttestjob.h
  • projecttestjob.cpp
This file is part of the KDE documentation.
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.

kdevplatform/util

Skip menu "kdevplatform/util"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal