llvm/lldb/unittests/Target/ModuleCacheTest.cpp

#include "gtest/gtest.h"

#include "llvm/ADT/SmallString.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"

#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
#include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h"
#include "TestingSupport/SubsystemRAII.h"
#include "TestingSupport/TestUtilities.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Target/ModuleCache.h"

usingnamespacelldb_private;
usingnamespacelldb;

namespace {

class ModuleCacheTest : public testing::Test {};
}

static const char dummy_hostname[] =;
static const char dummy_remote_dir[] =;
static const char module_name[] =;
static const char module_uuid[] =;
static const size_t module_size =;

static FileSpec GetDummyRemotePath() {}

static FileSpec GetUuidView(FileSpec spec) {}

static FileSpec GetSysrootView(FileSpec spec, const char *hostname) {}

void ModuleCacheTest::SetUp() {}

static void VerifyDiskState(const FileSpec &cache_dir, const char *hostname) {}

void ModuleCacheTest::TryGetAndPut(const FileSpec &cache_dir,
                                   const char *hostname, bool expect_download) {}

TEST_F(ModuleCacheTest, GetAndPut) {}

TEST_F(ModuleCacheTest, GetAndPutUuidExists) {}

TEST_F(ModuleCacheTest, GetAndPutStrangeHostname) {}