Commit Graph
6 Commits
Author SHA1 Message Date
ReenigneArcher e69b7696e3 Encapsulate screenshot state in test fixture
Refactors `tests/conftest.cpp` to make fixture internals private, rename state members with trailing underscores, and expose read-only accessors for test binary dir and screenshot skip reason. It also makes screenshot initialization/capture helpers const-correct and updates `tests/unit/test_tray.cpp` to use the new accessor methods.
2026-06-29 10:17:44 -04:00
ReenigneArcher dbfd12f169 Simplify test fixture and bump common submodule
Refactors `tests/conftest.cpp` to rely on shared behavior from `lizardbyte-common` by removing the custom stdout/stderr capture, `exec()` helper, and related teardown plumbing from `BaseTest`. It also updates the fixture comment to reflect tray-specific helpers and advances the `third-party/lizardbyte-common` submodule to the newer commit.
2026-06-28 23:44:12 -04:00
ReenigneArcher f701250fe7 Use lizardbyte-common test support in tests
Switch the test suite to shared helpers from `lizardbyte-common` by enabling and linking `lizardbyte::test_support` in `tests/CMakeLists.txt`. Update `conftest.cpp` to inherit from `lizardbyte::common::testing::BaseTest`, use its argument/platform fixtures, and rely on its output capture flow, then remove the now-redundant local `tests/utils.*` helpers. Also bump the `third-party/lizardbyte-common` submodule to the version that provides this test support.
2026-06-28 22:54:05 -04:00
David LaneandThomas Van Laere 7936cb35ae test: add screenshots (#86)
Co-authored-by: Thomas Van Laere <4990509+thomvanl@users.noreply.github.com>
2026-03-22 22:22:24 -04:00
LizardByte-botandReenigneArcher 1443a1a9da chore: update global workflows (#37)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2025-01-19 23:35:27 -05:00
ReenigneArcher cb33552612 feat: add unit testing and standardize to org (#13) 2024-05-12 08:26:01 -04:00