#include "ClangRenameTest.h"
namespace clang {
namespace clang_rename {
namespace test {
namespace {
class RenameFunctionTest : public ClangRenameTest { … };
TEST_F(RenameFunctionTest, RefactorsAFoo) { … }
TEST_F(RenameFunctionTest, RefactorsNonCallingAFoo) { … }
TEST_F(RenameFunctionTest, RefactorsEric) { … }
TEST_F(RenameFunctionTest, RefactorsNonCallingEric) { … }
TEST_F(RenameFunctionTest, DoesNotRefactorBFoo) { … }
TEST_F(RenameFunctionTest, DoesNotRefactorBEric) { … }
TEST_F(RenameFunctionTest, DoesNotRefactorCEric) { … }
TEST_F(RenameFunctionTest, DoesNotRefactorEricInNamespaceC) { … }
TEST_F(RenameFunctionTest, NamespaceQualified) { … }
TEST_F(RenameFunctionTest, RenameFunctionDecls) { … }
TEST_F(RenameFunctionTest, RenameTemplateFunctions) { … }
TEST_F(RenameFunctionTest, RenameOutOfLineFunctionDecls) { … }
TEST_F(RenameFunctionTest, NewNamespaceWithoutLeadingDotDot) { … }
TEST_F(RenameFunctionTest, NewNamespaceWithLeadingDotDot) { … }
TEST_F(RenameFunctionTest, DontRenameSymbolsDefinedInAnonymousNamespace) { … }
TEST_F(RenameFunctionTest, NewNestedNamespace) { … }
TEST_F(RenameFunctionTest, MoveFromGlobalToNamespaceWithoutLeadingDotDot) { … }
TEST_F(RenameFunctionTest, MoveFromGlobalToNamespaceWithLeadingDotDot) { … }
TEST_F(RenameFunctionTest, DISABLED_DoNotRenameOverloadedOperatorCalls) { … }
TEST_F(RenameFunctionTest, FunctionRefAsTemplate) { … }
TEST_F(RenameFunctionTest, RenameFunctionInUsingDecl) { … }
TEST_F(ClangRenameTest, DISABLED_ReferencesInLambdaFunctionParameters) { … }
}
}
}
}