bareos: master 0f149c42
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Sebastian Sura | Philipp Storz | master | 2023-05-10 08:29 | master 83a8ea75 | Pending |
Changeset | unit-tests: delete cache between tests Since our char -> wchar functions cache their results we need to ensure that 1) we do not use the same path twice in the same tests after another since then we would only test our cache; and 2) we clear the cache between test runs 1) has to be done manually but 2) can be done by clearing the cache in the TearDown() of the fixture. This works because gtest does not reuse fixtures for tests but instead recreates them for every test. |
||||
mod - core/src/tests/test_path_conversion.cc | Diff File |