#include <unit_test.h>
Definition at line 285 of file unit_test.h.
◆ TestCaseBase()
dart::TestCaseBase::TestCaseBase |
( |
const char * |
name, |
|
|
const char * |
expectation |
|
) |
| |
|
explicit |
Definition at line 58 of file unit_test.cc.
60 next_(nullptr),
63 if (first_ == nullptr) {
64 first_ = this;
65 } else {
66 tail_->next_ = this;
67 }
68 tail_ = this;
69}
const char * expectation() const
const char * name() const
◆ ~TestCaseBase()
virtual dart::TestCaseBase::~TestCaseBase |
( |
| ) |
|
|
inlinevirtual |
◆ AddToKernelBuffers()
void dart::TestCaseBase::AddToKernelBuffers |
( |
const uint8_t * |
kernel_buffer | ) |
|
|
static |
Definition at line 100 of file unit_test.cc.
100 {
101 ASSERT(kernel_buffer !=
nullptr);
104 } else {
106 }
107}
void AddBufferToList(const uint8_t *kernel_buffer)
static KernelBufferList * current_kernel_buffers_
◆ CleanupState()
void dart::TestCaseBase::CleanupState |
( |
| ) |
|
|
static |
◆ expectation()
const char * dart::TestCaseBase::expectation |
( |
| ) |
const |
|
inline |
Definition at line 291 of file unit_test.h.
291{ return expectation_; }
◆ name()
const char * dart::TestCaseBase::name |
( |
| ) |
const |
|
inline |
◆ Run()
virtual void dart::TestCaseBase::Run |
( |
| ) |
|
|
pure virtual |
◆ RunAll()
void dart::TestCaseBase::RunAll |
( |
| ) |
|
|
static |
Definition at line 82 of file unit_test.cc.
82 {
84 while (
test !=
nullptr) {
85 if (!
test->raw_test_) {
88 }
90 }
91}
static void CleanupState()
TestCaseBase(const char *name, const char *expectation)
◆ RunAllRaw()
void dart::TestCaseBase::RunAllRaw |
( |
| ) |
|
|
static |
Definition at line 71 of file unit_test.cc.
71 {
73 while (
test !=
nullptr) {
74 if (
test->raw_test_) {
77 }
79 }
80}
◆ RunTest()
void dart::TestCaseBase::RunTest |
( |
| ) |
|
Definition at line 63 of file run_vm_tests.cc.
63 {
70 }
71}
static void Print(const char *format,...) PRINTF_ATTRIBUTE(1
static const char * run_filter
static constexpr const char * kList
◆ current_kernel_buffers_
◆ raw_test_
bool dart::TestCaseBase::raw_test_ |
|
protected |
The documentation for this class was generated from the following files: