Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Typedefs | Functions
test_lfringbuffer02.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_lfringbuffer02.cpp:

Go to the source code of this file.

Classes

class  Integer
 
class  TestRingbuffer02
 

Macros

#define CATCH_CONFIG_MAIN
 

Typedefs

typedef jau::snsize_t IntegralType
 
typedef Integer TrivialType
 
typedef ringbuffer< TrivialType, TrivialType, jau::nsize_tTrivialTypeRingbuffer
 

Functions

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

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 31 of file test_lfringbuffer02.cpp.

Typedef Documentation

◆ IntegralType

Definition at line 38 of file test_lfringbuffer02.cpp.

◆ TrivialType

Definition at line 60 of file test_lfringbuffer02.cpp.

◆ TrivialTypeRingbuffer

Definition at line 62 of file test_lfringbuffer02.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE() [1/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test00_PrintInfo  ,
"Test TestRingbuffer 02- 00"   
)

◆ METHOD_AS_TEST_CASE() [2/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test01_FullRead  ,
"Test TestRingbuffer 02- 01"   
)

◆ METHOD_AS_TEST_CASE() [3/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test02_EmptyWrite  ,
"Test TestRingbuffer 02- 02"   
)

◆ METHOD_AS_TEST_CASE() [4/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test03_EmptyWriteRange  ,
"Test TestRingbuffer 02- 03"   
)

◆ METHOD_AS_TEST_CASE() [5/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test04_FullReadReset  ,
"Test TestRingbuffer 02- 04"   
)

◆ METHOD_AS_TEST_CASE() [6/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test05_EmptyWriteClear  ,
"Test TestRingbuffer 02- 05"   
)

◆ METHOD_AS_TEST_CASE() [7/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test06_ReadResetMid01  ,
"Test TestRingbuffer 02- 06"   
)

◆ METHOD_AS_TEST_CASE() [8/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test07_ReadResetMid02  ,
"Test TestRingbuffer 02- 07"   
)

◆ METHOD_AS_TEST_CASE() [9/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test20_GrowFull01_Begin  ,
"Test TestRingbuffer 02- 20"   
)

◆ METHOD_AS_TEST_CASE() [10/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test21_GrowFull02_Begin1  ,
"Test TestRingbuffer 02- 21"   
)

◆ METHOD_AS_TEST_CASE() [11/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test22_GrowFull03_Begin2  ,
"Test TestRingbuffer 02- 22"   
)

◆ METHOD_AS_TEST_CASE() [12/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test23_GrowFull04_Begin3  ,
"Test TestRingbuffer 02- 23"   
)

◆ METHOD_AS_TEST_CASE() [13/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test24_GrowFull05_End  ,
"Test TestRingbuffer 02- 24"   
)

◆ METHOD_AS_TEST_CASE() [14/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test25_GrowFull11_End1  ,
"Test TestRingbuffer 02- 25"   
)

◆ METHOD_AS_TEST_CASE() [15/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test26_GrowFull12_End2  ,
"Test TestRingbuffer 02- 26"   
)

◆ METHOD_AS_TEST_CASE() [16/16]

METHOD_AS_TEST_CASE ( TestRingbuffer02::test27_GrowFull13_End3  ,
"Test TestRingbuffer 02- 27"   
)

◆ TrivialTypeNullElem()

static const TrivialType TrivialTypeNullElem ( 1)
static
Here is the caller graph for this function: