Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::InlineDequeDeathTest< Deque > Class Template Reference

The death tests use the same fixture as the non-death tests, but as a distinct type to improve log output. More...

Inheritance diagram for arene::base::InlineDequeDeathTest< Deque >:
Inheritance graph

Additional Inherited Members

- Static Public Attributes inherited from arene::base::InlineDequeTest< Deque >
static constexpr bool constexpr_compatible
 Whether the type parameter is constexpr compatible for this test.
 
- Static Protected Member Functions inherited from arene::base::InlineDequeTest< Deque >
static constexpr auto construct () noexcept(noexcept(Deque())) -> Deque
 Return an empty Deque, allowing to call as this->construct, which becomes useful with the ...STATIC_ASSERT... macros.
 
static constexpr auto full_test_deque () noexcept(noexcept(test_deque(Deque::capacity))) -> Deque
 Return a Deque containing the test values [0,capacity) of T.
 
static constexpr auto full_test_initializer_list () noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing Deque::capacity user-parameterized test_values.
 
static constexpr auto half_test_deque () noexcept(noexcept(test_deque(Deque::capacity))) -> Deque
 Return a Deque containing the test values [0,capacity/2) of T.
 
static constexpr auto test_deque (std::size_t begin, std::size_t end) noexcept(noexcept(::arene::base::testing::test_deque< Deque >(begin, end))) -> Deque
 Return a Deque containing the test values [begin,end) of T.
 
static constexpr auto test_deque (std::size_t size) noexcept(noexcept(test_deque(0, size))) -> Deque
 Return a Deque containing the test values [0,size) of T.
 
template<std::size_t Size>
static constexpr auto test_initializer_list () noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing user-parameterized test_values.
 
template<std::size_t... Indices>
static constexpr auto test_initializer_list (std::index_sequence< Indices... >) noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing user-parameterized test_values.
 
static constexpr auto test_value (std::size_t idx) noexcept(noexcept(::arene::base::testing::test_value< T >(idx))) ->
 Return the idx 'th test value of the current T , parameterized by test suite users.
 
static constexpr auto wrapped_test_deque () noexcept(noexcept(test_deque(Deque::capacity))) -> Deque
 Return a Deque containing the test values [capacity/2, 3*capacity/2) of T.
 

Detailed Description

template<typename Deque>
class arene::base::InlineDequeDeathTest< Deque >

The death tests use the same fixture as the non-death tests, but as a distinct type to improve log output.

Template Parameters
DequeThe inline_deque type to test

The documentation for this class was generated from the following file: