mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-13 19:18:01 +07:00
add tests for headers
This commit is contained in:
@@ -18,5 +18,11 @@ target_link_libraries(${PROJECT_NAME}.singles PRIVATE
|
||||
meta.hpp.vendors::doctest
|
||||
meta.hpp.vendors::fmt)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||
META_HPP_HEADERS_BUILD)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME}.singles PRIVATE
|
||||
META_HPP_SINGLES_BUILD)
|
||||
|
||||
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
||||
add_test(${PROJECT_NAME} ${PROJECT_NAME}.singles)
|
||||
|
||||
@@ -19,3 +19,9 @@ target_link_libraries(${PROJECT_NAME}.singles PRIVATE
|
||||
meta.hpp.vendors::gbench
|
||||
meta.hpp.vendors::rttr
|
||||
meta.hpp.vendors::vmath.hpp)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||
META_HPP_HEADERS_BUILD)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME}.singles PRIVATE
|
||||
META_HPP_SINGLES_BUILD)
|
||||
|
||||
@@ -16,5 +16,11 @@ target_link_libraries(${PROJECT_NAME}.singles PRIVATE
|
||||
meta.hpp::setup_targets
|
||||
meta.hpp.vendors::doctest)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||
META_HPP_HEADERS_BUILD)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME}.singles PRIVATE
|
||||
META_HPP_SINGLES_BUILD)
|
||||
|
||||
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
||||
add_test(${PROJECT_NAME} ${PROJECT_NAME}.singles)
|
||||
|
||||
16
develop/untests/meta_headers/binds_tests.cpp
Normal file
16
develop/untests/meta_headers/binds_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_binds.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/binds") {
|
||||
}
|
||||
16
develop/untests/meta_headers/indices_tests.cpp
Normal file
16
develop/untests/meta_headers/indices_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_indices.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/indices") {
|
||||
}
|
||||
16
develop/untests/meta_headers/invoke_tests.cpp
Normal file
16
develop/untests/meta_headers/invoke_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_invoke.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/invoke") {
|
||||
}
|
||||
16
develop/untests/meta_headers/registry_tests.cpp
Normal file
16
develop/untests/meta_headers/registry_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_registry.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/registry") {
|
||||
}
|
||||
16
develop/untests/meta_headers/states_tests.cpp
Normal file
16
develop/untests/meta_headers/states_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_states.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/states") {
|
||||
}
|
||||
16
develop/untests/meta_headers/types_tests.cpp
Normal file
16
develop/untests/meta_headers/types_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_types.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/types") {
|
||||
}
|
||||
16
develop/untests/meta_headers/ucast_tests.cpp
Normal file
16
develop/untests/meta_headers/ucast_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_ucast.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/ucast") {
|
||||
}
|
||||
16
develop/untests/meta_headers/uresult_tests.cpp
Normal file
16
develop/untests/meta_headers/uresult_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_uresult.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/uresult") {
|
||||
}
|
||||
16
develop/untests/meta_headers/uvalue_tests.cpp
Normal file
16
develop/untests/meta_headers/uvalue_tests.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "https://github.com/blackmatov/meta.hpp"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2021-2023, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#if defined(META_HPP_HEADERS_BUILD)
|
||||
# include <meta.hpp/meta_uvalue.hpp>
|
||||
#else
|
||||
# include <meta.hpp/meta_all.hpp>
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
TEST_CASE("meta/meta_headers/uvalue") {
|
||||
}
|
||||
Reference in New Issue
Block a user