issue#11: tests/cppunit: changed .h file guard prefix to CDS_CPPUNIT_xxx
authorkhizmax <khizmax@gmail.com>
Thu, 22 Jan 2015 11:53:36 +0000 (14:53 +0300)
committerkhizmax <khizmax@gmail.com>
Thu, 22 Jan 2015 11:53:36 +0000 (14:53 +0300)
tests/cppunit/cppunit_mini.h
tests/cppunit/cppunit_proxy.h
tests/cppunit/file_reporter.h
tests/cppunit/test_beans.h
tests/cppunit/thread.h
tests/unit/ellen_bintree_update_desc_pool.h
tests/unit/michael_alloc.h

index 46545a7..89ae6d0 100644 (file)
@@ -21,8 +21,8 @@
 
 /* $Id$ */
 
-#ifndef _CPPUNITMPFR_H_
-#define _CPPUNITMPFR_H_
+#ifndef CDS_CPPUNIT_MPFR_H_
+#define CDS_CPPUNIT_MPFR_H_
 
 #include <string.h>
 #include <sstream>
@@ -366,4 +366,4 @@ namespace CppUnitMini
         error( "CPPUNIT_ASSERT_MSG", st.str().c_str(), __FILE__, __LINE__ )     ;   \
     }
 
-#endif
+#endif // #ifndef CDS_CPPUNIT_MPFR_H_
index a39cea4..c4310bc 100644 (file)
@@ -17,8 +17,8 @@
 
 /* $Id$ */
 
-#ifndef _CPPUNITPROXYINTERFACE_H_
-#define _CPPUNITPROXYINTERFACE_H_
+#ifndef CDS_CPPUNIT_PROXYINTERFACE_H_
+#define CDS_CPPUNIT_PROXYINTERFACE_H_
 
 /*
  * STLport specific
@@ -31,4 +31,4 @@
 #include "cppunit/cppunit_mini.h"
 #include <cds/algo/atomic.h>   // for cds::atomicity::empty_item_counter
 
-#endif
+#endif // #ifndef CDS_CPPUNIT_PROXYINTERFACE_H_
index dec5b48..1fe4a55 100644 (file)
@@ -17,8 +17,8 @@
 
 /* $Id$ */
 
-#ifndef _CPPUNITMINIFILEREPORTERINTERFACE_H_
-#define _CPPUNITMINIFILEREPORTERINTERFACE_H_
+#ifndef CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_
+#define CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_
 
 #include <stdio.h>
 
@@ -142,4 +142,4 @@ namespace CppUnitMini {
       FILE* _file;
     };
 }
-#endif /*_CPPUNITMINIFILEREPORTERINTERFACE_H_*/
+#endif // #ifndef CDS_CPPUNIT_MINIFILEREPORTERINTERFACE_H_
index ae3e486..77654aa 100644 (file)
@@ -1,5 +1,9 @@
 //$$CDS-header$$
 
+#ifndef CDS_CPPUNIT_TEST_BEANS_H
+#define CDS_CPPUNIT_TEST_BEANS_H
+
+
 // Forward declarations
 namespace cds {
     namespace intrusive {}
@@ -27,3 +31,5 @@ namespace test_beans {
         }
     };
 } // namespace beans
+
+#endif // #ifndef CDS_CPPUNIT_TEST_BEANS_H
index 468050d..edf0577 100644 (file)
@@ -1,7 +1,7 @@
 //$$CDS-header$$
 
-#ifndef __CPPUNIT_THREAD_H
-#define __CPPUNIT_THREAD_H
+#ifndef CDS_CPPUNIT_THREAD_H
+#define CDS_CPPUNIT_THREAD_H
 
 #include <cds/details/defs.h>
 #include "cppunit/cppunit_mini.h"
@@ -131,4 +131,4 @@ namespace CppUnitMini {
     };
 }
 
-#endif    // #ifndef __CPPUNIT_THREAD_H
+#endif    // #ifndef CDS_CPPUNIT_THREAD_H
index cb599f4..a3dcb85 100644 (file)
@@ -1,7 +1,7 @@
 //$$CDS-header$$
 
-#ifndef __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
-#define __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
+#ifndef CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
+#define CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
 
 #include <cds/urcu/general_instant.h>
 #include <cds/container/details/ellen_bintree_base.h>
@@ -99,4 +99,4 @@ namespace ellen_bintree_pool {
 
 } // namespace ellen_bintree_pool
 
-#endif // #ifndef __CDS_UNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
+#endif // #ifndef CDSUNIT_ELLEN_BINTREE_UPDATE_DESC_POOL_H
index 7454387..aad1ef7 100644 (file)
@@ -1,7 +1,7 @@
 //$$CDS-header$$
 
-#ifndef __CDS_UNIT_MICHAEL_ALLOC_H
-#define __CDS_UNIT_MICHAEL_ALLOC_H
+#ifndef CDSUNIT_MICHAEL_ALLOC_H
+#define CDSUNIT_MICHAEL_ALLOC_H
 
 #include <cds/memory/michael/allocator.h>
 #include <memory>
@@ -64,4 +64,4 @@ namespace memory {
     };
 }   // namespace memory
 
-#endif
+#endif // #ifndef CDSUNIT_MICHAEL_ALLOC_H