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>(name: "bool"); |
16 | QTest::newRow(dataTag: "local.1") << false; |
17 | QTest::newRow(dataTag: "local.2") << true; |
18 | |
19 | QSKIP("skipping all"); |
20 | //! [1] |
21 | } |
22 |