diff options
author | Markus Schorn | 2008-04-21 08:59:57 +0000 |
---|---|---|
committer | Markus Schorn | 2008-04-21 08:59:57 +0000 |
commit | 92142d07e565d536a9ecef0bdc17c381d7890f97 (patch) | |
tree | eb85a1780bc951f9b4cddb23f0e5372df74b4e3d /core | |
parent | 4ac33cedb711f29f6552515ae036c706dde2a7c4 (diff) | |
download | org.eclipse.cdt-92142d07e565d536a9ecef0bdc17c381d7890f97.tar.gz org.eclipse.cdt-92142d07e565d536a9ecef0bdc17c381d7890f97.tar.xz org.eclipse.cdt-92142d07e565d536a9ecef0bdc17c381d7890f97.zip |
Whitespace adjustments in test data by Emanuel Graf.
Diffstat (limited to 'core')
3 files changed, 20 insertions, 18 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractFunctionTemplates.rts b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractFunctionTemplates.rts index 2f1fa2e1733..76a9813b3e2 100644 --- a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractFunctionTemplates.rts +++ b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractFunctionTemplates.rts @@ -2,7 +2,8 @@ //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //@A.cpp void test(){ -}template <typename T> +} +template <typename T> int tempFunct(){ T i; @@ -37,7 +38,8 @@ int tempFunct(){ //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //@A.cpp void test(){ -}template <typename T> +} +template <typename T> int tempFunct(T p){ //$++p; @@ -66,7 +68,8 @@ int tempFunct(T p){ //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //@A.cpp void test(){ -}template <typename T> +} +template <typename T> int tempFunct(){ //$T p; diff --git a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethod.rts b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethod.rts index 58d114c9318..3418fff3cd5 100644 --- a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethod.rts +++ b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethod.rts @@ -199,7 +199,8 @@ A::A() A::~A() { -}int A::foo() +} +int A::foo() { //$int i = 2; ++i; @@ -428,7 +429,7 @@ public: private: int help(); - void exp(); + void exp(); }; #endif /*A_H_*/ @@ -525,7 +526,7 @@ public: private: int help(); - void exp(int & i); + void exp(int & i); }; #endif /*A_H_*/ @@ -619,7 +620,7 @@ public: private: int help(); - void exp(int & i); + void exp(int & i); }; #endif /*A_H_*/ @@ -713,7 +714,7 @@ public: private: int help(); - void exp(int *& i); + void exp(int *& i); }; #endif /*A_H_*/ @@ -984,7 +985,7 @@ public: private: int help(); - int exp(int i); + int exp(int i); }; #endif /*A_H_*/ @@ -1076,7 +1077,7 @@ public: private: int help(); - int exp(int i, int & b); + int exp(int i, int & b); }; #endif /*A_H_*/ @@ -1174,7 +1175,7 @@ public: private: int help(); - int exp(int i, B *b, int y, float & x); + int exp(int i, B *b, int y, float & x); }; #endif /*A_H_*/ @@ -1282,7 +1283,7 @@ public: private: int help(); - float exp(int & i, B *b, int y, float x); + float exp(int & i, B *b, int y, float x); }; #endif /*A_H_*/ @@ -1404,7 +1405,7 @@ public: private: int help(); - int exp(int i, B *& b, int & y, float & x); + int exp(int i, B *& b, int & y, float & x); }; #endif /*A_H_*/ @@ -1571,7 +1572,7 @@ public: private: int help(); - B *exp(int & i, B *b, int & y, float & x); + B *exp(int & i, B *b, int & y, float & x); }; #endif /*A_H_*/ @@ -1782,7 +1783,7 @@ public: A(); virtual ~A(); int foo(); - void exp(int & i); + void exp(int & i); private: int help(); @@ -2019,7 +2020,6 @@ void runSuite(){ //= #define CUTE(name) cute::test((&name),(#name)) - cute::suite createSuite() { cute::suite s; @@ -2123,7 +2123,6 @@ using namespace std; int const INITIAL_CAPACITY = 10; - string *runTest(int m_capacity) { m_capacity += INITIAL_CAPACITY; diff --git a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethodPreprocessor.rts b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethodPreprocessor.rts index 9263c03fb96..e6234fcc9ad 100644 --- a/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethodPreprocessor.rts +++ b/core/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractMethodPreprocessor.rts @@ -30,7 +30,7 @@ public: private: int help(); - void exp(int & ii); + void exp(int & ii); }; #endif /*A_H_*/ |