forked from qt-creator/qt-creator
C++: Introduce PointerDeclarationFormatter
For a given AST, CppRefactoringFile and Overview this will create a ChangeSet for rewriting the pointer or reference declaration according to the Overview. Task-number: QTCREATORBUG-6169 Change-Id: If6f824c1ea5e9f53a11a58ec8b6d696d01f0723e Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -74,9 +74,8 @@ public:
|
||||
|
||||
private slots:
|
||||
void switchHeaderSource();
|
||||
#ifdef WITH_TESTS
|
||||
|
||||
// codegen tests
|
||||
#ifdef WITH_TESTS
|
||||
void test_codegen_public_in_empty_class();
|
||||
void test_codegen_public_in_nonempty_class();
|
||||
void test_codegen_public_before_protected();
|
||||
@@ -114,6 +113,15 @@ private slots:
|
||||
void test_completion_instantiate_nested_class_when_enclosing_is_template();
|
||||
void test_completion_instantiate_nested_of_nested_class_when_enclosing_is_template();
|
||||
|
||||
void test_format_pointerdeclaration_in_simpledeclarations();
|
||||
void test_format_pointerdeclaration_in_simpledeclarations_data();
|
||||
void test_format_pointerdeclaration_in_controlflowstatements();
|
||||
void test_format_pointerdeclaration_in_controlflowstatements_data();
|
||||
void test_format_pointerdeclaration_multiple_declarators();
|
||||
void test_format_pointerdeclaration_multiple_declarators_data();
|
||||
void test_format_pointerdeclaration_multiple_matches();
|
||||
void test_format_pointerdeclaration_multiple_matches_data();
|
||||
|
||||
void test_modelmanager_paths();
|
||||
void test_modelmanager_framework_headers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user