[Commits] [wesnoth/wesnoth] 7f5152: Add filesystem code unit tests (bug #23216)
GitHub
noreply at github.com
Sun Apr 5 05:04:25 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 7f5152d0c344972bd6410a2f6b47610154853144
https://github.com/wesnoth/wesnoth/commit/7f5152d0c344972bd6410a2f6b47610154853144
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2015-04-05 (Sun, 05 Apr 2015)
Changed paths:
A data/test/test/filesystem/enum/A1.cfg
A data/test/test/filesystem/enum/A2.cfg
A data/test/test/filesystem/enum/A3.cfg
A data/test/test/filesystem/enum/B1.cfg
A data/test/test/filesystem/enum/B2.cfg
A data/test/test/filesystem/enum/B3.cfg
A data/test/test/filesystem/enum/D1/empty_dir
A data/test/test/filesystem/enum/D2/empty_dir
A data/test/test/filesystem/enum/D3/empty_dir
A data/test/test/filesystem/enum/_final.cfg
A data/test/test/filesystem/enum/_initial.cfg
M src/CMakeLists.txt
M src/SConscript
A src/tests/test_filesystem.cpp
Log Message:
-----------
Add filesystem code unit tests (bug #23216)
This is somewhat incomplete, but already covers most core functionality
and helped uncover an important bug in the BFS implementation (see
commit 1c927c8407ec797ef9e9e58599a7b71e617fe864).
Most notably, normalize_path() isn't tested yet, as well as corner cases
with empty strings and get_wml_location().
More information about the Commits
mailing list