KiCad PCB EDA Suite
|
Tests for FILENAME_RESOLVER and SEARCH_STACK. More...
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <filename_resolver.h>
#include <search_stack.h>
#include <wx/filename.h>
#include <filesystem>
#include <fstream>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (ResolveAbsoluteAndWorkingPath) | |
BOOST_AUTO_TEST_CASE (ResolveAliasAndErrors) | |
BOOST_AUTO_TEST_CASE (RelativePathResolution) | |
Tests for FILENAME_RESOLVER and SEARCH_STACK.
Definition in file test_filename_resolver.cpp.
BOOST_AUTO_TEST_CASE | ( | RelativePathResolution | ) |
Definition at line 95 of file test_filename_resolver.cpp.
References SEARCH_STACK::AddPaths(), BOOST_CHECK_EQUAL(), and SEARCH_STACK::FilenameWithRelativePathInSearchList().
BOOST_AUTO_TEST_CASE | ( | ResolveAbsoluteAndWorkingPath | ) |
Definition at line 44 of file test_filename_resolver.cpp.
References BOOST_CHECK_EQUAL(), FILENAME_RESOLVER::ResolvePath(), and resolver.
BOOST_AUTO_TEST_CASE | ( | ResolveAliasAndErrors | ) |
Definition at line 68 of file test_filename_resolver.cpp.
References BOOST_CHECK_EQUAL(), SEARCH_PATH::m_Alias, SEARCH_PATH::m_Pathvar, FILENAME_RESOLVER::ResolvePath(), resolver, and FILENAME_RESOLVER::UpdatePathList().