Commit graph

13 commits

Author SHA1 Message Date
Mathieu Comandon 916e8aa0db Start breaking up version code and add tests 2024-03-28 12:51:00 -07:00
Mathieu Comandon c490ae2a8d Move some runner tests in runners folder 2024-03-28 10:58:33 -07:00
Daniel Johnson 44c2419ac1 Replace game filter with more efficient version.
This will just leave the list alone if 'Installed games only' is off and the filter text is empty.

Also, it no longer strips the filter text over and over again, but just once at the start. It still has to strip each game name, but it's half the strippings now.

Also, fix some ruff issues.
2024-03-21 18:36:19 -04:00
ItsAllAboutTheCode ed0f86e6f6 Add Vita3K runner support
A Unit Test script has also been added to validate the runner options.

resolves #5357
2024-03-18 17:47:11 -07:00
Mathieu Comandon 38fbe9f05e Ruff reformat 2024-02-24 21:02:06 -08:00
Daniel Johnson 0ce76eed22 And the big one - replace the FILE_NOT_FOUND error code with an exception, MissingGameExecutableError, that provides the custom message. 2023-12-27 18:41:08 -05:00
Daniel Johnson 32841b9ab6 Fix up the PCX2 test, so it will work even though PCSX2 is not there.
This isn't as fancy as MagicMock, but I need to stub out a couple of functions in the runner being testing, so MagicMock doesn't work.
2023-12-16 11:27:42 -05:00
Daniel Johnson e52f3add18 Make all my new error messages for localization. 2023-11-29 19:16:01 -05:00
Daniel Johnson 22e8305314 Rework the mocks so the PCSX2 tests will still run even when it's not installed. 2023-11-29 19:16:01 -05:00
Mathieu Comandon 41c300fefd Group delegate classes in the delegates module 2023-06-14 00:49:10 -07:00
Daniel Johnson 31f327b50e Update PCSX2 unit test
The switches have all changed, and config-file support is gone entirely.
2023-05-14 06:32:29 -04:00
Alexander Ravenheart f5e8e007b3 - Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-11-17 21:17:43 -08:00
Austin Pua 89eb62dbeb Add tests for pcsx2 runner 2020-06-26 16:28:25 -07:00