OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "include/libplatform/libplatform.h" | 5 #include "include/libplatform/libplatform.h" |
6 #include "include/v8.h" | 6 #include "include/v8.h" |
7 #include "src/base/compiler-specific.h" | 7 #include "src/base/compiler-specific.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 } // namespace | 37 } // namespace |
38 | 38 |
39 | 39 |
40 int main(int argc, char** argv) { | 40 int main(int argc, char** argv) { |
41 testing::InitGoogleMock(&argc, argv); | 41 testing::InitGoogleMock(&argc, argv); |
42 testing::AddGlobalTestEnvironment(new DefaultPlatformEnvironment); | 42 testing::AddGlobalTestEnvironment(new DefaultPlatformEnvironment); |
43 v8::V8::SetFlagsFromCommandLine(&argc, argv, true); | 43 v8::V8::SetFlagsFromCommandLine(&argc, argv, true); |
44 return RUN_ALL_TESTS(); | 44 return RUN_ALL_TESTS(); |
45 } | 45 } |
OLD | NEW |