diff options
| author | Stefan Boberg <[email protected]> | 2026-01-19 14:46:42 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-19 14:46:42 +0100 |
| commit | 155271b7e541705bab782c0b75ed09050a56fcf8 (patch) | |
| tree | daff96788a7dda7dbc9adbb68a5daae2f2fc0af4 /src/zenserver-test/projectstore-tests.cpp | |
| parent | remove ZENCORE_API completely (#718) (diff) | |
| download | zen-155271b7e541705bab782c0b75ed09050a56fcf8.tar.xz zen-155271b7e541705bab782c0b75ed09050a56fcf8.zip | |
ZenServerProcess API changes (#719)
This refactor aims to improve the `ZenServerProcess` classes by making them useful for managing child zenserver instances in more scenarios than just automated tests. This involves changing some functions to not talk about "test directory" and instead use "data directory" etc
As a consequence of the API changes, some tests have changed accordingly.
The code includes som reference to the "hub" mode but there is not yet any other code using this mode, it's just included in this PR to simplify future merges.
Diffstat (limited to 'src/zenserver-test/projectstore-tests.cpp')
| -rw-r--r-- | src/zenserver-test/projectstore-tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver-test/projectstore-tests.cpp b/src/zenserver-test/projectstore-tests.cpp index c8c96dbbb..735aef159 100644 --- a/src/zenserver-test/projectstore-tests.cpp +++ b/src/zenserver-test/projectstore-tests.cpp @@ -34,7 +34,7 @@ TEST_CASE("project.basic") std::filesystem::path TestDir = TestEnv.CreateNewTestDir(); ZenServerInstance Instance1(TestEnv); - Instance1.SetTestDir(TestDir); + Instance1.SetDataDir(TestDir); const uint16_t PortNumber = Instance1.SpawnServerAndWaitUntilReady(); |