diff options
| author | duxiuxing <duxiuxing@qq.com> | 2018-07-19 18:38:20 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-19 18:38:20 +0800 | 
| commit | 5b19054b024079b32f49d53b1f254e03d85a0a99 (patch) | |
| tree | a69aa5c43888f135523148fad576d2dc0387504f /googlemock/test/gmock_ex_test.cc | |
| parent | 65a49a73f0e7c059ad67d768c860bb296383fd56 (diff) | |
| parent | 1370e7658b659247f3c37cd1f07d917d0bd546a0 (diff) | |
| download | googletest-5b19054b024079b32f49d53b1f254e03d85a0a99.tar.gz googletest-5b19054b024079b32f49d53b1f254e03d85a0a99.tar.bz2 googletest-5b19054b024079b32f49d53b1f254e03d85a0a99.zip | |
Merge branch 'master' into googletest_for_asam
Diffstat (limited to 'googlemock/test/gmock_ex_test.cc')
| -rw-r--r-- | googlemock/test/gmock_ex_test.cc | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/googlemock/test/gmock_ex_test.cc b/googlemock/test/gmock_ex_test.cc index 99268b31..b03de82e 100644 --- a/googlemock/test/gmock_ex_test.cc +++ b/googlemock/test/gmock_ex_test.cc @@ -38,6 +38,7 @@  namespace {  using testing::HasSubstr; +  using testing::internal::GoogleTestFailureException;  // A type that cannot be default constructed. @@ -53,7 +54,6 @@ class MockFoo {    MOCK_METHOD0(GetNonDefaultConstructible, NonDefaultConstructible());  }; -  TEST(DefaultValueTest, ThrowsRuntimeErrorWhenNoDefaultValue) {    MockFoo mock;    try { @@ -76,5 +76,6 @@ TEST(DefaultValueTest, ThrowsRuntimeErrorWhenNoDefaultValue) {    }  } +  }  // unnamed namespace  #endif | 
