Commit d28ab2a8 authored by Steven Murray's avatar Steven Murray
Browse files

Replaced namespace UnitTests by namespace unitTests because namespaces in

CASTOR start with lower case letters.
parent 7359e4ad
......@@ -29,7 +29,7 @@
#include <gtest/gtest.h>
#include <gmock/gmock-cardinalities.h>
namespace UnitTests {
namespace unitTests {
class Nested {
public:
void f1();
......
......@@ -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
......@@ -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) {
......
......@@ -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
......
......@@ -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 */
......
......@@ -27,5 +27,5 @@
#include <gtest/gtest.h>
#include <gmock/gmock-cardinalities.h>
namespace UnitTests {
namespace unitTests {
}
......@@ -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;
......
......@@ -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
......@@ -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)");
......
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment