#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 59 of file unit_test.cc.
61 next_(nullptr),
64 if (first_ == nullptr) {
65 first_ = this;
66 } else {
67 tail_->next_ = this;
68 }
69 tail_ = this;
70}
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 101 of file unit_test.cc.
101 {
102 ASSERT(kernel_buffer !=
nullptr);
105 } else {
107 }
108}
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 83 of file unit_test.cc.
83 {
85 while (
test !=
nullptr) {
86 if (!
test->raw_test_) {
89 }
91 }
92}
static void CleanupState()
TestCaseBase(const char *name, const char *expectation)
◆ RunAllRaw()
void dart::TestCaseBase::RunAllRaw |
( |
| ) |
|
|
static |
Definition at line 72 of file unit_test.cc.
72 {
74 while (
test !=
nullptr) {
75 if (
test->raw_test_) {
78 }
80 }
81}
◆ 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: