llvm/lldb/unittests/Utility/SubsystemRAIITest.cpp

//===-- SubsystemRAIITest.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"

#include "TestingSupport/SubsystemRAII.h"

usingnamespacelldb_private;

namespace {

enum class SystemState {};

struct TestSubsystem {};
} // namespace

SystemState TestSubsystem::state =;

TEST(SubsystemRAIITest, NormalSubsystem) {}

static const char *SubsystemErrorString =;

namespace {
struct TestSubsystemWithError {};
} // namespace

SystemState TestSubsystemWithError::state =;
bool TestSubsystemWithError::will_fail =;

TEST(SubsystemRAIITest, SubsystemWithErrorSuccess) {}

TEST(SubsystemRAIITest, SubsystemWithErrorFailure) {}