#include <cassert>
#include <cstring>
#include <string_view>
#include <jau/enum_util.hpp>
#include <jau/file_util.hpp>
#include <jau/test/catch2_ext.hpp>
Go to the source code of this file.
|
enum class | test_type1_t : uint8_t { none = 0
, one = 1
, two = 2
, three = 3
} |
| Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright Gothel Software e.K. More...
|
|
enum class | test_type2_t : uint8_t { none = 0
, one
, two
, three
} |
|
enum class | test_type3_t : uint8_t { none = 0
, one = 1 << 0
, two = 1 << 1
, three = 1 << 2
} |
|
enum class | test::local::test_type4_t : uint8_t { test::local::none = 0
, test::local::one = 1 << 0
, test::local::two = 1 << 1
, test::local::three = 1 << 2
} |
|
enum class | test::local::test_type5_t : uint8_t { test::local::none = 0
, test::local::one = 10
, test::local::two = 20
, test::local::three = 30
} |
|
|
| JAU_MAKE_BITFIELD_ENUM_STRING (test_type3_t, one, two, three) |
|
| test::local::JAU_MAKE_BITFIELD_ENUM_STRING (test_type4_t, one, two, three) |
|
| jau::fs::JAU_MAKE_ENUM_INFO (fmode_t, none, sock, blk, chr, fifo, dir, file, link, no_access, not_existing) |
|
| jau::fs::JAU_MAKE_ENUM_INFO (mountflags_linux, none, rdonly, nosuid, nodev, noexec, synchronous, remount, mandlock, dirsync, noatime, nodiratime, bind, move, rec, silent, posixacl, unbindable, private_, slave, shared, relatime, kernmount, i_version, strictatime, lazytime, active, nouser) |
|
| JAU_MAKE_ENUM_INFO (test_type1_t, none, one, two, three) |
|
| JAU_MAKE_ENUM_INFO (test_type2_t, none, one, two, three) |
|
| JAU_MAKE_ENUM_INFO (test_type3_t, none, one, two, three) |
|
| test::local::JAU_MAKE_ENUM_INFO (test_type4_t, one, two, three) |
|
| test::local::JAU_MAKE_ENUM_INFO (test_type5_t, one, two, three) |
|
| JAU_MAKE_ENUM_STRING (test_type1_t, one, two, three) |
|
| JAU_MAKE_ENUM_STRING (test_type2_t, one, two, three) |
|
| test::local::JAU_MAKE_ENUM_STRING (test_type5_t, one, two, three) |
|
| TEST_CASE ("Enum Class Value Type Test 10", "[enum][type]") |
|
| TEST_CASE ("Enum Class Value Type Test 11", "[enum][type]") |
|
template<typename enum_info_t> |
void | test_enum_info (size_t size) |
|
◆ test_type1_t
◆ test_type2_t
◆ test_type3_t
◆ JAU_MAKE_ENUM_STRING() [1/2]
◆ JAU_MAKE_ENUM_INFO() [1/3]
◆ JAU_MAKE_ENUM_STRING() [2/2]
◆ JAU_MAKE_ENUM_INFO() [2/3]
◆ JAU_MAKE_BITFIELD_ENUM_STRING()
◆ JAU_MAKE_ENUM_INFO() [3/3]
◆ test_enum_info()
template<typename enum_info_t>
void test_enum_info |
( |
size_t | size | ) |
|
◆ TEST_CASE() [1/2]
TEST_CASE |
( |
"Enum Class Value Type Test 10" | , |
|
|
"" | [enum][type] ) |
◆ TEST_CASE() [2/2]
TEST_CASE |
( |
"Enum Class Value Type Test 11" | , |
|
|
"" | [enum][type] ) |