Chromium Code Reviews| Index: native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc |
| diff --git a/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc b/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc |
| index 24a0fd10c2de818d047e11785d567427e7f38af4..8d6e4c0ab1c4e361073d25c870024d3e12ff3ac9 100644 |
| --- a/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc |
| +++ b/native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc |
| @@ -1093,6 +1093,7 @@ TEST_F(KernelProxyErrorTest, WriteError) { |
| .WillOnce(DoAll(SetArgPointee<3>(0), // Wrote 0 bytes. |
| Return(1234))); // Returned error 1234. |
| + EXPECT_CALL(*mock_node, GetType()).WillRepeatedly(Return(S_IFDIR)); |
|
Sam Clegg
2015/09/22 17:53:44
Why is this change needed?
avallee
2015/09/22 20:25:06
I'll split this out to a separate CL, this was a c
|
| EXPECT_CALL(*mock_node, IsaDir()).Times(1); |
| EXPECT_CALL(*mock_node, Destroy()).Times(1); |
| @@ -1116,6 +1117,7 @@ TEST_F(KernelProxyErrorTest, ReadError) { |
| .WillOnce(DoAll(SetArgPointee<3>(0), // Read 0 bytes. |
| Return(1234))); // Returned error 1234. |
| + EXPECT_CALL(*mock_node, GetType()).WillRepeatedly(Return(S_IFDIR)); |
| EXPECT_CALL(*mock_node, Destroy()).Times(1); |
| int fd = ki_open("/dummy", O_RDONLY, 0); |