OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/system/memory.h" | 5 #include "mojo/edk/system/memory.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <limits> | 10 #include <limits> |
11 | 11 |
12 #include "mojo/public/c/system/macros.h" | 12 #include "mojo/public/c/system/macros.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 EXPECT_DEATH_IF_SUPPORTED(ptr.GetArray(&x, kTooBig), | 285 EXPECT_DEATH_IF_SUPPORTED(ptr.GetArray(&x, kTooBig), |
286 kMemoryCheckFailedRegex); | 286 kMemoryCheckFailedRegex); |
287 } | 287 } |
288 | 288 |
289 // TODO(vtl): Tests for |UserPointer{Reader,Writer,ReaderWriter}|. | 289 // TODO(vtl): Tests for |UserPointer{Reader,Writer,ReaderWriter}|. |
290 } | 290 } |
291 | 291 |
292 } // namespace | 292 } // namespace |
293 } // namespace system | 293 } // namespace system |
294 } // namespace mojo | 294 } // namespace mojo |
OLD | NEW |