BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
widgetbasedtest.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// qt-mvvm: Model-view-view-model framework for large GUI applications
4
//
5
//! @file mvvm/tests/libtestmachinery/widgetbasedtest.h
6
//! @brief Defines class CLASS?
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2020
11
//! @authors Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#ifndef BORNAGAIN_MVVM_TESTS_LIBTESTMACHINERY_WIDGETBASEDTEST_H
16
#define BORNAGAIN_MVVM_TESTS_LIBTESTMACHINERY_WIDGETBASEDTEST_H
17
18
#include <gtest/gtest.h>
19
20
class
QApplication;
21
22
//! Convenience class to setup QApplication for tests involving QWidget creation.
23
24
class
WidgetBasedTest
:
public
::testing::Test {
25
public
:
26
WidgetBasedTest
();
27
28
static
void
SetUpTestSuite
();
29
30
static
void
TearDownTestSuite
();
31
32
protected
:
33
static
QApplication*
m_app
;
34
};
35
36
#endif
// BORNAGAIN_MVVM_TESTS_LIBTESTMACHINERY_WIDGETBASEDTEST_H
WidgetBasedTest
Convenience class to setup QApplication for tests involving QWidget creation.
Definition:
widgetbasedtest.h:24
WidgetBasedTest::SetUpTestSuite
static void SetUpTestSuite()
Definition:
widgetbasedtest.cpp:29
WidgetBasedTest::m_app
static QApplication * m_app
Definition:
widgetbasedtest.h:33
WidgetBasedTest::TearDownTestSuite
static void TearDownTestSuite()
Definition:
widgetbasedtest.cpp:34
WidgetBasedTest::WidgetBasedTest
WidgetBasedTest()
Definition:
widgetbasedtest.cpp:27
mvvm
tests
libtestmachinery
widgetbasedtest.h
Generated by
1.9.1