Bitcoin Core  27.99.0
P2P Digital Currency
Functions | Variables
test_main.cpp File Reference
#include <interfaces/init.h>
#include <interfaces/node.h>
#include <qt/bitcoin.h>
#include <qt/guiconstants.h>
#include <qt/test/apptests.h>
#include <qt/test/optiontests.h>
#include <qt/test/rpcnestedtests.h>
#include <qt/test/uritests.h>
#include <test/util/setup_common.h>
#include <util/chaintype.h>
#include <QApplication>
#include <QDebug>
#include <QObject>
#include <QSettings>
#include <QTest>
#include <functional>
Include dependency graph for test_main.cpp:

Go to the source code of this file.


int main (int argc, char *argv[])


const std::function< void(const std::string &)> G_TEST_LOG_FUN {}
 This is connected to the logger. More...
const std::function< std::vector< const char * >)> G_TEST_COMMAND_LINE_ARGUMENTS {}
 Retrieve the command line arguments. More...
const std::function< std::string()> G_TEST_GET_FULL_NAME {}
 Retrieve the unit test name. More...

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 

Definition at line 56 of file test_main.cpp.

Here is the call graph for this function:

Variable Documentation


const std::function<std::vector<const char*>)> G_TEST_COMMAND_LINE_ARGUMENTS {}

Retrieve the command line arguments.

Definition at line 51 of file test_main.cpp.


const std::function<std::string()> G_TEST_GET_FULL_NAME {}

Retrieve the unit test name.

Definition at line 53 of file test_main.cpp.


const std::function<void(const std::string&)> G_TEST_LOG_FUN {}

This is connected to the logger.

Can be used to redirect logs to any other log

Definition at line 49 of file test_main.cpp.