|
Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
#include <iostream>#include <cassert>#include <cinttypes>#include <cstring>#include <random>#include <vector>#include <catch2/catch_amalgamated.hpp>#include <jau/test/catch2_ext.hpp>#include "test_datatype01.hpp"#include "test_datatype02.hpp"#include <jau/basic_algos.hpp>#include <jau/basic_types.hpp>#include <jau/darray.hpp>#include <jau/cow_darray.hpp>#include <jau/cow_vector.hpp>#include <jau/counting_allocator.hpp>#include <jau/callocator.hpp>#include <jau/counting_callocator.hpp>Go to the source code of this file.
Classes | |
| struct | NamedSharedPayloadListDefault< Payload > |
| struct | NamedSharedPayloadListMemMove< Payload > |
| struct | NamedPayloadListDefault< Payload > |
| struct | NamedPayloadListMemMove< Payload > |
Macros | |
| #define | CATCH_CONFIG_RUNNER |
| #define | CHECK_TRAITS 0 |
Typedefs | |
| template<class Payload > | |
| using | SharedPayloadListMemMove = jau::darray< std::shared_ptr< Payload >, jau::callocator< std::shared_ptr< Payload > >, jau::nsize_t, true, true > |
| template<class Payload > | |
| using | SharedPayloadListDefault = jau::darray< std::shared_ptr< Payload > > |
| template<class Payload > | |
| using | PayloadListMemMove = jau::darray< Payload, jau::callocator< Payload >, jau::nsize_t, true, true > |
| template<class Payload > | |
| using | PayloadListDefault = jau::darray< Payload > |
Functions | |
| TEST_CASE ("JAU DArray Test 01 - jau::darray initializer list", "[datatype][jau][darray]") | |
| template<class Payload > | |
| static NamedSharedPayloadListDefault< Payload > | makeNamedSharedPayloadListDefault (int name) |
| template<class Payload > | |
| static NamedSharedPayloadListDefault< Payload > | modifyCopyOfNamedSharedPayloadListDefault (NamedSharedPayloadListDefault< Payload > src) |
| template<class Payload > | |
| static NamedSharedPayloadListMemMove< Payload > | makeNamedSharedPayloadListMemMove (int name) |
| template<class Payload > | |
| static NamedPayloadListDefault< Payload > | makeNamedPayloadListDefault (int name) |
| template<class Payload > | |
| static NamedPayloadListMemMove< Payload > | makeNamedPayloadListMemMove (int name) |
| template<class Cont > | |
| static void | print_container_info (const std::string &type_id, const Cont &c, std::enable_if_t< jau::is_darray_type< Cont >::value, bool >=true) |
| template<class Cont > | |
| static void | print_container_info (const std::string &type_id, const Cont &c, std::enable_if_t< !jau::is_darray_type< Cont >::value, bool >=true) |
| template<class Payload > | |
| static void | testDArrayValueType (const std::string &type_id) |
| static GattServiceCharacteristic | returnGattSrvcChar (int i) |
| static void | testDArrayGattServiceCharacteristic () |
| TEST_CASE ("JAU DArray Test 02 - jau::darray value_type behavior (type traits)", "[datatype][jau][darray]") | |
| #define CATCH_CONFIG_RUNNER |
Definition at line 32 of file test_cow_darray_01.cpp.
| #define CHECK_TRAITS 0 |
Definition at line 251 of file test_cow_darray_01.cpp.
| using PayloadListDefault = jau::darray<Payload> |
Definition at line 131 of file test_cow_darray_01.cpp.
| using PayloadListMemMove = jau::darray<Payload, jau::callocator<Payload>, jau::nsize_t, true , true > |
Definition at line 127 of file test_cow_darray_01.cpp.
| using SharedPayloadListDefault = jau::darray<std::shared_ptr<Payload> > |
Definition at line 81 of file test_cow_darray_01.cpp.
| using SharedPayloadListMemMove = jau::darray<std::shared_ptr<Payload>, jau::callocator<std::shared_ptr<Payload> >, jau::nsize_t, true , true > |
Definition at line 77 of file test_cow_darray_01.cpp.
|
static |
Definition at line 214 of file test_cow_darray_01.cpp.
|
static |
Definition at line 228 of file test_cow_darray_01.cpp.
|
static |
Definition at line 177 of file test_cow_darray_01.cpp.
|
static |
Definition at line 200 of file test_cow_darray_01.cpp.
|
static |
Definition at line 191 of file test_cow_darray_01.cpp.
|
static |
Definition at line 266 of file test_cow_darray_01.cpp.
|
static |
Definition at line 253 of file test_cow_darray_01.cpp.
|
static |
Definition at line 404 of file test_cow_darray_01.cpp.
| TEST_CASE | ( | "JAU DArray Test 01 - jau::darray initializer list" | , |
| "" | [datatype][jau][darray] | ||
| ) |
Definition at line 60 of file test_cow_darray_01.cpp.
| TEST_CASE | ( | "JAU DArray Test 02 - jau::darray value_type behavior (type traits)" | , |
| "" | [datatype][jau][darray] | ||
| ) |
|
static |
Definition at line 408 of file test_cow_darray_01.cpp.
|
static |
Definition at line 275 of file test_cow_darray_01.cpp.
1.8.18