Lumiera  0.pre.03
»edit your freedom«
buffer-metadata-key-test.cpp File Reference

Go to the source code of this file.

Description

unit test BufferMetadataKey_test

Definition in file buffer-metadata-key-test.cpp.

#include "lib/error.hpp"
#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "steam/engine/buffer-metadata.hpp"
#include <cstdlib>
#include <cstring>
#include <limits>

Classes

class  BufferMetadataKey_test
 
struct  KeyTypeSpecialisationDiagnostics
 Helper to investigate the settings stored in Metadata Key elements. More...
 
struct  PlacedNumbers< siz >
 Test Mock to verify the attachment of objects to the buffer. More...
 

Functions

 LAUNCHER (BufferMetadataKey_test, "unit player")
 Register this test class... More...
 
const TypeHandler verifyHandler (Key const &subject)
 
size_t verifySize (Key const &subject)
 
const LocalKey verifySpecifics (Key const &subject)
 

Variables

const size_t SIZE_A = 1 + rand() % TEST_MAX_SIZE
 
const size_t SIZE_B = 1 + rand() % TEST_MAX_SIZE
 
const size_t TEST_MAX_SIZE = 1024 * 1024
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::engine
 Lumiera's render engine core and operational control.
 

Function Documentation

◆ LAUNCHER()

steam::engine::metadata::test::LAUNCHER ( BufferMetadataKey_test  ,
"unit player"   
)

Register this test class...