Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
15987cb1
Commit
15987cb1
authored
Jul 23, 2017
by
Josh Soref
Browse files
spelling: parameterized
parent
f6a3d932
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/tests/get_config_unittest.cc
View file @
15987cb1
...
...
@@ -6220,7 +6220,7 @@ TEST_P(Dhcp4GetConfigTest, run) {
EXPECT_TRUE
(
isEquivalent
(
unparsed
,
unparsed2
));
}
/// Define the parametrized test loop
/// Define the paramet
e
rized test loop
INSTANTIATE_TEST_CASE_P
(
Dhcp4GetConfigTest
,
Dhcp4GetConfigTest
,
::
testing
::
Range
(
static_cast
<
size_t
>
(
0
),
max_config_counter
));
...
...
src/bin/dhcp4/tests/get_config_unittest.cc.skel
View file @
15987cb1
...
...
@@ -338,7 +338,7 @@ TEST_P(Dhcp4GetConfigTest, run) {
EXPECT_TRUE(isEquivalent(unparsed, unparsed2));
}
/// Define the parametrized test loop
/// Define the paramet
e
rized test loop
INSTANTIATE_TEST_CASE_P(Dhcp4GetConfigTest, Dhcp4GetConfigTest,
::testing::Range(static_cast<size_t>(0), max_config_counter));
...
...
src/bin/dhcp6/tests/get_config_unittest.cc
View file @
15987cb1
...
...
@@ -6149,7 +6149,7 @@ TEST_P(Dhcp6GetConfigTest, run) {
EXPECT_TRUE
(
isEquivalent
(
unparsed
,
unparsed2
));
}
/// Define the parametrized test loop
/// Define the paramet
e
rized test loop
INSTANTIATE_TEST_CASE_P
(
Dhcp6GetConfigTest
,
Dhcp6GetConfigTest
,
::
testing
::
Range
(
static_cast
<
size_t
>
(
0
),
max_config_counter
));
...
...
src/bin/dhcp6/tests/get_config_unittest.cc.skel
View file @
15987cb1
...
...
@@ -341,7 +341,7 @@ TEST_P(Dhcp6GetConfigTest, run) {
EXPECT_TRUE(isEquivalent(unparsed, unparsed2));
}
/// Define the parametrized test loop
/// Define the paramet
e
rized test loop
INSTANTIATE_TEST_CASE_P(Dhcp6GetConfigTest, Dhcp6GetConfigTest,
::testing::Range(static_cast<size_t>(0), max_config_counter));
...
...
src/bin/sockcreator/tests/sockcreator_tests.cc
View file @
15987cb1
...
...
@@ -32,7 +32,7 @@ using namespace isc::util::io;
// Essentially we need to check all four combinations of TCP/UDP and IPv4/IPv6.
// The different address families (IPv4/IPv6) require different structures to
// hold the address information, and so some common code is in the form of
// templates (or overloads), parameteri
s
ed on the structure type.
// templates (or overloads), parameteri
z
ed on the structure type.
//
// The protocol is determined by an integer (SOCK_STREAM or SOCK_DGRAM) so
// cannot be templated in the same way. Relevant check functions are
...
...
@@ -57,7 +57,7 @@ setAddressFamilyFields(sockaddr_in6* address) {
// Socket has been opened, perform a check on it. The sole argument is the
// socket descriptor. The TCP check is the same regardless of the address
// family. The UDP check requires that the socket address be obtained so
// is parameteri
s
ed on the type of structure required to hold the address.
// is parameteri
z
ed on the type of structure required to hold the address.
void
tcpCheck
(
const
int
socknum
)
{
...
...
@@ -144,7 +144,7 @@ closeIgnore(int) {
// Generic version of the socket test. It creates the socket and checks that
// it is a valid descriptor. The family-specific check functions are called
// to check that the socket is valid. The function is parameteri
s
ed according
// to check that the socket is valid. The function is parameteri
z
ed according
// to the structure used to hold the address.
//
// Arguments:
...
...
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