Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
d28ab2a8
Commit
d28ab2a8
authored
Feb 18, 2014
by
Steven Murray
Browse files
Replaced namespace UnitTests by namespace unitTests because namespaces in
CASTOR start with lower case letters.
parent
7359e4ad
Changes
10
Hide whitespace changes
Inline
Side-by-side
castor/exception/ExceptionTest.cpp
View file @
d28ab2a8
...
...
@@ -29,7 +29,7 @@
#include
<gtest/gtest.h>
#include
<gmock/gmock-cardinalities.h>
namespace
U
nitTests
{
namespace
u
nitTests
{
class
Nested
{
public:
void
f1
();
...
...
castor/server/DaemonTest.cpp
View file @
d28ab2a8
...
...
@@ -30,7 +30,7 @@
#include
<stdio.h>
#include
<string.h>
namespace
U
nitTests
{
namespace
u
nitTests
{
class
castor_server_DaemonTest
:
public
::
testing
::
Test
{
protected:
...
...
@@ -99,4 +99,4 @@ TEST_F(castor_server_DaemonTest, parseFOnCmdLine) {
ASSERT_EQ
(
true
,
daemon
.
getForeground
());
}
}
// namespace
U
nitTests
}
// namespace
u
nitTests
castor/tape/tapeserver/SCSI/DeviceTest.cpp
View file @
d28ab2a8
...
...
@@ -31,7 +31,7 @@ using ::testing::AtLeast;
using
::
testing
::
Return
;
using
::
testing
::
_
;
namespace
U
nitTests
{
namespace
u
nitTests
{
castor
::
tape
::
System
::
mockWrapper
sysWrapper
;
TEST
(
castor_tape_SCSI_DeviceList
,
TriesToFind
)
{
...
...
castor/tape/tapeserver/SCSI/StructuresTest.cpp
View file @
d28ab2a8
...
...
@@ -33,7 +33,7 @@ using ::testing::AtLeast;
using
::
testing
::
Return
;
using
::
testing
::
_
;
namespace
U
nitTests
{
namespace
u
nitTests
{
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
...
...
castor/tape/tapeserver/drive/DriveTest.cpp
View file @
d28ab2a8
...
...
@@ -34,7 +34,7 @@ using ::testing::Return;
using
::
testing
::
_
;
using
::
testing
::
An
;
namespace
U
nitTests
{
namespace
u
nitTests
{
TEST
(
castor_tape_drives_Drive
,
OpensCorrectly
)
{
/* Prepare the test harness */
...
...
castor/tape/tapeserver/exception/ExceptionTest.cpp
View file @
d28ab2a8
...
...
@@ -27,5 +27,5 @@
#include
<gtest/gtest.h>
#include
<gmock/gmock-cardinalities.h>
namespace
U
nitTests
{
namespace
u
nitTests
{
}
castor/tape/tapeserver/file/StructuresTest.cpp
View file @
d28ab2a8
...
...
@@ -26,7 +26,7 @@
#include
<gmock/gmock-cardinalities.h>
#include
"Structures.hpp"
namespace
U
nitTests
{
namespace
u
nitTests
{
TEST
(
castor_tape_AULFile
,
VOL1
)
{
castor
::
tape
::
AULFile
::
VOL1
vol1Label
;
...
...
castor/tape/tapeserver/threading/ThreadingTests.cpp
View file @
d28ab2a8
...
...
@@ -30,7 +30,7 @@
/* Note: those tests create multi threading errors on purpose and should not
* be run in helgrind */
namespace
U
nitTests
{
namespace
u
nitTests
{
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
U
nitTests
}
// namespace
u
nitTests
castor/tape/tapeserver/utils/RegexTest.cpp
View file @
d28ab2a8
...
...
@@ -31,7 +31,7 @@ using ::testing::AtLeast;
using
::
testing
::
Return
;
using
::
testing
::
_
;
namespace
U
nitTests
{
namespace
u
nitTests
{
TEST
(
castor_tape_utils_Regex
,
BasicFunctionality
)
{
castor
::
tape
::
utils
::
Regex
re
(
"a(b)"
);
...
...
castor/utils/UtilsTest.cpp
View file @
d28ab2a8
...
...
@@ -32,7 +32,7 @@
#include
<unistd.h>
#include
<vector>
namespace
U
nitTests
{
namespace
u
nitTests
{
/**
* 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
U
nitTests
}
// namespace
u
nitTests
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment