diff options
| author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-03-11 23:37:56 +0000 | 
|---|---|---|
| committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-03-11 23:37:56 +0000 | 
| commit | 5b5d62f19019a398167df1f1b59279e049bf24ce (patch) | |
| tree | 1b4307403525a55b30c6411b4cad6430660817fc /test/gmock-actions_test.cc | |
| parent | 93ad3551c060599af0d4789ee0584f1652abf80b (diff) | |
| download | googletest-5b5d62f19019a398167df1f1b59279e049bf24ce.tar.gz googletest-5b5d62f19019a398167df1f1b59279e049bf24ce.tar.bz2 googletest-5b5d62f19019a398167df1f1b59279e049bf24ce.zip  | |
Makes the code compile on Windows CE.
Diffstat (limited to 'test/gmock-actions_test.cc')
| -rw-r--r-- | test/gmock-actions_test.cc | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/test/gmock-actions_test.cc b/test/gmock-actions_test.cc index 077681b0..e4939e1a 100644 --- a/test/gmock-actions_test.cc +++ b/test/gmock-actions_test.cc @@ -69,7 +69,10 @@ using testing::ReturnNull;  using testing::ReturnRef;  using testing::SetArgumentPointee;  using testing::SetArrayArgument; + +#ifndef _WIN32_WCE  using testing::SetErrnoAndReturn; +#endif  // _WIN32_WCE  #if GMOCK_HAS_PROTOBUF_  using testing::internal::TestMessage; @@ -951,6 +954,8 @@ TEST(AssignTest, CompatibleTypes) {    EXPECT_DOUBLE_EQ(5, x);  } +#ifndef _WIN32_WCE +  class SetErrnoAndReturnTest : public testing::Test {   protected:    virtual void SetUp() { errno = 0; } @@ -976,4 +981,6 @@ TEST_F(SetErrnoAndReturnTest, CompatibleTypes) {    EXPECT_EQ(EINVAL, errno);  } +#endif  // _WIN32_WCE +  }  // Unnamed namespace  | 
