v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "log.h"
#include "cpu-profiler.h"
#include "natives.h"
#include "v8threads.h"
#include "v8utils.h"
#include "cctest.h"
#include "vm-state-inl.h"
Go to the source code of this file.
Typedefs | |
typedef i::NativesCollection < i::TEST > | TestSources |
Functions | |
TEST (ProfLazyMode) | |
TEST (Issue23768) | |
TEST (LogCallbacks) | |
TEST (LogAccessorCallbacks) | |
TEST (IsLoggingPreserved) | |
TEST (EquivalenceOfLoggingAndTraversal) | |
typedef i::NativesCollection<i::TEST> TestSources |
Definition at line 472 of file test-log.cc.
TEST | ( | ProfLazyMode | ) |
Definition at line 99 of file test-log.cc.
References CHECK, CHECK_EQ, CHECK_GT, CHECK_NE, Vector< T >::length(), LOGGER, NULL, V8::PauseProfiler(), v8::internal::ReadFile(), V8::ResumeProfiler(), Vector< T >::start(), and V8::UseCrankshaft().
TEST | ( | Issue23768 | ) |
Definition at line 342 of file test-log.cc.
References ExternalTwoByteString::cast(), CHECK, Script::Compile(), Context::Enter(), Handle< T >::IsEmpty(), LOGGER, String::New(), Context::New(), String::NewExternal(), NULL, and Script::Run().
TEST | ( | LogCallbacks | ) |
Definition at line 369 of file test-log.cc.
References CHECK, CHECK_NE, Persistent< T >::Dispose(), v8::DontDelete, FunctionTemplate::GetFunction(), Vector< T >::length(), LOGGER, Persistent< T >::New(), FunctionTemplate::New(), Signature::New(), NULL, FunctionTemplate::PrototypeTemplate(), v8::internal::ReadFile(), Template::Set(), FunctionTemplate::SetClassName(), OS::SNPrintF(), Vector< T >::start(), and V8PRIxPTR.
TEST | ( | LogAccessorCallbacks | ) |
Definition at line 419 of file test-log.cc.
References CHECK, CHECK_NE, Persistent< T >::Dispose(), FunctionTemplate::InstanceTemplate(), Vector< T >::length(), LOGGER, Persistent< T >::New(), FunctionTemplate::New(), NULL, v8::internal::ReadFile(), ObjectTemplate::SetAccessor(), FunctionTemplate::SetClassName(), OS::SNPrintF(), Vector< T >::start(), and V8PRIxPTR.
TEST | ( | IsLoggingPreserved | ) |
Definition at line 461 of file test-log.cc.
TEST | ( | EquivalenceOfLoggingAndTraversal | ) |
Definition at line 477 of file test-log.cc.
References CHECK, CHECK_NE, Script::Compile(), NativesCollection< type >::GetScriptsSource(), HEAP, Handle< T >::IsEmpty(), V8::IsRunning(), Value::IsTrue(), Heap::kMakeHeapIterableMask, Vector< T >::length(), String::Length(), LOGGER, String::New(), NULL, V8::PauseProfiler(), v8::internal::ReadFile(), Script::Run(), Vector< T >::start(), Value::ToString(), and String::WriteAscii().