Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
test_main.cpp File Reference
#include <bitcoin-build-config.h>
#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.

Functions

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

Variables

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 38 of file test_main.cpp.

Here is the call graph for this function:

Variable Documentation

◆ G_TEST_COMMAND_LINE_ARGUMENTS

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

Retrieve the command line arguments.

Definition at line 33 of file test_main.cpp.

◆ G_TEST_GET_FULL_NAME

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

Retrieve the unit test name.

Definition at line 35 of file test_main.cpp.

◆ G_TEST_LOG_FUN

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 31 of file test_main.cpp.