v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-serialize.cc File Reference
#include <signal.h>
#include "sys/stat.h"
#include "v8.h"
#include "debug.h"
#include "ic-inl.h"
#include "runtime.h"
#include "serialize.h"
#include "scopeinfo.h"
#include "snapshot.h"
#include "cctest.h"
#include "spaces.h"
#include "objects.h"
#include "natives.h"
#include "bootstrapper.h"
Include dependency graph for test-serialize.cc:

Go to the source code of this file.

Data Structures

class  FileByteSink
 

Functions

 TEST (ExternalReferenceEncoder)
 
 TEST (ExternalReferenceDecoder)
 
 TEST (Serialize)
 
 TEST (SerializeTwice)
 
 DEPENDENT_TEST (Deserialize, Serialize)
 
 DEPENDENT_TEST (DeserializeFromSecondSerialization, SerializeTwice)
 
 DEPENDENT_TEST (DeserializeAndRunScript2, Serialize)
 
 DEPENDENT_TEST (DeserializeFromSecondSerializationAndRunScript2, SerializeTwice)
 
 TEST (PartialSerialization)
 
 DEPENDENT_TEST (PartialDeserialization, PartialSerialization)
 
 TEST (ContextSerialization)
 
 DEPENDENT_TEST (ContextDeserialization, ContextSerialization)
 
 TEST (TestThatAlwaysSucceeds)
 
 TEST (TestThatAlwaysFails)
 
 DEPENDENT_TEST (DependentTestThatAlwaysFails, TestThatAlwaysSucceeds)
 

Function Documentation

DEPENDENT_TEST ( Deserialize  ,
Serialize   
)

Definition at line 298 of file test-serialize.cc.

References Snapshot::HaveASnapshotToStartFrom(), and Context::New().

DEPENDENT_TEST ( DeserializeFromSecondSerialization  ,
SerializeTwice   
)

Definition at line 314 of file test-serialize.cc.

References Snapshot::HaveASnapshotToStartFrom(), and Context::New().

DEPENDENT_TEST ( DeserializeAndRunScript2  ,
Serialize   
)
DEPENDENT_TEST ( DeserializeFromSecondSerializationAndRunScript2  ,
SerializeTwice   
)
DEPENDENT_TEST ( DependentTestThatAlwaysFails  ,
TestThatAlwaysSucceeds   
)

Definition at line 598 of file test-serialize.cc.

References CHECK.

TEST ( Serialize  )
TEST ( SerializeTwice  )
TEST ( TestThatAlwaysSucceeds  )

Definition at line 588 of file test-serialize.cc.

TEST ( TestThatAlwaysFails  )

Definition at line 592 of file test-serialize.cc.

References CHECK.