dncurrency/nano/qt_test/entry.cpp
cryptocode bab4474274
Network selector (#1729)
* Network selector

* Make sure network option is checked before working path is called (migration). Also remove bool assignment from error.

* Formatting

* Fix merge error

* Use network_params for RPC port config (rebase)

* Formatting

* Rebase

* Rebase (debug_opencl, merge fix)

* Rebase fix

* post-rebase update
2019-03-11 16:10:33 +01:00

14 lines
341 B
C++

#include <QApplication>
#include <gtest/gtest.h>
QApplication * test_application = nullptr;
extern void force_nano_test_network ();
int main (int argc, char ** argv)
{
force_nano_test_network ();
QApplication application (argc, argv);
test_application = &application;
testing::InitGoogleTest (&argc, argv);
return RUN_ALL_TESTS ();
}