V8 Project
run-all-unittests.cc File Reference
#include "include/libplatform/libplatform.h"
#include "include/v8.h"
#include "src/base/compiler-specific.h"
#include "testing/gmock/include/gmock/gmock.h"
+ Include dependency graph for run-all-unittests.cc:

Go to the source code of this file.

Classes

class  anonymous_namespace{run-all-unittests.cc}::FINAL
 

Namespaces

 anonymous_namespace{run-all-unittests.cc}
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 40 of file run-all-unittests.cc.

40  {
41  testing::InitGoogleMock(&argc, argv);
42  testing::AddGlobalTestEnvironment(new DefaultPlatformEnvironment);
43  v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
44  return RUN_ALL_TESTS();
45 }
static void SetFlagsFromCommandLine(int *argc, char **argv, bool remove_flags)
Sets V8 flags from the command line.
Definition: api.cc:369

References v8::V8::SetFlagsFromCommandLine().

+ Here is the call graph for this function: