summaryrefslogtreecommitdiff
path: root/unittests/windowstests.py
Commit message (Collapse)AuthorAgeFilesLines
* unittests: use better assert methodsEli Schwartz2021-10-261-1/+1
| | | | | | | assertTrue and assertFalse are recommended against, if you can get a more specific assertion. And sometimes it is considerably shorter, for example we have a custom assertPathExists which we can take advantage of.
* msvc: Assume UTF8 source by defaultXavier Claessens2021-09-011-0/+13
| | | | | | | | | | | | Currently every project that uses UTF8 for its source files must add '/utf-8' argument otherwise they don't work non-English locale MSVC. Since meson.build itself is assumed to be UTF8 by default, seems better to assume it for source files by default too. For example: - https://gitlab.freedesktop.org/gstreamer/gst-build/-/blob/master/meson.build#L62 - https://gitlab.gnome.org/GNOME/glib/-/blob/main/meson.build#L29
* Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate"Jussi Pakkanen2021-08-151-0/+1
| | | | This reverts commit 0b97d585480e973d8b149618901f7a4ddfa1a906.
* compilers/c++: Add MSVC option to make the __cplusplus define accurateDylan Baker2021-08-111-1/+0
| | | | | Otherwise it always returns the value for c++98, starting with MSVC 2017 15.7 or later. Earlier versions are not affected by this mis-feature
* Split run_unittests.py fileXavier Claessens2021-07-261-0/+362