Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
f57c0b95
Commit
f57c0b95
authored
Nov 14, 2012
by
Stephen Morris
Browse files
[2472] Modified test names in line with convention
parent
487d2cb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/memfile_lease_mgr_unittest.cc
View file @
f57c0b95
...
...
@@ -55,7 +55,7 @@ TEST_F(MemfileLeaseMgrTest, getTypeAndName) {
}
// Checks that adding/getting/deleting a Lease6 object works.
TEST_F
(
MemfileLeaseMgrTest
,
addGetDelete
i
6
)
{
TEST_F
(
MemfileLeaseMgrTest
,
addGetDelete6
)
{
const
LeaseMgr
::
ParameterMap
pmap
;
// Empty parameter map
boost
::
scoped_ptr
<
Memfile_LeaseMgr
>
lease_mgr
(
new
Memfile_LeaseMgr
(
pmap
));
...
...
src/lib/dhcp/tests/mysql_lease_mgr_unittest.cc
View file @
f57c0b95
...
...
@@ -489,7 +489,7 @@ TEST_F(MySqlLeaseMgrTest, getType) {
// This test checks that the conversion is correct. It does not check that the
// data is entered into the database correctly, only that the MYSQL_TIME
// structure used for the entry is correctly set up.
TEST_F
(
MySqlLeaseMgrTest
,
C
heckTimeConversion
)
{
TEST_F
(
MySqlLeaseMgrTest
,
c
heckTimeConversion
)
{
const
time_t
cltt
=
time
(
NULL
);
const
uint32_t
valid_lft
=
86400
;
// 1 day
struct
tm
tm_expire
;
...
...
@@ -528,7 +528,7 @@ TEST_F(MySqlLeaseMgrTest, getName) {
}
// @brief Check that getVersion() returns the expected version
TEST_F
(
MySqlLeaseMgrTest
,
C
heckVersion
)
{
TEST_F
(
MySqlLeaseMgrTest
,
c
heckVersion
)
{
// Check version
pair
<
uint32_t
,
uint32_t
>
version
;
ASSERT_NO_THROW
(
version
=
lmptr_
->
getVersion
());
...
...
@@ -564,7 +564,7 @@ detailCompareLease6(const Lease6Ptr& first, const Lease6Ptr& second) {
//
// Tests where a collection of leases can be returned are in the test
// Lease6Collection.
TEST_F
(
MySqlLeaseMgrTest
,
B
asicLease6
)
{
TEST_F
(
MySqlLeaseMgrTest
,
b
asicLease6
)
{
// Get the leases to be used for the test.
vector
<
Lease6Ptr
>
leases
=
createLeases6
();
...
...
@@ -610,7 +610,7 @@ TEST_F(MySqlLeaseMgrTest, BasicLease6) {
//
// Adds leases to the database and checks that they can be accessed via
// a combination of DIUID and IAID.
TEST_F
(
MySqlLeaseMgrTest
,
G
etLease6Extended1
)
{
TEST_F
(
MySqlLeaseMgrTest
,
g
etLease6Extended1
)
{
// Get the leases to be used for the test.
vector
<
Lease6Ptr
>
leases
=
createLeases6
();
EXPECT_LE
(
6
,
leases
.
size
());
// Expect to access leases 0 through 5
...
...
@@ -657,7 +657,7 @@ TEST_F(MySqlLeaseMgrTest, GetLease6Extended1) {
//
// Adds leases to the database and checks that they can be accessed via
// a combination of DIUID and IAID.
TEST_F
(
MySqlLeaseMgrTest
,
G
etLease6Extended2
)
{
TEST_F
(
MySqlLeaseMgrTest
,
g
etLease6Extended2
)
{
// Get the leases to be used for the test.
vector
<
Lease6Ptr
>
leases
=
createLeases6
();
EXPECT_LE
(
6
,
leases
.
size
());
// Expect to access leases 0 through 5
...
...
@@ -698,7 +698,7 @@ TEST_F(MySqlLeaseMgrTest, GetLease6Extended2) {
// @brief Lease6 Update Tests
//
// Checks that we are able to update a lease in the database.
TEST_F
(
MySqlLeaseMgrTest
,
U
pdateLease6
)
{
TEST_F
(
MySqlLeaseMgrTest
,
u
pdateLease6
)
{
// Get the leases to be used for the test.
vector
<
Lease6Ptr
>
leases
=
createLeases6
();
EXPECT_LE
(
3
,
leases
.
size
());
// Expect to access leases 0 through 5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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