Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GameTestBatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace gametest { class BaseGameTestFunction; }
8// clang-format on
9
10namespace gametest {
11
12class GameTestBatch {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<8, 64, ::std::function<void()>> mBeforeBatchFunction;
17 ::ll::TypedStorage<8, 64, ::std::function<void()>> mAfterBatchFunction;
18 ::ll::TypedStorage<8, 32, ::std::string const> mName;
19 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction>>> mTestFunctions;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 GameTestBatch();
25
26public:
27 // member functions
28 // NOLINTBEGIN
30 ::std::string name,
31 ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction>> testFunctions,
32 ::std::function<void()> beforeBatchFunction,
33 ::std::function<void()> afterBatchFunction
34 );
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCNAPI void* $ctor(
41 ::std::string name,
42 ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction>> testFunctions,
43 ::std::function<void()> beforeBatchFunction,
44 ::std::function<void()> afterBatchFunction
45 );
46 // NOLINTEND
47};
48
49} // namespace gametest
Definition BaseGameTestFunction.h:14
MCAPI void * $ctor(::std::string name, ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction > > testFunctions, ::std::function< void()> beforeBatchFunction, ::std::function< void()> afterBatchFunction)
MCAPI GameTestBatch(::std::string name, ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction > > testFunctions, ::std::function< void()> beforeBatchFunction, ::std::function< void()> afterBatchFunction)