libutils: fix compile error in SharedBufferTest
Change-Id: Ib1185d417457d03efa102989a64b5b5e4eb5c82a
This commit is contained in:
parent
be0044fa83
commit
8dba9a7bf1
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@
|
|||
|
||||
#define __STDC_LIMIT_MACROS
|
||||
|
||||
#include <utils/SharedBuffer.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "SharedBuffer.h"
|
||||
|
||||
TEST(SharedBufferTest, TestAlloc) {
|
||||
EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX), "");
|
||||
EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer)), "");
|
||||
|
|
Loading…
Reference in a new issue