LeviLamina
Loading...
Searching...
No Matches
DedicatedServerGameTestRunner.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Level;
10class TestConfig;
11// clang-format on
12
13class DedicatedServerGameTestRunner {
14public:
15 // member variables
16 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 DedicatedServerGameTestRunner& operator=(DedicatedServerGameTestRunner const&);
35 DedicatedServerGameTestRunner(DedicatedServerGameTestRunner const&);
36 DedicatedServerGameTestRunner();
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::TestConfig const& testConfig,
43 ::MinecraftGameTest& gameTest,
44 ::ServerInstance& server,
45 ::Level& level
46 );
47
48 MCNAPI void _finalizeReport();
49
50 MCNAPI void _initializeReport();
51
52 MCNAPI void _runTestGroup(::std::vector<::std::string> const& tags);
53
54 MCNAPI bool _saveReport();
55
56 MCNAPI bool _writeFile(::std::string const& fileName, ::std::string const& contents);
57
58 MCNAPI void tick();
59
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void*
67 $ctor(::TestConfig const& testConfig, ::MinecraftGameTest& gameTest, ::ServerInstance& server, ::Level& level);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCNAPI void $dtor();
74 // NOLINTEND
75};
MCAPI void * $ctor(::TestConfig const &testConfig, ::MinecraftGameTest &gameTest, ::ServerInstance &server, ::Level &level)
MCAPI void _runTestGroup(::std::vector<::std::string > const &tags)
MCAPI DedicatedServerGameTestRunner(::TestConfig const &testConfig, ::MinecraftGameTest &gameTest, ::ServerInstance &server, ::Level &level)
MCAPI bool _writeFile(::std::string const &fileName, ::std::string const &contents)
Definition Level.h:255
Definition MinecraftGameTest.h:22
Definition ServerInstance.h:64
Definition TestConfig.h:5
Definition Alias.h:14