From a8b7c88c0712ef0f898ef68e041dcd2b553e7439 Mon Sep 17 00:00:00 2001
From: Steven Murray <steven.murray@cern.ch>
Date: Tue, 18 Feb 2014 09:38:32 +0100
Subject: [PATCH] Replaced namespace UnitTests by namespace unitTests because
 namespaces in CASTOR start with lower case letters.

---
 castor/exception/ExceptionTest.cpp                  | 2 +-
 castor/server/DaemonTest.cpp                        | 4 ++--
 castor/tape/tapeserver/SCSI/DeviceTest.cpp          | 2 +-
 castor/tape/tapeserver/SCSI/StructuresTest.cpp      | 2 +-
 castor/tape/tapeserver/drive/DriveTest.cpp          | 2 +-
 castor/tape/tapeserver/exception/ExceptionTest.cpp  | 2 +-
 castor/tape/tapeserver/file/StructuresTest.cpp      | 2 +-
 castor/tape/tapeserver/threading/ThreadingTests.cpp | 4 ++--
 castor/tape/tapeserver/utils/RegexTest.cpp          | 2 +-
 castor/utils/UtilsTest.cpp                          | 4 ++--
 10 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/castor/exception/ExceptionTest.cpp b/castor/exception/ExceptionTest.cpp
index e99311e5f1..ca88e63655 100644
--- a/castor/exception/ExceptionTest.cpp
+++ b/castor/exception/ExceptionTest.cpp
@@ -29,7 +29,7 @@
 #include <gtest/gtest.h>
 #include <gmock/gmock-cardinalities.h>
 
-namespace UnitTests {
+namespace unitTests {
   class Nested {
   public:
     void f1();
diff --git a/castor/server/DaemonTest.cpp b/castor/server/DaemonTest.cpp
index 467b6eed11..791ff47137 100644
--- a/castor/server/DaemonTest.cpp
+++ b/castor/server/DaemonTest.cpp
@@ -30,7 +30,7 @@
 #include <stdio.h>
 #include <string.h>
 
-namespace UnitTests {
+namespace unitTests {
 
 class castor_server_DaemonTest : public ::testing::Test {
 protected:
@@ -99,4 +99,4 @@ TEST_F(castor_server_DaemonTest, parseFOnCmdLine) {
   ASSERT_EQ(true, daemon.getForeground());
 }
 
-} // namespace UnitTests
+} // namespace unitTests
diff --git a/castor/tape/tapeserver/SCSI/DeviceTest.cpp b/castor/tape/tapeserver/SCSI/DeviceTest.cpp
index 4d410efe8a..621d62086e 100644
--- a/castor/tape/tapeserver/SCSI/DeviceTest.cpp
+++ b/castor/tape/tapeserver/SCSI/DeviceTest.cpp
@@ -31,7 +31,7 @@ using ::testing::AtLeast;
 using ::testing::Return;
 using ::testing::_;
 
-namespace UnitTests {
+namespace unitTests {
 castor::tape::System::mockWrapper sysWrapper;
 
 TEST(castor_tape_SCSI_DeviceList, TriesToFind) {
diff --git a/castor/tape/tapeserver/SCSI/StructuresTest.cpp b/castor/tape/tapeserver/SCSI/StructuresTest.cpp
index 78e56a895b..64f3e4ebd2 100644
--- a/castor/tape/tapeserver/SCSI/StructuresTest.cpp
+++ b/castor/tape/tapeserver/SCSI/StructuresTest.cpp
@@ -33,7 +33,7 @@ using ::testing::AtLeast;
 using ::testing::Return;
 using ::testing::_;
 
-namespace UnitTests {
+namespace unitTests {
   TEST(castor_tape_SCSI_Structures, inquiryData_t_multi_byte_numbers_strings) {
     /* Validate the bit field behavior of the struct inquiryData_t,
      which represents the standard INQUIRY data format as defined in 
diff --git a/castor/tape/tapeserver/drive/DriveTest.cpp b/castor/tape/tapeserver/drive/DriveTest.cpp
index bf11f2a235..55ffd055bf 100644
--- a/castor/tape/tapeserver/drive/DriveTest.cpp
+++ b/castor/tape/tapeserver/drive/DriveTest.cpp
@@ -34,7 +34,7 @@ using ::testing::Return;
 using ::testing::_;
 using ::testing::An;
 
-namespace UnitTests {
+namespace unitTests {
 
 TEST(castor_tape_drives_Drive, OpensCorrectly) {
   /* Prepare the test harness */
diff --git a/castor/tape/tapeserver/exception/ExceptionTest.cpp b/castor/tape/tapeserver/exception/ExceptionTest.cpp
index e98bc30a9a..042dd9003a 100644
--- a/castor/tape/tapeserver/exception/ExceptionTest.cpp
+++ b/castor/tape/tapeserver/exception/ExceptionTest.cpp
@@ -27,5 +27,5 @@
 #include <gtest/gtest.h>
 #include <gmock/gmock-cardinalities.h>
 
-namespace UnitTests {
+namespace unitTests {
 }
diff --git a/castor/tape/tapeserver/file/StructuresTest.cpp b/castor/tape/tapeserver/file/StructuresTest.cpp
index ebd2c25ba2..5125bc8a3c 100644
--- a/castor/tape/tapeserver/file/StructuresTest.cpp
+++ b/castor/tape/tapeserver/file/StructuresTest.cpp
@@ -26,7 +26,7 @@
 #include <gmock/gmock-cardinalities.h>
 #include "Structures.hpp"
 
-namespace UnitTests {
+namespace unitTests {
 
   TEST(castor_tape_AULFile, VOL1) {
     castor::tape::AULFile::VOL1 vol1Label;
diff --git a/castor/tape/tapeserver/threading/ThreadingTests.cpp b/castor/tape/tapeserver/threading/ThreadingTests.cpp
index 8e5fc53345..ecdcecb6e4 100644
--- a/castor/tape/tapeserver/threading/ThreadingTests.cpp
+++ b/castor/tape/tapeserver/threading/ThreadingTests.cpp
@@ -30,7 +30,7 @@
 /* Note: those tests create multi threading errors on purpose and should not
  * be run in helgrind */
 
-namespace UnitTests {
+namespace unitTests {
   TEST(castor_tape_threading, Mutex_properly_throws_exceptions) {
     /* Check that we properly get exception when doing wrong semaphore 
      operations */
@@ -97,4 +97,4 @@ namespace UnitTests {
       ASSERT_NE(std::string::npos, w.find("Exception in child thread"));
     }
   }
-} // namespace UnitTests
+} // namespace unitTests
diff --git a/castor/tape/tapeserver/utils/RegexTest.cpp b/castor/tape/tapeserver/utils/RegexTest.cpp
index b02f8cf6c8..b6d868630b 100644
--- a/castor/tape/tapeserver/utils/RegexTest.cpp
+++ b/castor/tape/tapeserver/utils/RegexTest.cpp
@@ -31,7 +31,7 @@ using ::testing::AtLeast;
 using ::testing::Return;
 using ::testing::_;
 
-namespace UnitTests {
+namespace unitTests {
 
 TEST(castor_tape_utils_Regex, BasicFunctionality) {
   castor::tape::utils::Regex re("a(b)");
diff --git a/castor/utils/UtilsTest.cpp b/castor/utils/UtilsTest.cpp
index dc4429398b..3713d95d0d 100644
--- a/castor/utils/UtilsTest.cpp
+++ b/castor/utils/UtilsTest.cpp
@@ -32,7 +32,7 @@
 #include <unistd.h>
 #include <vector>
 
-namespace UnitTests {
+namespace unitTests {
 
 /**
  * Tests the good day senario of passing a multi-column string to the
@@ -200,4 +200,4 @@ TEST(castor_utils, testTimevalToDouble) {
   ASSERT_EQ(expected, actual);
 }
 
-} // namespace UnitTests
+} // namespace unitTests
-- 
GitLab