Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtestblacklist.cpp File Reference

(d5bf42f75b0ae35b7f02bb9211787ae1d44a98ba)

#include "qtestblacklist_p.h"
#include "qtestresult_p.h"
#include <QtTest/qtestcase.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qfile.h>
#include <QtCore/qset.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qvariant.h>
#include <QtCore/QSysInfo>
#include <QtCore/QOperatingSystemVersion>
#include <set>
+ Include dependency graph for qtestblacklist.cpp:

Go to the source code of this file.

Namespaces

namespace  QTestPrivate
 

Functions

static QSet< QByteArraykeywords ()
 
static QSet< QByteArrayactiveConditions ()
 
static bool checkCondition (const QByteArray &condition)
 
void QTestPrivate::parseBlackList ()
 
bool QTestPrivate::checkBlackLists (const char *slot, const char *data, const char *global)
 

Variables

static bool ignoreAll = false
 
static std::set< QByteArray > * ignoredTests = nullptr
 

Function Documentation

◆ activeConditions()

static QSet< QByteArray > activeConditions ( )
static

Definition at line 187 of file qtestblacklist.cpp.

References QOperatingSystemVersionBase::current(), QByteArray::insert(), keywords(), QByteArray::number(), QSysInfo::productType(), QSysInfo::productVersion(), qEnvironmentVariableIsSet(), and qgetenv().

Referenced by checkCondition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkCondition()

static bool checkCondition ( const QByteArray & condition)
static

Definition at line 224 of file qtestblacklist.cpp.

References activeConditions().

Referenced by QTestPrivate::parseBlackList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keywords()

static QSet< QByteArray > keywords ( )
static

Definition at line 97 of file qtestblacklist.cpp.

References app, QCoreApplication::instance(), QVariant::isValid(), QObject::property(), set, and QVariant::toByteArray().

Referenced by activeConditions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ignoreAll

◆ ignoredTests

std::set<QByteArray>* ignoredTests = nullptr
static