Bitcoin ABC 0.30.7
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 126 of file unitester.cpp.

Here is the call graph for this function:

◆ no_nul_test()

void no_nul_test ( )

Definition at line 120 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 22 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 45 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 99 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
Initial value:
= {
"fail10.json", "fail11.json", "fail12.json", "fail13.json", "fail14.json",
"fail15.json", "fail16.json", "fail17.json",
"fail19.json", "fail1.json", "fail20.json", "fail21.json", "fail22.json",
"fail23.json", "fail24.json", "fail25.json", "fail26.json", "fail27.json",
"fail28.json", "fail29.json", "fail2.json", "fail30.json", "fail31.json",
"fail32.json", "fail33.json", "fail34.json", "fail35.json", "fail36.json",
"fail37.json",
"fail38.json",
"fail39.json",
"fail40.json",
"fail41.json",
"fail42.json",
"fail44.json",
"fail45.json",
"fail3.json",
"fail4.json",
"fail5.json", "fail6.json", "fail7.json", "fail8.json",
"fail9.json",
"pass1.json", "pass2.json", "pass3.json", "pass4.json",
"round1.json",
"round2.json",
"round3.json",
"round4.json",
"round5.json",
"round6.json",
"round7.json",
}

Definition at line 68 of file unitester.cpp.