[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / unittests / Process / gdb-remote / GDBRemoteTestUtils.cpp
blob6718d0c1ed9bbe3aa4a3f19bf8a118e84a571eea
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-exception
6 //
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