| /* -*- Mode: C++; tab-width: 4 indent-tabs-mode: nil -*- |
| * |
| * Copyright (c) 2015 Nest Labs, Inc. |
| * All rights reserved. |
| * |
| * This document is the property of Nest. It is considered |
| * confidential and proprietary information. |
| * |
| * This document may not be reproduced or transmitted in any form, |
| * in whole or in part, without the express written permission of |
| * Nest. |
| * |
| * Description: |
| * This is the header file used to hook into gtest framework to |
| * catch exceptions of fatal error. |
| * |
| */ |
| |
| #ifndef GTEST_INCLUDE_GTEST_EXCEPTIONS_H_ |
| #define GTEST_INCLUDE_GTEST_EXCEPTIONS_H_ |
| |
| #include <signal.h> |
| #include <ostream> |
| |
| #include "gtest.h" |
| |
| void gtest_register_error_handlers(); |
| void gtest_unregister_error_handlers(); |
| |
| #endif // GTEST_INCLUDE_GTEST_EXCEPTIONS_H_ |