Qt 6.x
The Qt SDK
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
7{
8 public:
9 void test_data();
10};
11
13{
15 QTest::addColumn<bool>("bool");
16 QTest::newRow("local.1") << false;
17 QTest::newRow("local.2") << true;
18
19 QSKIP("skipping all");
21}
Q_TESTLIB_EXPORT QTestData & newRow(const char *dataTag)
Appends a new row to the current test data.
#define QSKIP(statement,...)
Definition qtestcase.h:254