v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-utils.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "cctest.h"
#include "platform.h"
#include "utils-inl.h"
Include dependency graph for test-utils.cc:

Go to the source code of this file.

Functions

 TEST (Utils1)
 
 TEST (SNPrintF)
 
void TestMemCopy (Vector< byte > src, Vector< byte > dst, int source_alignment, int destination_alignment, int length_alignment)
 
 TEST (MemCopy)
 
 TEST (Collector)
 
 TEST (SequenceCollector)
 
 TEST (SequenceCollectorRegression)
 

Function Documentation

TEST ( Utils1  )

Definition at line 39 of file test-utils.cc.

References CHECK_EQ, and v8::internal::FastD2I().

void TestMemCopy ( Vector< byte src,
Vector< byte dst,
int  source_alignment,
int  destination_alignment,
int  length_alignment 
)

Definition at line 85 of file test-utils.cc.

References CHECK_EQ, OS::kMinComplexMemCopy, Vector< T >::length(), OS::MemCopy(), and Vector< T >::start().

Referenced by TEST().