LeviLamina
Loading...
Searching...
No Matches
GameTestRegistry.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 GameTestRegistry {
13public:
14 // member variables
15 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 GameTestRegistry& operator=(GameTestRegistry const&);
27 GameTestRegistry(GameTestRegistry const&);
28 GameTestRegistry();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI void clearAllTestMethods();
34
35 MCNAPI void generateTagsList();
36
37 MCNAPI ::std::function<void()> getAfterBatchFunction(::std::string const& batchName);
38
39 MCNAPI ::std::function<void()> getBeforeBatchFunction(::std::string const& batchName);
40
41 MCNAPI bool registerAfterBatchFunction(::std::string const& batchName, ::std::function<void()> fn);
42
43 MCNAPI bool registerBeforeBatchFunction(::std::string const& batchName, ::std::function<void()> fn);
44
45 MCNAPI bool
46 registerTestMethod(::std::string const& className, ::std::shared_ptr<::gametest::BaseGameTestFunction> fn);
47
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56};
57
58} // namespace gametest
Definition BaseGameTestFunction.h:14
MCAPI bool registerAfterBatchFunction(::std::string const &batchName, ::std::function< void()> fn)
MCAPI ::std::function< void()> getBeforeBatchFunction(::std::string const &batchName)
MCAPI bool registerTestMethod(::std::string const &className, ::std::shared_ptr<::gametest::BaseGameTestFunction > fn)
MCAPI bool registerBeforeBatchFunction(::std::string const &batchName, ::std::function< void()> fn)
MCAPI ::std::function< void()> getAfterBatchFunction(::std::string const &batchName)
MCAPI void clearAllTestMethods()
Definition Alias.h:14