llvm/clang/unittests/Tooling/RefactoringActionRulesTest.cpp

//===- unittest/Tooling/RefactoringTestActionRulesTest.cpp ----------------===//
//
// 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 "ReplacementTest.h"
#include "RewriterTestContext.h"
#include "clang/Tooling/Refactoring.h"
#include "clang/Tooling/Refactoring/Extract/Extract.h"
#include "clang/Tooling/Refactoring/RefactoringAction.h"
#include "clang/Tooling/Refactoring/RefactoringDiagnostic.h"
#include "clang/Tooling/Refactoring/Rename/SymbolName.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/Errc.h"
#include "gtest/gtest.h"
#include <optional>

usingnamespaceclang;
usingnamespacetooling;

namespace {

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

Expected<AtomicChanges>
createReplacements(const std::unique_ptr<RefactoringActionRule> &Rule,
                   RefactoringRuleContext &Context) {}

TEST_F(RefactoringActionRulesTest, MyFirstRefactoringRule) {}

TEST_F(RefactoringActionRulesTest, ReturnError) {}

std::optional<SymbolOccurrences>
findOccurrences(RefactoringActionRule &Rule, RefactoringRuleContext &Context) {}

TEST_F(RefactoringActionRulesTest, ReturnSymbolOccurrences) {}

TEST_F(RefactoringActionRulesTest, EditorCommandBinding) {}

} // end anonymous namespace