2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-12 19:47:27 +00:00

test: add unit test for ImageIwdPostProcessor

This commit is contained in:
Jan
2025-01-08 18:35:39 +01:00
parent 8c8ceae0bd
commit 3b5ca86b0d
4 changed files with 284 additions and 2 deletions

View File

@@ -79,6 +79,11 @@ void IwdToCreate::Build(ISearchPath& searchPath, IOutputPath& outPath)
std::cout << std::format("Created iwd {} with {} entries\n", m_name, m_file_paths.size());
}
const std::vector<std::string>& IwdToCreate::GetFilePaths() const
{
return m_file_paths;
}
IwdToCreate* IwdCreator::GetOrAddIwd(const std::string& iwdName)
{
const auto existingIwd = m_iwd_lookup.find(iwdName);