File: qtassistant.cpp

package info (click to toggle)
boost1.81 1.81.0-5%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 533,256 kB
  • sloc: cpp: 3,740,548; xml: 126,155; ansic: 34,463; python: 24,526; asm: 5,257; sh: 4,695; ada: 1,681; makefile: 1,626; perl: 1,212; pascal: 1,139; yacc: 478; ruby: 102; lisp: 24; sql: 13; csh: 6
file content (21 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// (c) Copyright Juergen Hunold 2008
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE.txt or copy at
// https://www.bfgroup.xyz/b2/LICENSE.txt)

#define BOOST_TEST_MODULE QtAssistant

#include <QAssistantClient>

#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_CASE( defines)
{
    BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true);
    BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_GUI_LIB), true);
}

BOOST_AUTO_TEST_CASE( empty_assistant)
{
    QAssistantClient client(QString());
}