#include "gtest/gtest.h"
#include "Plugins/Platform/POSIX/PlatformPOSIX.h"
#include "TestingSupport/SubsystemRAII.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Target/Platform.h"
usingnamespacelldb;
usingnamespacelldb_private;
class TestPlatform : public PlatformPOSIX { … };
class PlatformArm : public TestPlatform { … };
class PlatformIntel : public TestPlatform { … };
class PlatformThumb : public TestPlatform { … };
class PlatformTest : public ::testing::Test { … };
TEST_F(PlatformTest, GetPlatformForArchitecturesHost) { … }
TEST_F(PlatformTest, GetPlatformForArchitecturesSelected) { … }
TEST_F(PlatformTest, GetPlatformForArchitecturesSelectedOverHost) { … }
TEST_F(PlatformTest, GetPlatformForArchitecturesCandidates) { … }