webrtc_m130/test/gtest.h
Philip Eliasson 27e8a3e223 Revert "Adding gtest-spi.h in webrtc/test/gtest.h"
This reverts commit 68f4904ac972fc75e81b642da4d2f46efe79071b.

Reason for revert: Breaks downstream projects.

Original change's description:
> Adding gtest-spi.h in webrtc/test/gtest.h
> 
> The additional include is needed in order to use EXPECT_NONFATAL_FAILURE()
> in unit tests.
> 
> Bug: webrtc:8948
> Change-Id: If5b9ceb89a3a36480657d094cfabc81c9b0e15b7
> Reviewed-on: https://webrtc-review.googlesource.com/58096
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22227}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org,alessiob@webrtc.org

Change-Id: Id74c6563e1b8ac637667b5fb8777bbd6b7c8f5d0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8948
Reviewed-on: https://webrtc-review.googlesource.com/58881
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22232}
2018-02-28 15:19:07 +00:00

28 lines
878 B
C

/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef TEST_GTEST_H_
#define TEST_GTEST_H_
#include "rtc_base/ignore_wundef.h"
RTC_PUSH_IGNORING_WUNDEF()
#include "testing/gtest/include/gtest/gtest.h"
RTC_POP_IGNORING_WUNDEF()
// GTEST_HAS_DEATH_TEST is set to 1 when death tests are supported, but appears
// to be left unset if they're not supported. Rather than depend on this, we
// set it to 0 ourselves here.
#ifndef GTEST_HAS_DEATH_TEST
#define GTEST_HAS_DEATH_TEST 0
#endif
#endif // TEST_GTEST_H_