RetroArch
Classes | Macros | Functions
unittest.h File Reference
#include "gtest/gtest.h"
#include <stdexcept>
Include dependency graph for unittest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AssertException
 
class  Random
 

Macros

#define __STDC_CONSTANT_MACROS   1
 
#define RAPIDJSON_ASSERT(x)   if (!(x)) throw AssertException(RAPIDJSON_STRINGIFY(x))
 

Functions

template<typename Ch >
unsigned StrLen (const Ch *s)
 
template<typename Ch >
int StrCmp (const Ch *s1, const Ch *s2)
 
template<typename Ch >
Ch * StrDup (const Ch *str)
 
FILETempFile (char *filename)
 

Macro Definition Documentation

◆ __STDC_CONSTANT_MACROS

#define __STDC_CONSTANT_MACROS   1

◆ RAPIDJSON_ASSERT

#define RAPIDJSON_ASSERT (   x)    if (!(x)) throw AssertException(RAPIDJSON_STRINGIFY(x))

Function Documentation

◆ StrCmp()

template<typename Ch >
int StrCmp ( const Ch *  s1,
const Ch *  s2 
)
inline
Here is the caller graph for this function:

◆ StrDup()

template<typename Ch >
Ch* StrDup ( const Ch *  str)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StrLen()

template<typename Ch >
unsigned StrLen ( const Ch *  s)
inline
Here is the caller graph for this function:

◆ TempFile()

FILE* TempFile ( char *  filename)
inline
Here is the call graph for this function:
Here is the caller graph for this function: