Monero
Loading...
Searching...
No Matches
istreamwrappertest.cpp File Reference
#include "unittest.h"
#include "rapidjson/istreamwrapper.h"
#include "rapidjson/encodedstream.h"
#include "rapidjson/document.h"
#include <sstream>
#include <fstream>
Include dependency graph for istreamwrappertest.cpp:

Functions

template<typename StringStreamType>
static void TestStringStream ()
 TEST (IStreamWrapper, istringstream)
 TEST (IStreamWrapper, stringstream)
 TEST (IStreamWrapper, wistringstream)
 TEST (IStreamWrapper, wstringstream)
template<typename FileStreamType>
static bool Open (FileStreamType &fs, const char *filename)
 TEST (IStreamWrapper, ifstream)
 TEST (IStreamWrapper, fstream)

Function Documentation

◆ Open()

template<typename FileStreamType>
bool Open ( FileStreamType & fs,
const char * filename )
static

◆ TEST() [1/6]

TEST ( IStreamWrapper ,
fstream  )

◆ TEST() [2/6]

TEST ( IStreamWrapper ,
ifstream  )

◆ TEST() [3/6]

TEST ( IStreamWrapper ,
istringstream  )

◆ TEST() [4/6]

TEST ( IStreamWrapper ,
stringstream  )

◆ TEST() [5/6]

TEST ( IStreamWrapper ,
wistringstream  )

◆ TEST() [6/6]

TEST ( IStreamWrapper ,
wstringstream  )

◆ TestStringStream()

template<typename StringStreamType>
void TestStringStream ( )
static