24 lines · cpp
1//===-- GDBRemoteTestUtils.cpp --------------------------------------------===//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#include "GDBRemoteTestUtils.h"10#include "lldb/Host/Socket.h"11#include "llvm/Testing/Support/Error.h"12 13namespace lldb_private {14namespace process_gdb_remote {15 16void GDBRemoteTest::SetUpTestCase() {17 ASSERT_THAT_ERROR(Socket::Initialize(), llvm::Succeeded());18}19 20void GDBRemoteTest::TearDownTestCase() { Socket::Terminate(); }21 22} // namespace process_gdb_remote23} // namespace lldb_private24