KUnitTest
modrunner.cpp
Go to the documentation of this file.
46 options.add("query [regexp]", ki18n("Only run modules whose filenames match the regexp."), "^kunittest_.*\\.la$");
47 options.add("folder [folder]", ki18n("Only run tests modules which are found in the folder. Use the query option to select modules."), ".");
48 options.add("enable-dbgcap", ki18n("Disables debug capturing. You typically use this option when you use the GUI."));
50 KAboutData about("KUnitTest Module Runner", 0, ki18n("KUnitTest ModRunner"), version, description,
63 return KUnitTest::Runner::self()->numberOfFailedTests() - KUnitTest::Runner::self()->numberOfExpectedFailures();
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
KCmdLineOptions & add(const QByteArray &name, const KLocalizedString &description=KLocalizedString(), const QByteArray &defaultValue=QByteArray())
KLocalizedString ki18n(const char *msg)
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
static void setDebugCapturingEnabled(bool enabled)
Definition: runner.cpp:92
int main(int argc, char **argv)
Copyright (C) 2005 Jeroen Wijnhout Jeroen.Wijnhout@kdemail.net
Definition: modrunner.cpp:36
bool isSet(const QByteArray &option) const
int numberOfExpectedFailures() const
Definition: runner.cpp:137
unsigned int version()
static void loadModules(const QString &folder, const QString &query)
Definition: runner.cpp:56
static void init(int argc, char **argv, const QByteArray &appname, const QByteArray &catalog, const KLocalizedString &programName, const QByteArray &version, const KLocalizedString &description=KLocalizedString(), StdCmdLineArgs stdargs=StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE))
QString getOption(const QByteArray &option) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.