Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Typedefs | Functions | Variables
test_lfringbuffer03.cpp File Reference
#include <iostream>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <memory>
#include <catch2/catch_amalgamated.hpp>
#include <jau/test/catch2_ext.hpp>
#include <jau/ringbuffer.hpp>
Include dependency graph for test_lfringbuffer03.cpp:

Go to the source code of this file.

Classes

class  Integer
 
class  TestRingbuffer03
 

Macros

#define CATCH_CONFIG_MAIN
 

Typedefs

typedef jau::snsize_t IntegralType
 
typedef std::shared_ptr< IntegerSharedType
 
typedef ringbuffer< SharedType, std::nullptr_t, jau::nsize_tSharedTypeRingbuffer
 

Functions

 METHOD_AS_TEST_CASE (TestRingbuffer03::test00_PrintInfo, "Test TestRingbuffer 03- 00")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test01_FullRead, "Test TestRingbuffer 03- 01")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test02_EmptyWrite, "Test TestRingbuffer 03- 02")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test03_EmptyWriteRange, "Test TestRingbuffer 03- 03")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test04_FullReadReset, "Test TestRingbuffer 03- 04")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test05_EmptyWriteClear, "Test TestRingbuffer 03- 05")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test06_ReadResetMid01, "Test TestRingbuffer 03- 06")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test07_ReadResetMid02, "Test TestRingbuffer 03- 07")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test20_GrowFull01_Begin, "Test TestRingbuffer 03- 20")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test21_GrowFull02_Begin1, "Test TestRingbuffer 03- 21")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test22_GrowFull03_Begin2, "Test TestRingbuffer 03- 22")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test23_GrowFull04_Begin3, "Test TestRingbuffer 03- 23")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test24_GrowFull05_End, "Test TestRingbuffer 03- 24")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test25_GrowFull11_End1, "Test TestRingbuffer 03- 25")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test26_GrowFull12_End2, "Test TestRingbuffer 03- 26")
 
 METHOD_AS_TEST_CASE (TestRingbuffer03::test27_GrowFull13_End3, "Test TestRingbuffer 03- 27")
 

Variables

std::shared_ptr< IntegerNullInteger = nullptr
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 31 of file test_lfringbuffer03.cpp.

Typedef Documentation

◆ IntegralType

Definition at line 38 of file test_lfringbuffer03.cpp.

◆ SharedType

typedef std::shared_ptr<Integer> SharedType

Definition at line 60 of file test_lfringbuffer03.cpp.

◆ SharedTypeRingbuffer

Definition at line 61 of file test_lfringbuffer03.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE() [1/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test00_PrintInfo  ,
"Test TestRingbuffer 03- 00"   
)

◆ METHOD_AS_TEST_CASE() [2/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test01_FullRead  ,
"Test TestRingbuffer 03- 01"   
)

◆ METHOD_AS_TEST_CASE() [3/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test02_EmptyWrite  ,
"Test TestRingbuffer 03- 02"   
)

◆ METHOD_AS_TEST_CASE() [4/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test03_EmptyWriteRange  ,
"Test TestRingbuffer 03- 03"   
)

◆ METHOD_AS_TEST_CASE() [5/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test04_FullReadReset  ,
"Test TestRingbuffer 03- 04"   
)

◆ METHOD_AS_TEST_CASE() [6/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test05_EmptyWriteClear  ,
"Test TestRingbuffer 03- 05"   
)

◆ METHOD_AS_TEST_CASE() [7/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test06_ReadResetMid01  ,
"Test TestRingbuffer 03- 06"   
)

◆ METHOD_AS_TEST_CASE() [8/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test07_ReadResetMid02  ,
"Test TestRingbuffer 03- 07"   
)

◆ METHOD_AS_TEST_CASE() [9/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test20_GrowFull01_Begin  ,
"Test TestRingbuffer 03- 20"   
)

◆ METHOD_AS_TEST_CASE() [10/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test21_GrowFull02_Begin1  ,
"Test TestRingbuffer 03- 21"   
)

◆ METHOD_AS_TEST_CASE() [11/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test22_GrowFull03_Begin2  ,
"Test TestRingbuffer 03- 22"   
)

◆ METHOD_AS_TEST_CASE() [12/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test23_GrowFull04_Begin3  ,
"Test TestRingbuffer 03- 23"   
)

◆ METHOD_AS_TEST_CASE() [13/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test24_GrowFull05_End  ,
"Test TestRingbuffer 03- 24"   
)

◆ METHOD_AS_TEST_CASE() [14/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test25_GrowFull11_End1  ,
"Test TestRingbuffer 03- 25"   
)

◆ METHOD_AS_TEST_CASE() [15/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test26_GrowFull12_End2  ,
"Test TestRingbuffer 03- 26"   
)

◆ METHOD_AS_TEST_CASE() [16/16]

METHOD_AS_TEST_CASE ( TestRingbuffer03::test27_GrowFull13_End3  ,
"Test TestRingbuffer 03- 27"   
)

Variable Documentation

◆ NullInteger

std::shared_ptr<Integer> NullInteger = nullptr

Definition at line 58 of file test_lfringbuffer03.cpp.