Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
unitester.cpp File Reference
#include <univalue.h>
#include <cassert>
#include <cstdio>
#include <string>
Include dependency graph for unitester.cpp:

Go to the source code of this file.

Functions

std::string srcdir (JSON_TEST_SRC)
 
static std::string rtrim (std::string s)
 
static void runtest (std::string filename, const std::string &jdata)
 
static void runtest_file (const char *filename_)
 
void unescape_unicode_test ()
 
void no_nul_test ()
 
int main (int argc, char *argv[])
 

Variables

static const char * filenames []
 

Function Documentation

◆ main()

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

Definition at line 159 of file unitester.cpp.

Here is the call graph for this function:

◆ no_nul_test()

void no_nul_test ( )

Definition at line 152 of file unitester.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rtrim()

static std::string rtrim ( std::string  s)
static

Definition at line 17 of file unitester.cpp.

Here is the caller graph for this function:

◆ runtest()

static void runtest ( std::string  filename,
const std::string &  jdata 
)
static

Definition at line 23 of file unitester.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runtest_file()

static void runtest_file ( const char *  filename_)
static

Definition at line 47 of file unitester.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ srcdir()

std::string srcdir ( JSON_TEST_SRC  )
Here is the caller graph for this function:

◆ unescape_unicode_test()

void unescape_unicode_test ( )

Definition at line 130 of file unitester.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ filenames

const char* filenames[]
static

Definition at line 71 of file unitester.cpp.