aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver-test/function-tests.cpp
blob: 559387fa23d059cd9bfabcf018415eb5f6a1feaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright Epic Games, Inc. All Rights Reserved.

#include <zencore/zencore.h>

#if ZEN_WITH_TESTS

#	include <zencore/compactbinary.h>
#	include <zencore/compactbinarybuilder.h>
#	include <zencore/string.h>
#	include <zencore/testing.h>
#	include <zenutil/zenserverprocess.h>

#	include "zenserver-test.h"

namespace zen::tests {

using namespace std::literals;

TEST_CASE("function.run")
{
	std::filesystem::path TestDir = TestEnv.CreateNewTestDir();

	ZenServerInstance Instance(TestEnv);
	Instance.SetDataDir(TestDir);
	Instance.SpawnServer(13337);

	ZEN_INFO("Waiting...");

	Instance.WaitUntilReady();
}

}  // namespace zen::tests

#endif