Functions
Balau::Testing::TestRenderers Namespace Reference

Pre-defined renderers used to print test assertion failures. More...

Functions

template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< char > &actual, const ContainerE< char > &expected)
 Overload for rendering char containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< unsigned short > &actual, const ContainerE< unsigned short > &expected)
 Overload for rendering unsigned short containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< unsigned long > &actual, const ContainerE< unsigned long > &expected)
 Overload for rendering unsigned long containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< unsigned long long > &actual, const ContainerE< unsigned long long > &expected)
 Overload for rendering unsigned long long containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< unsigned int > &actual, const ContainerE< unsigned int > &expected)
 Overload for rendering unsigned int containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< unsigned char > &actual, const ContainerE< unsigned char > &expected)
 Overload for rendering unsigned char containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< signed short > &actual, const ContainerE< signed short > &expected)
 Overload for rendering signed short containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< signed long > &actual, const ContainerE< signed long > &expected)
 Overload for rendering signed long containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< signed long long > &actual, const ContainerE< signed long long > &expected)
 Overload for rendering signed long long containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< signed int > &actual, const ContainerE< signed int > &expected)
 Overload for rendering signed int containers as hex values. More...
 
template<template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< signed char > &actual, const ContainerE< signed char > &expected)
 Overload for rendering signed char containers as hex values. More...
 
template<typename A , typename E , template< typename > class ContainerA, template< typename > class ContainerE>
std::string render (const ContainerA< A > &actual, const ContainerE< E > &expected)
 Overload for rendering numeric containers as hex values. More...
 

Detailed Description

Pre-defined renderers used to print test assertion failures.

Function Documentation

◆ render() [1/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< char > &  actual,
const ContainerE< char > &  expected 
)

Overload for rendering char containers as hex values.

◆ render() [2/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< unsigned short > &  actual,
const ContainerE< unsigned short > &  expected 
)

Overload for rendering unsigned short containers as hex values.

◆ render() [3/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< unsigned long > &  actual,
const ContainerE< unsigned long > &  expected 
)

Overload for rendering unsigned long containers as hex values.

◆ render() [4/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< unsigned long long > &  actual,
const ContainerE< unsigned long long > &  expected 
)

Overload for rendering unsigned long long containers as hex values.

◆ render() [5/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< unsigned int > &  actual,
const ContainerE< unsigned int > &  expected 
)

Overload for rendering unsigned int containers as hex values.

◆ render() [6/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< unsigned char > &  actual,
const ContainerE< unsigned char > &  expected 
)

Overload for rendering unsigned char containers as hex values.

◆ render() [7/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< signed short > &  actual,
const ContainerE< signed short > &  expected 
)

Overload for rendering signed short containers as hex values.

◆ render() [8/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< signed long > &  actual,
const ContainerE< signed long > &  expected 
)

Overload for rendering signed long containers as hex values.

◆ render() [9/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< signed long long > &  actual,
const ContainerE< signed long long > &  expected 
)

Overload for rendering signed long long containers as hex values.

◆ render() [10/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< signed int > &  actual,
const ContainerE< signed int > &  expected 
)

Overload for rendering signed int containers as hex values.

◆ render() [11/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< signed char > &  actual,
const ContainerE< signed char > &  expected 
)

Overload for rendering signed char containers as hex values.

◆ render() [12/12]

std::string Balau::Testing::TestRenderers::render ( const ContainerA< A > &  actual,
const ContainerE< E > &  expected 
)

Overload for rendering numeric containers as hex values.