-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
.arg(server_hooks_.getName(current_hook_))
.arg(stopwatch.logFormatTotalDuration());
- // Reset the current hook and library indexs to an invalid value to
+ // Reset the current hook and library indexes to an invalid value to
// catch any programming errors.
current_hook_ = -1;
current_library_ = -1;
-// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
/// }
///]
///
- /// The first library has no parameters, so regardles of the name
+ /// The first library has no parameters, so regardless of the name
/// specified, for that library getParameter will always return NULL.
///
- /// For the second paramter, depending the following calls will return:
+ /// For the second parameter, depending the following calls will return:
/// - x = getParameter("mail") will return instance of
/// isc::data::StringElement. The content can be accessed with
/// x->stringValue() and will return std::string.
-// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
///
/// Returns a callout manager that can be used with this set of loaded
/// libraries (even if the number of loaded libraries is zero). This
- /// method may only be caslled after loadLibraries() has been called.
+ /// method may only be called after loadLibraries() has been called.
///
/// @return Pointer to a callout manager for this set of libraries.
///
// This test verifies that the specified parameters are accessed properly.
TEST_F(HooksManagerTest, LibraryParameters) {
- // Prepare paramters for the callout parameters library.
+ // Prepare parameters for the callout parameters library.
ElementPtr params = Element::createMap();
params->set("svalue", Element::create("string value"));
params->set("ivalue", Element::create(42));
-// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
EXPECT_TRUE(lib_manager.loadLibrary());
// After loading the library, the global logging dictionary should
- // contain log messages registerd for this library.
+ // contain log messages registered for this library.
const MessageDictionaryPtr& dict = MessageDictionary::globalDictionary();
EXPECT_EQ("basic callout load %1", dict->getText("BCL_LOAD_START"));
EXPECT_EQ("basic callout load end", dict->getText("BCL_LOAD_END"));