#include "Matchers.h"
#include "TestFS.h"
#include "URI.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace clang {
namespace clangd {
static int LLVM_ATTRIBUTE_UNUSED UnittestSchemeAnchorDest = …;
namespace {
AllOf;
MATCHER_P(scheme, S, "") { … }
MATCHER_P(authority, A, "") { … }
MATCHER_P(body, B, "") { … }
std::string createOrDie(llvm::StringRef AbsolutePath,
llvm::StringRef Scheme = "file") { … }
URI parseOrDie(llvm::StringRef Uri) { … }
TEST(PercentEncodingTest, Encode) { … }
TEST(PercentEncodingTest, Decode) { … }
std::string resolveOrDie(const URI &U, llvm::StringRef HintPath = "") { … }
TEST(URITest, Create) { … }
TEST(URITest, CreateUNC) { … }
TEST(URITest, FailedCreate) { … }
TEST(URITest, Parse) { … }
TEST(URITest, ParseFailed) { … }
TEST(URITest, Resolve) { … }
TEST(URITest, ResolveUNC) { … }
std::string resolvePathOrDie(llvm::StringRef AbsPath,
llvm::StringRef HintPath = "") { … }
TEST(URITest, ResolvePath) { … }
TEST(URITest, Platform) { … }
TEST(URITest, ResolveFailed) { … }
}
}
}