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

The Death Tests use the same fixture as the "normal" tests. Inherits so that it will be a distinct type. More...

Inheritance diagram for arene::base::testing::InlineVectorDeathTest< T >:
Inheritance graph

Additional Inherited Members

- Public Types inherited from arene::base::testing::InlineVectorTest< T >
using T
 
- Static Public Attributes inherited from arene::base::testing::InlineVectorTest< T >
static constexpr std::size_t capacity
 The base capacity to use for most inline_vector instantiations in the parameterized tests.
 
static constexpr bool constexpr_compatible
 Whether or not the current type parameter is constexpr compatible for this test.
 
- Protected Types inherited from arene::base::testing::InlineVectorTest< T >
using non_throwing_input_iterator
 An input iterator pointing to any type which declares that it can not throw, used in some noexcept tests.
 
using standard_capacity_vector
 An inline_vector with capacity using any given type; useful in tests making vectors of wrapper types.
 
using throwing_input_iterator
 An input iterator pointing to any type which declares that it could throw, used in some noexcept tests.
 
using vector_with_capacity
 An inline_vector with value_type=T using any given capacity; useful in tests doing assignment.
 
- Static Protected Member Functions inherited from arene::base::testing::InlineVectorTest< T >
static constexpr auto construct (U &&... params) noexcept(noexcept(T(std::forward< U >(params)...))) -> T
 Construct a Vector from the passed parameters; allows calling as this->construct, which can be shorter.
 
static constexpr auto full_test_initializer_list () noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing capacity user-parameterized test_value s.
 
static constexpr auto full_test_vector () noexcept(noexcept(test_vector(capacity))) -> T
 Return a Vector containing the test values [0,capacity) of T , parameterized by test suite users.
 
static void SetUpTestSuite ()
 
static constexpr auto test_initializer_list () noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing user-parameterized test_value s.
 
static constexpr auto test_initializer_list (std::index_sequence< Indices... >) noexcept -> std::initializer_list< T >
 Return a std::initializer_list containing user-parameterized test_value s.
 
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 test_vector (std::size_t begin, std::size_t end) noexcept(noexcept(::arene::base::testing::test_vector< T, capacity >(begin, end))) -> T
 Return a Vector containing the test values [begin,end) of T , parameterized by test suite users.
 
static constexpr auto test_vector (std::size_t size) noexcept(noexcept(test_vector(0, size))) -> T
 Return a Vector containing the test values [0,size) of T , parameterized by test suite users.
 
static constexpr auto unique_test_value () noexcept(noexcept(::arene::base::testing::unique_test_value< T, N >())) -> N >())
 Return the N 'th test value of the current T , parameterized by test suite users.
 
- Protected Attributes inherited from arene::base::testing::InlineVectorTest< T >
using try_construct_result
 A helper template to get the type resulting from a try_construct call.
 

Detailed Description

template<typename T>
class arene::base::testing::InlineVectorDeathTest< T >

The Death Tests use the same fixture as the "normal" tests. Inherits so that it will be a distinct type.

Template Parameters
TThe type parameter of a given test instantiation

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