1
0
forked from Alepha/Alepha

Apply the newer namespace rules and layout/formatting.

This commit is contained in:
2024-04-02 23:32:02 -04:00
parent 53a4d91a23
commit 373b07e1c4
31 changed files with 501 additions and 536 deletions

View File

@ -41,7 +41,7 @@ namespace Alepha::Hydrogen::Testing ::detail:: TableTest_m
namespace C:: inline Colors
{
using namespace testing_colors::C:: Colors;
using namespace Testing::detail::colors_m::C:: Colors;
}
enum class TestResult { Passed, Failed };
@ -285,7 +285,7 @@ namespace Alepha::Hydrogen::Testing ::detail:: TableTest_m
}
using std::begin, std::end;
using namespace Utility::exports::evaluation_helpers;
using namespace Utility::exports::evaluation_helpers_m;
template< template< typename, typename... > class Sequence, typename ... TupleArgs >
auto

View File

@ -8,7 +8,7 @@ namespace
{
namespace UnitTest= Alepha::Testing::exports;
using namespace Alepha::Utility::exports::evaluation_helpers;
using namespace Alepha::Utility::exports::evaluation_helpers_m;
using namespace UnitTest::literals;
using UnitTest::TableTest;

View File

@ -14,7 +14,7 @@ static_assert( __cplusplus > 2020'99 );
namespace
{
using namespace Alepha::Testing::exports;
using namespace Alepha::Utility::exports::evaluation_helpers;
using namespace Alepha::Utility::exports::evaluation_helpers_m;
int
add( int a, int b )

View File

@ -4,7 +4,7 @@ static_assert( __cplusplus > 2020'99 );
#include <Alepha/Console.h>
namespace Alepha::Hydrogen::Testing ::detail:: testing_colors
namespace Alepha::Hydrogen::Testing ::detail:: colors_m
{
namespace C
{

View File

@ -2,7 +2,7 @@ static_assert( __cplusplus > 2020'99 );
#include "test.h"
namespace Alepha::Hydrogen::Testing::detail::testing
namespace Alepha::Hydrogen::Testing ::detail:: test_m
{
StaticValue< std::vector< std::tuple< std::string, bool, std::function< void() > > > > registry;

View File

@ -23,9 +23,9 @@ static_assert( __cplusplus > 2020'99 );
namespace Alepha::Hydrogen::Testing
{
inline namespace exports { inline namespace testing {} }
inline namespace exports { inline namespace test_m {} }
namespace detail::testing
namespace detail::test_m
{
inline namespace exports {}
@ -35,11 +35,11 @@ namespace Alepha::Hydrogen::Testing
const bool debugTestRegistration= false or C::debug;
const bool debugTestRun= false or C::debug;
using namespace testing_colors::C::Colors;
using namespace detail::colors_m::C::Colors;
}
using namespace std::literals::string_literals;
using namespace Utility::exports::evaluation_helpers;
using namespace Utility::exports::evaluation_helpers_m;
using namespace Utility::exports::StaticValue_m;
struct TestName
@ -167,13 +167,13 @@ namespace Alepha::Hydrogen::Testing
}
}
namespace exports::testing
namespace exports::test_m
{
using namespace detail::testing::exports;
using namespace detail::test_m::exports;
}
namespace exports::inline literals::inline test_literals
{
using namespace detail::testing::exports::literals;
using namespace detail::test_m::exports::literals;
}
}