3#include "mc/_HeaderOutputPredefine.h"
12class GameTestRegistry {
26 GameTestRegistry& operator=(GameTestRegistry
const&);
27 GameTestRegistry(GameTestRegistry
const&);
45 MCNAPI ::std::shared_ptr<::gametest::BaseGameTestFunction>
getTestFunction(::std::string
const& testName);
47 MCNAPI ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction>>
51 MCNAPI
bool isReady()
const;
54 MCNAPI
bool isTestTag(::std::string
const& tag)
const;
61 registerTestMethod(::std::string
const& className, ::std::shared_ptr<::gametest::BaseGameTestFunction> fn);
Definition BaseGameTestFunction.h:16
MCAPI ::std::vector<::std::string > const & getAllTestTags() const
MCAPI bool registerAfterBatchFunction(::std::string const &batchName, ::std::function< void()> fn)
MCAPI void generateTagsList()
MCAPI bool isTestTag(::std::string const &tag) const
MCAPI ::std::function< void()> getBeforeBatchFunction(::std::string const &batchName)
MCAPI ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction > > getAllTestFunctions()
MCAPI bool registerTestMethod(::std::string const &className, ::std::shared_ptr<::gametest::BaseGameTestFunction > fn)
MCAPI ::std::vector<::std::shared_ptr<::gametest::BaseGameTestFunction > > getTestFunctionsWithTag(::std::string const &tag)
MCAPI bool registerBeforeBatchFunction(::std::string const &batchName, ::std::function< void()> fn)
MCAPI ::std::function< void()> getAfterBatchFunction(::std::string const &batchName)
MCAPI ::std::shared_ptr<::gametest::BaseGameTestFunction > getTestFunction(::std::string const &testName)
MCAPI ~GameTestRegistry()
MCAPI void clearAllTestMethods()