From 8f1687c572ea661a7b91b0aa675796145513c275 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 26 Oct 2012 10:11:36 +0200 Subject: Doc: add landing page for Qt Test Replace "QTestLib" with "Qt Test". Some style and language edits. Remove some empty headings. Change-Id: I568b4bbde981c3ef1899c830931892c16b66b4e2 Reviewed-by: Lars Knoll Reviewed-by: Jason McDonald --- src/testlib/doc/src/qttest-index.qdoc | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/testlib/doc/src/qttest-index.qdoc (limited to 'src/testlib/doc/src/qttest-index.qdoc') diff --git a/src/testlib/doc/src/qttest-index.qdoc b/src/testlib/doc/src/qttest-index.qdoc new file mode 100644 index 0000000000..f536529420 --- /dev/null +++ b/src/testlib/doc/src/qttest-index.qdoc @@ -0,0 +1,62 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ +/*! + \page qttest-index.html + \title Qt Test + \brief Provides classes for unit testing Qt applications and libraries. + + Qt Test provides classes for unit testing Qt applications and libraries. + All public methods are in the \l QTest namespace. In addition, the + \l QSignalSpy class provides easy introspection for Qt's signals and slots. + + \section1 Getting Started + + To enable Qt Test in a project, add this directive into the C++ files: + + \snippet code/doc_src_qttest.cpp 0 + + To link against Qt Test, add this line to the project file: + + \snippet code/doc_src_qttest.pro 1 + + \section1 Articles and Guides + + \list + \li \l{Qt Test Overview} + \li \l{Qt Test Tutorial} + \endlist + + \section1 Reference + + These are links to the API reference materials. + + \list + \li \l{Qt Test C++ Classes}{C++ Classes} + \endlist + +*/ + -- cgit v1.2.3