mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 16:59:04 +00:00
20 lines
754 B
C++
20 lines
754 B
C++
#pragma once
|
|
#include "ITestClass.h"
|
|
|
|
#include <tc/io/Path.h>
|
|
|
|
class io_BasicPathResolver_TestClass : public ITestClass
|
|
{
|
|
public:
|
|
void runAllTests();
|
|
private:
|
|
void test_EmptyStateAfterDefaultConstructor();
|
|
void test_setCurrentDirectory();
|
|
void test_setExplicitRootLabels();
|
|
void test_ResolveRootDirRelativePaths();
|
|
void test_ResolveWorkingDirectoryRelativePaths();
|
|
void test_ResolvePathsWithCustomRootLabels();
|
|
|
|
void util_RunResolutionTest(const tc::io::Path& in_path, const tc::io::Path& in_working_dir_path, const tc::io::Path& expected_resolved_path);
|
|
void util_RunResolutionTest(const tc::io::Path& in_path, const tc::io::Path& in_working_dir_path, const std::vector<std::string>& root_labels, const tc::io::Path& expected_resolved_path);
|
|
}; |