// Test verifies that the server properly generates a FQDN when the client
// FQDN name is blank, whether or not DDNS updates are enabled. It also
// verifies that the lease is only in the database following a DHCPREQUEST and
-// that the lesae contains the generated FQDN.
+// that the lease contains the generated FQDN.
TEST_F(NameDhcpv4SrvTest, emptyFqdn) {
Dhcp4Client client(Dhcp4Client::SELECTING);
isc::asiolink::IOAddress expected_address("10.0.0.10");
/// @name Accessor methods mainly used for testing purposes
//@{
- /// @brief Gets the protocol version of the leaes files
+ /// @brief Gets the protocol version of the leases files
///
/// @return Returns the value of the DHCP protocol version.
/// This can be 4 or 6 while in use and 0 before parsing
// Run the cleanup
launch(lfc_controller, argc, argv);
- // Compare the results, we expect a header and no leaes.
+ // Compare the results, we expect a header and no leases.
// We also verify none of the temp or pid files remain.
test_str = v4_hdr_;
EXPECT_EQ(readFile(xstr_), test_str);
/// of reclaimed leases.
void testReclaimExpiredLeasesLimit() {
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
- // Mark all leaes as expired. The higher the index the less
+ // Mark all leases as expired. The higher the index the less
// expired the lease.
expire(i, 1000 - i);
}
BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
- // Mark all leaes as expired. The higher the index the less
+ // Mark all leases as expired. The higher the index the less
// expired the lease.
expire(i, 1000 - i);
// Modify subnet ids and lease types for some leases.
BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
- // Mark all leaes as expired. The higher the index the less
+ // Mark all leases as expired. The higher the index the less
// expired the lease.
expire(i, 1000 - i);
// Modify subnet ids of some leases.