Added path views for abs and rel paths

This commit is contained in:
catalinvasile
2024-07-10 11:52:47 +02:00
parent 51cf1887cd
commit 2195ccfc28
15 changed files with 4637 additions and 957 deletions
+2 -22
View File
@@ -1,11 +1,6 @@
#include "stdafx.h"
// each test module could contain no more then one 'main' file with init function defined
// alternatively you could define init function yourself
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include "tl/string.h"
#include "tl/utest.h"
void* __cdecl operator new[](size_t size, const char* name, int flags, unsigned debugFlags, const char* file, int line)
{
@@ -16,19 +11,4 @@ void* __cdecl operator new[](size_t size, size_t, size_t, const char* name, int
return new uint8_t[size];
}
//____________________________________________________________________________//
struct GlobalFixture
{
GlobalFixture()
{
std::cout << "Starting Tests\n";
}
~GlobalFixture()
{
std::cout << "Finishing Tests\n";
tl::string::free_database();
}
};
BOOST_GLOBAL_FIXTURE(GlobalFixture);
UTEST_MAIN();