AsmGrader 0.0.0
|
Base class primarily for a user-written test. More...
#include <test_base.hpp>
Public Member Functions | |
template<typename... MetadataAttrs> | |
TestBase (const Assignment &assignment, std::string_view name, metadata::Metadata< MetadataAttrs... > metadata=metadata::Metadata< MetadataAttrs... >{}) noexcept | |
virtual | ~TestBase () noexcept=default |
virtual void | run (TestContext &ctx)=0 |
const Assignment & | get_assignment () const |
std::string_view | get_name () const noexcept |
bool | get_is_prof_only () const noexcept |
std::optional< metadata::Weight > | get_weight () const noexcept |
Base class primarily for a user-written test.
Provides member functions for any test action the user might want to perform within a test case.
|
inlineexplicitnoexcept |
|
virtualdefaultnoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
pure virtual |