OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium 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 // NOTE(vtl): Some of these tests are inherently flaky (e.g., if run on a | 5 // NOTE(vtl): Some of these tests are inherently flaky (e.g., if run on a |
6 // heavily-loaded system). Sorry. |test::EpsilonDeadline()| may be increased to | 6 // heavily-loaded system). Sorry. |test::EpsilonDeadline()| may be increased to |
7 // increase tolerance and reduce observed flakiness (though doing so reduces the | 7 // increase tolerance and reduce observed flakiness (though doing so reduces the |
8 // meaningfulness of the test). | 8 // meaningfulness of the test). |
9 | 9 |
10 #include "mojo/edk/system/message_pipe_dispatcher.h" | 10 #include "mojo/edk/system/message_pipe_dispatcher.h" |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 EXPECT_EQ(total_messages_written, total_messages_read); | 681 EXPECT_EQ(total_messages_written, total_messages_read); |
682 EXPECT_EQ(total_bytes_written, total_bytes_read); | 682 EXPECT_EQ(total_bytes_written, total_bytes_read); |
683 | 683 |
684 EXPECT_EQ(MOJO_RESULT_OK, d_write->Close()); | 684 EXPECT_EQ(MOJO_RESULT_OK, d_write->Close()); |
685 EXPECT_EQ(MOJO_RESULT_OK, d_read->Close()); | 685 EXPECT_EQ(MOJO_RESULT_OK, d_read->Close()); |
686 } | 686 } |
687 | 687 |
688 } // namespace | 688 } // namespace |
689 } // namespace system | 689 } // namespace system |
690 } // namespace mojo | 690 } // namespace mojo |
OLD | NEW |