1 //===-- GDBRemoteTestUtils.cpp --------------------------------------------===//
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-exception
7 //===----------------------------------------------------------------------===//
9 #include "GDBRemoteTestUtils.h"
10 #include "lldb/Host/Socket.h"
11 #include "llvm/Testing/Support/Error.h"
13 namespace lldb_private
{
14 namespace process_gdb_remote
{
16 void GDBRemoteTest::SetUpTestCase() {
17 ASSERT_THAT_ERROR(Socket::Initialize(), llvm::Succeeded());
20 void GDBRemoteTest::TearDownTestCase() { Socket::Terminate(); }
22 } // namespace process_gdb_remote
23 } // namespace lldb_private