| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS 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 <gmock/gmock.h> |
| 5 #include <gtest/gtest.h> | 6 #include <gtest/gtest.h> |
| 6 | 7 |
| 7 int main(int argc, char **argv) { | 8 int main(int argc, char **argv) { |
| 8 ::testing::InitGoogleTest(&argc, argv); | 9 ::testing::InitGoogleTest(&argc, argv); |
| 10 ::testing::GTEST_FLAG(throw_on_failure) = true; |
| 11 ::testing::InitGoogleMock(&argc, argv); |
| 9 return RUN_ALL_TESTS(); | 12 return RUN_ALL_TESTS(); |
| 10 } | 13 } |
| OLD | NEW |