src/core/test/callback-test-suite.cc
changeset 7169 358f71a624d8
parent 6821 203367ae7433
child 7252 c8200621e252
--- a/src/core/test/callback-test-suite.cc	Fri May 13 14:51:51 2011 -0400
+++ b/src/core/test/callback-test-suite.cc	Fri May 13 14:52:27 2011 -0400
@@ -31,10 +31,10 @@
   BasicCallbackTestCase ();
   virtual ~BasicCallbackTestCase () {}
 
-  void Target1 (void) {m_test1 = true;}
-  int Target2 (void) {m_test2 = true; return 2;}
-  void Target3 (double a) {m_test3 = true;}
-  int Target4 (double a, int b) {m_test4 = true; return 4;}
+  void Target1 (void) { m_test1 = true;}
+  int Target2 (void) { m_test2 = true; return 2;}
+  void Target3 (double a) { m_test3 = true;}
+  int Target4 (double a, int b) { m_test4 = true; return 4;}
 
 private:
   virtual void DoRun (void);
@@ -135,7 +135,7 @@
 
   //
   // Make sure we can declare and compile a Callback pointing to a non-member 
-  // function that returns void, takes one integer argument and execute it.  
+  // function that returns void, takes one integer argument and execute it.
   // We also need to provide two dummy arguments to the constructor here.
   //
   Callback<void, int> target6 = Callback<void, int> (&BasicCallbackTarget6, true, true);
@@ -144,7 +144,7 @@
 
   //
   // Make sure we can declare and compile a Callback pointing to a non-member 
-  // function that returns int, takes one integer argument and execute it.  
+  // function that returns int, takes one integer argument and execute it.
   // We also need to provide two dummy arguments to the constructor here.
   //
   Callback<int, int> target7 = Callback<int, int> (&BasicCallbackTarget7, true, true);
@@ -161,10 +161,10 @@
   MakeCallbackTestCase ();
   virtual ~MakeCallbackTestCase () {}
 
-  void Target1 (void) {m_test1 = true;}
-  int Target2 (void) {m_test2 = true; return 2;}
-  void Target3 (double a) {m_test3 = true;}
-  int Target4 (double a, int b) {m_test4 = true; return 4;}
+  void Target1 (void) { m_test1 = true;}
+  int Target2 (void) { m_test2 = true; return 2;}
+  void Target3 (double a) { m_test3 = true;}
+  int Target4 (double a, int b) { m_test4 = true; return 4;}
 
 private:
   virtual void DoRun (void);
@@ -263,7 +263,7 @@
 
   //
   // Make sure we can declare and compile a Callback pointing to a non-member 
-  // function that returns void, takes one integer argument and execute it.  
+  // function that returns void, takes one integer argument and execute it.
   // This uses a higher level call than in the basic tests so we do not need to 
   // include any dummy arguments here.
   //
@@ -273,7 +273,7 @@
 
   //
   // Make sure we can declare and compile a Callback pointing to a non-member 
-  // function that returns int, takes one integer argument and execute it.  
+  // function that returns int, takes one integer argument and execute it.
   // This uses a higher level call than in the basic tests so we do not need to 
   // include any dummy arguments here.
   //
@@ -387,7 +387,7 @@
   NullifyCallbackTestCase ();
   virtual ~NullifyCallbackTestCase () {}
 
-  void Target1 (void) {m_test1 = true;}
+  void Target1 (void) { m_test1 = true;}
 
 private:
   virtual void DoRun (void);
@@ -435,7 +435,7 @@
   MakeCallbackTemplatesTestCase ();
   virtual ~MakeCallbackTemplatesTestCase () {}
 
-  void Target1 (void) {m_test1 = true;}
+  void Target1 (void) { m_test1 = true;}
 
 private:
   virtual void DoRun (void);