Skip to content
Snippets Groups Projects
Commit 8dba9a7b authored by Sergio Giro's avatar Sergio Giro
Browse files

libutils: fix compile error in SharedBufferTest

Change-Id: Ib1185d417457d03efa102989a64b5b5e4eb5c82a
parent be0044fa
Branches
Tags
No related merge requests found
......@@ -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)), "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment