drewry@google.com | bd940e9 | 2009-12-07 19:13:27 +0000 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
Will Drewry | 4dd0e66 | 2010-01-19 14:43:50 -0800 | [diff] [blame] | 5 | #include <gmock/gmock.h> |
drewry@google.com | bd940e9 | 2009-12-07 19:13:27 +0000 | [diff] [blame] | 6 | #include <gtest/gtest.h> |
| 7 | |
| 8 | int main(int argc, char **argv) { |
| 9 | ::testing::InitGoogleTest(&argc, argv); |
Will Drewry | 4dd0e66 | 2010-01-19 14:43:50 -0800 | [diff] [blame] | 10 | ::testing::GTEST_FLAG(throw_on_failure) = true; |
| 11 | ::testing::InitGoogleMock(&argc, argv); |
drewry@google.com | bd940e9 | 2009-12-07 19:13:27 +0000 | [diff] [blame] | 12 | return RUN_ALL_TESTS(); |
| 13 | } |