BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
TestAll.cpp File Reference

Implements class CLASS? More...

Include dependency graph for TestAll.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Implements class CLASS?

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file TestAll.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 22 of file TestAll.cpp.

23 {
24  ::testing::InitGoogleTest(&argc, argv);
25  ::testing::InitGoogleMock(&argc, argv);
26 
28  qRegisterMetaType<QStandardItem*>("QStandardItem*");
29  qRegisterMetaType<QCPRange>("QCPRange");
30 
31  // FIXME find the way not to run app for all tests which doesn't use QWidget.
32  // The problem here is because of ctest autodiscovery which runs given main at every test.
33  QApplication app(argc, argv);
34  Q_UNUSED(app)
35 
36  return RUN_ALL_TESTS();
37 }
static void registerComparators()
Definition: comparators.cpp:26

References ModelView::Comparators::registerComparators().

Here is the call graph for this function: