mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
test: add unit test for ImageIwdPostProcessor
This commit is contained in:
@ -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);
|
||||
|
@ -15,6 +15,7 @@ public:
|
||||
|
||||
void AddFile(std::string filePath);
|
||||
void Build(ISearchPath& searchPath, IOutputPath& outPath);
|
||||
[[nodiscard]] const std::vector<std::string>& GetFilePaths() const;
|
||||
|
||||
private:
|
||||
std::string m_name;
|
||||
|
Reference in New Issue
Block a user