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 #include "mojo/public/system/core_cpp.h" | 5 #include "mojo/public/system/core_cpp.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "mojo/public/system/macros.h" | 9 #include "mojo/public/system/macros.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_2.release().value())); | 371 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_2.release().value())); |
372 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_0.release().value())); | 372 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_0.release().value())); |
373 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_1.release().value())); | 373 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h_1.release().value())); |
374 } | 374 } |
375 } | 375 } |
376 | 376 |
377 // TODO(vtl): Write data pipe tests. | 377 // TODO(vtl): Write data pipe tests. |
378 | 378 |
379 } // namespace | 379 } // namespace |
380 } // namespace mojo | 380 } // namespace mojo |
OLD | NEW |