v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
test.cpp
Go to the documentation of this file.
1 #include "testing.h"
2 
3 #include "javascript.h"
4 
5 using namespace testing;
6 
7 int main(int argc, char* argv[]) {
8 
9  v8toolkit::Platform::init(argc, argv, "../");
10  testing::InitGoogleTest(&argc, argv);
11  return RUN_ALL_TESTS();
12 }
static void init(int argc, char **argv, std::string const &snapshot_directory="")
Definition: javascript.cpp:408
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
int main(int argc, char *argv[])
Definition: test.cpp:7