The Battle for Wesnoth  1.19.0-dev
Typedefs | Functions
test_throw Namespace Reference

Typedefs

using test_match_types = std::tuple< bool, char, signed char, unsigned char, short, int, long, long long, unsigned short, unsigned int, unsigned long, unsigned long long >
 
using test_nomatch_types = std::tuple< float, double, long double >
 
using test_types = decltype(std::tuple_cat(test_nomatch_types{}, test_match_types{}))
 
using test_lexical_cast_signed_types = std::tuple< signed char, short, int, long >
 
using test_lexical_cast_unsigned_types = std::tuple< unsigned char, unsigned short, unsigned int, unsigned long >
 
using test_lexical_cast_floating_point_types = std::tuple< float, double, long double >
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (test_lexical_cast_throw, T, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_lexical_cast_signed, T, test_lexical_cast_signed_types)
 
 BOOST_AUTO_TEST_CASE (test_lexical_cast_long_long)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_lexical_cast_unsigned, T, test_lexical_cast_unsigned_types)
 
 BOOST_AUTO_TEST_CASE (test_lexical_cast_unsigned_long_long)
 
 BOOST_AUTO_TEST_CASE (test_lexical_cast_bool)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_lexical_cast_floating_point, T, test_lexical_cast_floating_point_types)
 

Typedef Documentation

◆ test_lexical_cast_floating_point_types

using test_throw::test_lexical_cast_floating_point_types = typedef std::tuple< float , double , long double>

Definition at line 209 of file test_lexical_cast.cpp.

◆ test_lexical_cast_signed_types

using test_throw::test_lexical_cast_signed_types = typedef std::tuple< signed char , short , int , long>

Definition at line 114 of file test_lexical_cast.cpp.

◆ test_lexical_cast_unsigned_types

using test_throw::test_lexical_cast_unsigned_types = typedef std::tuple< unsigned char , unsigned short , unsigned int , unsigned long>

Definition at line 153 of file test_lexical_cast.cpp.

◆ test_match_types

using test_throw::test_match_types = typedef std::tuple< bool, char, signed char, unsigned char, short, int, long, long long, unsigned short, unsigned int, unsigned long, unsigned long long >

Definition at line 39 of file test_lexical_cast.cpp.

◆ test_nomatch_types

using test_throw::test_nomatch_types = typedef std::tuple<float, double, long double>

Definition at line 54 of file test_lexical_cast.cpp.

◆ test_types

using test_throw::test_types = typedef decltype(std::tuple_cat(test_nomatch_types{}, test_match_types{}))

Definition at line 56 of file test_lexical_cast.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

test_throw::BOOST_AUTO_TEST_CASE ( test_lexical_cast_bool  )

Definition at line 193 of file test_lexical_cast.cpp.

References validate().

◆ BOOST_AUTO_TEST_CASE() [2/3]

test_throw::BOOST_AUTO_TEST_CASE ( test_lexical_cast_long_long  )

Definition at line 137 of file test_lexical_cast.cpp.

References validate().

◆ BOOST_AUTO_TEST_CASE() [3/3]

test_throw::BOOST_AUTO_TEST_CASE ( test_lexical_cast_unsigned_long_long  )

Definition at line 177 of file test_lexical_cast.cpp.

References validate().

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/4]

test_throw::BOOST_AUTO_TEST_CASE_TEMPLATE ( test_lexical_cast_floating_point  ,
,
test_lexical_cast_floating_point_types   
)

Definition at line 214 of file test_lexical_cast.cpp.

References validate().

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/4]

test_throw::BOOST_AUTO_TEST_CASE_TEMPLATE ( test_lexical_cast_signed  ,
,
test_lexical_cast_signed_types   
)

Definition at line 120 of file test_lexical_cast.cpp.

References validate().

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/4]

test_throw::BOOST_AUTO_TEST_CASE_TEMPLATE ( test_lexical_cast_throw  ,
,
test_types   
)

Definition at line 89 of file test_lexical_cast.cpp.

References TEST_CASE.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/4]

test_throw::BOOST_AUTO_TEST_CASE_TEMPLATE ( test_lexical_cast_unsigned  ,
,
test_lexical_cast_unsigned_types   
)

Definition at line 159 of file test_lexical_cast.cpp.

References validate().