Bitcoin Core  22.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/test/apptests.h>
#include <qt/test/rpcnestedtests.h>
#include <qt/test/uritests.h>
#include <test/util/setup_common.h>
#include <QApplication>
#include <QObject>
#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...
 

Function Documentation

◆ main()

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

Definition at line 50 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 47 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 45 of file test_main.cpp.