brintos

brintos / llvm-project-archived public Read only

0
0
Text · 831 B · 74531d1 Raw
23 lines · c
1//===-- unittests/Runtime/CrashHandlerFixture.h -----------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9/// Test fixture registers a custom crash handler to ensure death tests fail10/// with expected message.11//12//===----------------------------------------------------------------------===//13 14#ifndef FLANG_RT_UNITTESTS_RUNTIME_CRASHHANDLERFIXTURE_H_15#define FLANG_RT_UNITTESTS_RUNTIME_CRASHHANDLERFIXTURE_H_16#include <gtest/gtest.h>17 18struct CrashHandlerFixture : testing::Test {19  void SetUp();20};21 22#endif /* FLANG_RT_UNITTESTS_RUNTIME_CRASHHANDLERFIXTURE_H_ */23