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-strings.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "api.h"
#include "factory.h"
#include "cctest.h"
#include "zone-inl.h"
Include dependency graph for test-strings.cc:

Go to the source code of this file.

Data Structures

class  Resource
 
class  AsciiResource
 
class  AsciiVectorResource
 

Functions

 TEST (Traverse)
 
 TEST (DeepAscii)
 
 TEST (Utf8Conversion)
 
 TEST (ExternalShortStringAdd)
 
 TEST (CachedHashOverflow)
 
 TEST (SliceFromCons)
 
 TEST (SliceFromExternal)
 
 TEST (TrivialSlice)
 
 TEST (SliceFromSlice)
 
 TEST (AsciiArrayJoin)
 
 TEST (RobustSubStringStub)
 
 TEST (RegExpOverflow)
 

Variables

unsigned int seed = 123
 

Function Documentation

TEST ( Traverse  )

Definition at line 232 of file test-strings.cc.

References v8::internal::DELETE_ON_EXIT, and v8::internal::FlattenString().

TEST ( DeepAscii  )
TEST ( Utf8Conversion  )
TEST ( SliceFromExternal  )

Definition at line 519 of file test-strings.cc.

References SlicedString::cast(), CHECK, CHECK_EQ, FACTORY, and SlicedString::parent().

TEST ( TrivialSlice  )
TEST ( SliceFromSlice  )
TEST ( RobustSubStringStub  )

Definition at line 633 of file test-strings.cc.

References String::Cast(), CHECK_EQ, and Utils::OpenHandle().

TEST ( RegExpOverflow  )

Variable Documentation