#include "Plugins/Platform/Android/PlatformAndroid.h"
#include "Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h"
#include "TestingSupport/SubsystemRAII.h"
#include "TestingSupport/TestUtilities.h"
#include "lldb/Utility/Connection.h"
#include "gmock/gmock.h"
usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::platform_android;
usingnamespacetesting;
namespace {
class MockSyncService : public AdbClient::SyncService { … };
SyncServiceUP;
class MockAdbClient : public AdbClient { … };
class PlatformAndroidTest : public PlatformAndroid, public ::testing::Test { … };
}
TEST_F(PlatformAndroidTest, DownloadModuleSliceWithAdbClientError) { … }
TEST_F(PlatformAndroidTest, DownloadModuleSliceWithNormalFile) { … }
TEST_F(PlatformAndroidTest, DownloadModuleSliceWithZipFile) { … }
TEST_F(PlatformAndroidTest, DownloadModuleSliceWithZipFileAndRunAs) { … }
TEST_F(PlatformAndroidTest, GetFileWithNormalFile) { … }
TEST_F(PlatformAndroidTest, GetFileWithCatFallback) { … }
TEST_F(PlatformAndroidTest, GetFileWithCatFallbackAndRunAs) { … }