v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "cctest.h"
#include "platform.h"
#include "utils-inl.h"
Go to the source code of this file.
Functions | |
TEST (Utils1) | |
TEST (SNPrintF) | |
void | TestMemMove (byte *area1, byte *area2, int src_offset, int dest_offset, int length) |
TEST (MemMove) | |
TEST (Collector) | |
TEST (SequenceCollector) | |
TEST (SequenceCollectorRegression) | |
TEST | ( | Utils1 | ) |
Definition at line 39 of file test-utils.cc.
References CHECK_EQ, v8::internal::FastD2I(), v8::internal::FastD2IChecked(), and OS::nan_value().
TEST | ( | SNPrintF | ) |
Definition at line 77 of file test-utils.cc.
References CHECK, CHECK_EQ, Vector< T >::Dispose(), Vector< T >::New(), OS::SNPrintF(), Vector< T >::start(), and v8::internal::StrLength().
TEST | ( | MemMove | ) |
Definition at line 128 of file test-utils.cc.
References V8::Initialize(), v8::internal::STATIC_ASSERT(), and TestMemMove().
TEST | ( | Collector | ) |
Definition at line 150 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), Collector< T, growth_factor, max_growth >::AddBlock(), CHECK_EQ, Vector< T >::Dispose(), Vector< T >::length(), and Collector< T, growth_factor, max_growth >::ToVector().
TEST | ( | SequenceCollector | ) |
Definition at line 180 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), CHECK_EQ, Vector< T >::Dispose(), SequenceCollector< T, growth_factor, max_growth >::EndSequence(), Vector< T >::length(), SequenceCollector< T, growth_factor, max_growth >::StartSequence(), and Collector< T, growth_factor, max_growth >::ToVector().
TEST | ( | SequenceCollectorRegression | ) |
Definition at line 211 of file test-utils.cc.
References Collector< T, growth_factor, max_growth >::Add(), Collector< T, growth_factor, max_growth >::AddBlock(), CHECK_EQ, SequenceCollector< T, growth_factor, max_growth >::EndSequence(), Vector< T >::length(), Vector< T >::start(), and SequenceCollector< T, growth_factor, max_growth >::StartSequence().
Definition at line 104 of file test-utils.cc.
References CHECK, and OS::MemMove().
Referenced by TEST().