[Scummvm-git-logs] scummvm master -> b22b4239f4c5c300c23cc6d459ad9bef82d55c4e
aquadran
noreply at scummvm.org
Tue Sep 16 14:21:55 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b22b4239f4 WINTERMUTE: Update path utils tests
Commit: b22b4239f4c5c300c23cc6d459ad9bef82d55c4e
https://github.com/scummvm/scummvm/commit/b22b4239f4c5c300c23cc6d459ad9bef82d55c4e
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-16T16:21:50+02:00
Commit Message:
WINTERMUTE: Update path utils tests
Changed paths:
test/engines/wintermute/path_utils.h
diff --git a/test/engines/wintermute/path_utils.h b/test/engines/wintermute/path_utils.h
index b7aeea583b6..cf3d4419500 100644
--- a/test/engines/wintermute/path_utils.h
+++ b/test/engines/wintermute/path_utils.h
@@ -176,28 +176,24 @@ class PathUtilTestSuite : public CxxTest::TestSuite {
TS_ASSERT_EQUALS(
Wintermute::PathUtil::getDirectoryName(windowsPath) +
Wintermute::PathUtil::getFileNameWithoutExtension(windowsPath) +
- "." +
Wintermute::PathUtil::getExtension(windowsPath),
- windowsPath
+ Common::String("C:/some/file.ext")
);
TS_ASSERT_EQUALS(
Wintermute::PathUtil::getDirectoryName(windowsCapPath) +
Wintermute::PathUtil::getFileNameWithoutExtension(windowsCapPath) +
- "." +
Wintermute::PathUtil::getExtension(windowsCapPath),
- windowsCapPath
+ Common::String("C:/SOME/FILE.EXT")
);
TS_ASSERT_EQUALS(
Wintermute::PathUtil::getDirectoryName(unixCapPath) +
Wintermute::PathUtil::getFileNameWithoutExtension(unixCapPath) +
- "." +
Wintermute::PathUtil::getExtension(unixCapPath),
unixCapPath
);
TS_ASSERT_EQUALS(
Wintermute::PathUtil::getDirectoryName(manyExtPath) +
Wintermute::PathUtil::getFileNameWithoutExtension(manyExtPath) +
- "." +
Wintermute::PathUtil::getExtension(manyExtPath),
manyExtPath
);
More information about the Scummvm-git-logs
mailing list