1*80814287SRaphael Isemann //===-- GDBRemoteTestUtils.cpp --------------------------------------------===// 256d7262bSPavel Labath // 32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 656d7262bSPavel Labath // 756d7262bSPavel Labath //===----------------------------------------------------------------------===// 856d7262bSPavel Labath 956d7262bSPavel Labath #include "GDBRemoteTestUtils.h" 10f8a74c18SAaron Smith #include "lldb/Host/Socket.h" 11f8a74c18SAaron Smith #include "llvm/Testing/Support/Error.h" 12101616a8SZachary Turner 13b9c1b51eSKate Stone namespace lldb_private { 14b9c1b51eSKate Stone namespace process_gdb_remote { 1556d7262bSPavel Labath SetUpTestCase()16b9c1b51eSKate Stonevoid GDBRemoteTest::SetUpTestCase() { 17f8a74c18SAaron Smith ASSERT_THAT_ERROR(Socket::Initialize(), llvm::Succeeded()); 1856d7262bSPavel Labath } 1956d7262bSPavel Labath TearDownTestCase()20f8a74c18SAaron Smithvoid GDBRemoteTest::TearDownTestCase() { Socket::Terminate(); } 2156d7262bSPavel Labath 2256d7262bSPavel Labath } // namespace process_gdb_remote 2356d7262bSPavel Labath } // namespace lldb_private 24