[Lldb-commits] [lldb] [lldb] refactor PlatformAndroid (PR #145382)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 25 06:16:24 PDT 2025


================
@@ -20,212 +18,342 @@ using namespace testing;
 
 namespace {
 
-class MockSyncService : public AdbClient::SyncService {
+class MockConnection : public Connection {
----------------
labath wrote:

Is this used anywhere? If it is, it may be better to just use a real connection instead of a mock. `Socket::CreatePair` creates a pair of connected sockets, and the Connection class has a constructor that takes one of those.

https://github.com/llvm/llvm-project/pull/145382


More information about the lldb-commits mailing list