llvm/clang-tools-extra/clangd/unittests/PathMappingTests.cpp

//===-- PathMappingTests.cpp  ------------------------*- C++ -*-----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "PathMapping.h"
#include "llvm/Support/JSON.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <optional>
#include <string>
namespace clang {
namespace clangd {
namespace {
ElementsAre;
MATCHER_P2(Mapping, ClientPath, ServerPath, "") {}

bool failedParse(llvm::StringRef RawMappings) {}

TEST(ParsePathMappingTests, WindowsPath) {}

TEST(ParsePathMappingTests, UnixPath) {}

TEST(ParsePathMappingTests, ImproperFormat) {}

TEST(ParsePathMappingTests, ParsesMultiple) {}

bool mapsProperly(llvm::StringRef Orig, llvm::StringRef Expected,
                  llvm::StringRef RawMappings, PathMapping::Direction Dir) {}

TEST(DoPathMappingTests, PreservesOriginal) {}

TEST(DoPathMappingTests, UsesFirstMatch) {}

TEST(DoPathMappingTests, IgnoresSubstrings) {}

TEST(DoPathMappingTests, MapsOutgoingPaths) {}

TEST(DoPathMappingTests, OnlyMapFileUris) {}

TEST(DoPathMappingTests, RespectsCaseSensitivity) {}

TEST(DoPathMappingTests, MapsWindowsPaths) {}

TEST(DoPathMappingTests, MapsWindowsUnixInterop) {}

TEST(ApplyPathMappingTests, PreservesOriginalParams) {}

TEST(ApplyPathMappingTests, MapsAllMatchingPaths) {}

TEST(ApplyPathMappingTests, MapsOutbound) {}

TEST(ApplyPathMappingTests, MapsKeys) {}

} // namespace
} // namespace clangd
} // namespace clang