1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Whitespace adjustments in test data by Emanuel Graf.

This commit is contained in:
Markus Schorn 2008-04-21 08:59:57 +00:00
parent 4ac33cedb7
commit 92142d07e5
3 changed files with 20 additions and 18 deletions

View file

@ -2,7 +2,8 @@
//#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest
//@A.cpp //@A.cpp
void test(){ void test(){
}template <typename T> }
template <typename T>
int tempFunct(){ int tempFunct(){
T i; T i;
@ -37,7 +38,8 @@ int tempFunct(){
//#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest
//@A.cpp //@A.cpp
void test(){ void test(){
}template <typename T> }
template <typename T>
int tempFunct(T p){ int tempFunct(T p){
//$++p; //$++p;
@ -66,7 +68,8 @@ int tempFunct(T p){
//#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest //#org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest
//@A.cpp //@A.cpp
void test(){ void test(){
}template <typename T> }
template <typename T>
int tempFunct(){ int tempFunct(){
//$T p; //$T p;

View file

@ -199,7 +199,8 @@ A::A()
A::~A() A::~A()
{ {
}int A::foo() }
int A::foo()
{ {
//$int i = 2; //$int i = 2;
++i; ++i;
@ -428,7 +429,7 @@ public:
private: private:
int help(); int help();
void exp(); void exp();
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -525,7 +526,7 @@ public:
private: private:
int help(); int help();
void exp(int & i); void exp(int & i);
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -619,7 +620,7 @@ public:
private: private:
int help(); int help();
void exp(int & i); void exp(int & i);
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -713,7 +714,7 @@ public:
private: private:
int help(); int help();
void exp(int *& i); void exp(int *& i);
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -984,7 +985,7 @@ public:
private: private:
int help(); int help();
int exp(int i); int exp(int i);
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -1076,7 +1077,7 @@ public:
private: private:
int help(); int help();
int exp(int i, int & b); int exp(int i, int & b);
}; };
#endif /*A_H_*/ #endif /*A_H_*/
@ -1174,7 +1175,7 @@ public:
private: private:
int help(); 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_*/ #endif /*A_H_*/
@ -1282,7 +1283,7 @@ public:
private: private:
int help(); 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_*/ #endif /*A_H_*/
@ -1404,7 +1405,7 @@ public:
private: private:
int help(); 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_*/ #endif /*A_H_*/
@ -1571,7 +1572,7 @@ public:
private: private:
int help(); 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_*/ #endif /*A_H_*/
@ -1782,7 +1783,7 @@ public:
A(); A();
virtual ~A(); virtual ~A();
int foo(); int foo();
void exp(int & i); void exp(int & i);
private: private:
int help(); int help();
@ -2019,7 +2020,6 @@ void runSuite(){
//= //=
#define CUTE(name) cute::test((&name),(#name)) #define CUTE(name) cute::test((&name),(#name))
cute::suite createSuite() cute::suite createSuite()
{ {
cute::suite s; cute::suite s;
@ -2123,7 +2123,6 @@ using namespace std;
int const INITIAL_CAPACITY = 10; int const INITIAL_CAPACITY = 10;
string *runTest(int m_capacity) string *runTest(int m_capacity)
{ {
m_capacity += INITIAL_CAPACITY; m_capacity += INITIAL_CAPACITY;

View file

@ -30,7 +30,7 @@ public:
private: private:
int help(); int help();
void exp(int & ii); void exp(int & ii);
}; };
#endif /*A_H_*/ #endif /*A_H_*/