Monero
Functions
wipeable_string.cpp File Reference
#include <boost/optional/optional.hpp>
#include <string.h>
#include "gtest/gtest.h"
#include "misc_log_ex.h"
#include "wipeable_string.h"
#include "hex.h"
Include dependency graph for wipeable_string.cpp:

Functions

 TEST (wipeable_string, ctor)
 
 TEST (wipeable_string, wipe)
 
 TEST (wipeable_string, clear)
 
 TEST (wipeable_string, push_back)
 
 TEST (wipeable_string, append_char)
 
 TEST (wipeable_string, append_string)
 
 TEST (wipeable_string, empty)
 
 TEST (wipeable_string, pop_back)
 
 TEST (wipeable_string, equal)
 
 TEST (wipeable_string, not_equal)
 
static epee::wipeable_string trimmed (const char *s)
 
 TEST (wipeable_string, trim)
 
static bool check_split (const char *s, const std::vector< epee::wipeable_string > &v)
 
 TEST (wipeable_string, split)
 
 TEST (wipeable_string, parse_hexstr)
 
 TEST (wipeable_string, to_hex)
 
 TEST (wipeable_string, to_string)
 

Function Documentation

◆ check_split()

static bool check_split ( const char *  s,
const std::vector< epee::wipeable_string > &  v 
)
static

◆ TEST() [1/15]

TEST ( wipeable_string  ,
ctor   
)

◆ TEST() [2/15]

TEST ( wipeable_string  ,
wipe   
)

◆ TEST() [3/15]

TEST ( wipeable_string  ,
clear   
)

◆ TEST() [4/15]

TEST ( wipeable_string  ,
push_back   
)

◆ TEST() [5/15]

TEST ( wipeable_string  ,
append_char   
)

◆ TEST() [6/15]

TEST ( wipeable_string  ,
append_string   
)

◆ TEST() [7/15]

TEST ( wipeable_string  ,
empty   
)

◆ TEST() [8/15]

TEST ( wipeable_string  ,
pop_back   
)

◆ TEST() [9/15]

TEST ( wipeable_string  ,
equal   
)

◆ TEST() [10/15]

TEST ( wipeable_string  ,
not_equal   
)

◆ TEST() [11/15]

TEST ( wipeable_string  ,
trim   
)

◆ TEST() [12/15]

TEST ( wipeable_string  ,
split   
)

◆ TEST() [13/15]

TEST ( wipeable_string  ,
parse_hexstr   
)

◆ TEST() [14/15]

TEST ( wipeable_string  ,
to_hex   
)

◆ TEST() [15/15]

TEST ( wipeable_string  ,
to_string   
)

◆ trimmed()

static epee::wipeable_string trimmed ( const char *  s)
static