#include "clang-include-cleaner/IncludeSpeller.h"
#include "clang-include-cleaner/Analysis.h"
#include "clang-include-cleaner/Types.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Testing/TestAST.h"
#include "clang/Tooling/Inclusions/StandardLibrary.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include "gtest/gtest.h"
#include <assert.h>
#include <string>
namespace clang::include_cleaner {
namespace {
const char *testRoot() { … }
std::string testPath(llvm::StringRef File) { … }
class DummyIncludeSpeller : public IncludeSpeller { … };
TEST(IncludeSpeller, IsRelativeToTestRoot) { … }
TEST(IncludeSpeller, CanOverrideSystemHeaders) { … }
TEST(IncludeSpeller, RelativeIncludeSearchPath) { … }
IncludeSpellingStrategy::Add<DummyIncludeSpeller>
Speller("dummy", "Dummy Include Speller");
}
}