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
doc_src_qtqskip.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
#include <QTest>
4
5
//dummy class
6
class
tst_Skip
7
{
8
public
:
9
void
test_data
();
10
};
11
12
void
tst_Skip::test_data
()
13
{
15
QTest::addColumn<bool>(
"bool"
);
16
QTest::newRow
(
"local.1"
) <<
false
;
17
QTest::newRow
(
"local.2"
) <<
true
;
18
19
QSKIP
(
"skipping all"
);
21
}
tst_Skip
Definition
doc_src_qtqskip.cpp:7
tst_Skip::test_data
void test_data()
Definition
doc_src_qtqskip.cpp:12
QTest::newRow
Q_TESTLIB_EXPORT QTestData & newRow(const char *dataTag)
Appends a new row to the current test data.
Definition
qtestcase.cpp:2573
QSKIP
#define QSKIP(statement,...)
Definition
qtestcase.h:270
qtbase
src
testlib
doc
snippets
code
doc_src_qtqskip.cpp
Generated by
1.10.0