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
13public:
14 // member variables
15 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 GameTestRegistry& operator=(GameTestRegistry const&);
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI void clearAllTestMethods();
34
35 MCNAPI void generateTagsList();
36
37 MCNAPI ::std::shared_ptr<::gametest::BaseGameTestFunction> getTestFunction(::std::string const& testName);
38
39 MCNAPI bool
40 registerTestMethod(::std::string const& className, ::std::shared_ptr<::gametest::BaseGameTestFunction> fn);
41 // NOLINTEND
42};
43
44} // namespace gametest
Definition GameTestRegistry.h:12
MCAPI bool registerTestMethod(::std::string const &className, ::std::shared_ptr<::gametest::BaseGameTestFunction > fn)
MCAPI ::std::shared_ptr<::gametest::BaseGameTestFunction > getTestFunction(::std::string const &testName)
MCAPI void clearAllTestMethods()
Definition Alias.h:14