Files
wxWidgets/tests
Vadim Zeitlin f47de7bfd8 Add wxFileName::CopyAttributesFrom() and use it in wxTemp{F,}File
Copy the target attributes that are easy to copy and make sense to
preserve under Windows too instead of only doing it under Unix in
wxTemp{F,}File and do it in a new wxFileName::CopyAttributesFrom()
function instead of duplicating the same code in both classes.

The new function can be potentially useful on its own, so make it public
and document it.

Add a unit test verifying that the attributes are preserved after
overwriting the file with wxTemp{F,}File.
2026-09-11 02:28:00 +02:00
..
2026-07-09 15:08:08 +02:00
2026-09-10 17:58:22 +02:00
…
2026-08-13 21:42:14 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…

Tests

This directory contains tests for the library and is mostly useful for the library developers. See the samples subdirectory for the examples that are more useful to the application developers using the library.

If you do work on the library itself and would like to modify an existing or add a new test, please see docs/contributing/how-to-write-unit-tests.md for more information.

This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.