Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
{
14
//! [1]
15
QTest::addColumn<
bool
>(
"bool"
);
16
QTest::newRow(
"local.1"
) <<
false
;
17
QTest::newRow(
"local.2"
) <<
true
;
18
19
QSKIP(
"skipping all"
);
20
//! [1]
21
}
tst_Skip
Definition
doc_src_qtqskip.cpp:7
tst_Skip::test_data
void test_data()
Definition
doc_src_qtqskip.cpp:12
qtbase
src
testlib
doc
snippets
code
doc_src_qtqskip.cpp
Generated on
for Qt by
1.14.0